Home
last modified time | relevance | path

Searched refs:hstate (Results 1 – 25 of 38) sorted by relevance

12

/OK3568_Linux_fs/kernel/include/linux/
H A Dhugetlb.h38 struct hstate *hstate; member
105 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages,
422 struct hstate *hstate; member
459 static inline struct hstate *hstate_inode(struct inode *i) in hstate_inode()
461 return HUGETLBFS_SB(i->i_sb)->hstate; in hstate_inode()
474 static inline struct hstate *hstate_inode(struct inode *i) in hstate_inode()
490 struct hstate { struct
516 struct hstate *hstate; argument
521 struct page *alloc_huge_page_nodemask(struct hstate *h, int preferred_nid,
523 struct page *alloc_huge_page_vma(struct hstate *h, struct vm_area_struct *vma,
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/mm/book3s64/
H A Dradix_hugetlbpage.c13 struct hstate *hstate = hstate_file(vma->vm_file); in radix__flush_hugetlb_page() local
15 psize = hstate_get_psize(hstate); in radix__flush_hugetlb_page()
22 struct hstate *hstate = hstate_file(vma->vm_file); in radix__local_flush_hugetlb_page() local
24 psize = hstate_get_psize(hstate); in radix__local_flush_hugetlb_page()
32 struct hstate *hstate = hstate_file(vma->vm_file); in radix__flush_hugetlb_tlb_range() local
34 psize = hstate_get_psize(hstate); in radix__flush_hugetlb_tlb_range()
50 struct hstate *h = hstate_file(file); in radix__hugetlb_get_unmapped_area()
/OK3568_Linux_fs/kernel/mm/
H A Dhugetlb.c47 struct hstate hstates[HUGE_MAX_HSTATE];
63 static struct hstate * __initdata parsed_hstate;
97 static int hugetlb_acct_memory(struct hstate *h, long delta);
110 hugetlb_acct_memory(spool->hstate, in unlock_or_release_subpool()
116 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, in hugepage_new_subpool()
128 spool->hstate = h; in hugepage_new_subpool()
278 struct hstate *h, in record_hugetlb_cgroup_uncharge_info()
369 struct hstate *h, long *regions_needed) in add_reservation_in_range()
514 long in_regions_needed, struct hstate *h, in region_add()
751 struct hstate *h = hstate_inode(inode); in hugetlb_fix_reserve_counts()
[all …]
H A Dhugetlb_cgroup.c200 struct hstate *h; in hugetlb_cgroup_css_offline()
622 struct hstate *h = &hstates[idx]; in __hugetlb_cgroup_file_dfl_init()
686 struct hstate *h = &hstates[idx]; in __hugetlb_cgroup_file_legacy_init()
761 struct hstate *h; in hugetlb_cgroup_file_init()
782 struct hstate *h = page_hstate(oldhpage); in hugetlb_cgroup_migrate()
/OK3568_Linux_fs/kernel/fs/hugetlbfs/
H A Dinode.c52 struct hstate *hstate; member
137 struct hstate *h = hstate_file(file); in hugetlbfs_file_mmap()
203 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_bottomup()
219 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_topdown()
253 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
325 struct hstate *h = hstate_file(file); in hugetlbfs_read_iter()
468 struct hstate *h = hstate_inode(inode); in remove_inode_hugepages()
580 struct hstate *h = hstate_inode(inode); in hugetlb_vmtruncate()
596 struct hstate *h = hstate_inode(inode); in hugetlbfs_punch_hole()
638 struct hstate *h = hstate_inode(inode); in hugetlbfs_fallocate()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dipa-icf.h99 inchash::hash hstate; in hash() local
100 hstate.add_int (v->m_references.length ()); in hash()
103 hstate.add_int (v->m_references[i]->ultimate_alias_target ()->order); in hash()
105 hstate.add_int (v->m_interposables.length ()); in hash()
108 hstate.add_int (v->m_interposables[i]->ultimate_alias_target ()->order); in hash()
110 return hstate.end (); in hash()
156 inchash::hash hstate; in hash() local
158 hstate.add_ptr (pair->item); in hash()
159 hstate.add_int (pair->index); in hash()
161 return hstate.end (); in hash()
[all …]
H A Dtree-ssa-sccvn.h182 inchash::hash hstate; in vn_hash_constant_with_type() local
183 inchash::add_expr (constant, hstate); in vn_hash_constant_with_type()
184 hstate.merge_hash (vn_hash_type (TREE_TYPE (constant))); in vn_hash_constant_with_type()
185 return hstate.end (); in vn_hash_constant_with_type()
H A Dmem-stats.h285 inchash::hash hstate; in hash() local
287 hstate.add_ptr ((const void *)l->m_filename); in hash()
288 hstate.add_ptr (l->m_function); in hash()
289 hstate.add_int (l->m_line); in hash()
291 return hstate.end (); in hash()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dipa-icf.h99 inchash::hash hstate; in hash() local
100 hstate.add_int (v->m_references.length ()); in hash()
103 hstate.add_int (v->m_references[i]->ultimate_alias_target ()->order); in hash()
105 hstate.add_int (v->m_interposables.length ()); in hash()
108 hstate.add_int (v->m_interposables[i]->ultimate_alias_target ()->order); in hash()
110 return hstate.end (); in hash()
156 inchash::hash hstate; in hash() local
158 hstate.add_ptr (pair->item); in hash()
159 hstate.add_int (pair->index); in hash()
161 return hstate.end (); in hash()
[all …]
H A Dtree-ssa-sccvn.h182 inchash::hash hstate; in vn_hash_constant_with_type() local
183 inchash::add_expr (constant, hstate); in vn_hash_constant_with_type()
184 hstate.merge_hash (vn_hash_type (TREE_TYPE (constant))); in vn_hash_constant_with_type()
185 return hstate.end (); in vn_hash_constant_with_type()
H A Dmem-stats.h285 inchash::hash hstate; in hash() local
287 hstate.add_ptr ((const void *)l->m_filename); in hash()
288 hstate.add_ptr (l->m_function); in hash()
289 hstate.add_int (l->m_line); in hash()
291 return hstate.end (); in hash()
/OK3568_Linux_fs/kernel/arch/powerpc/mm/
H A Dhugetlbpage.c221 int __init pseries_alloc_bootmem_huge_page(struct hstate *hstate) in pseries_alloc_bootmem_huge_page() argument
229 m->hstate = hstate; in pseries_alloc_bootmem_huge_page()
235 int __init alloc_bootmem_huge_page(struct hstate *h) in alloc_bootmem_huge_page()
563 struct hstate *hstate = hstate_file(file); in hugetlb_get_unmapped_area() local
564 int mmu_psize = shift_to_mmu_psize(huge_page_shift(hstate)); in hugetlb_get_unmapped_area()
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/book3s/64/
H A Dhugetlb.h20 static inline int hstate_get_psize(struct hstate *hstate) in hstate_get_psize() argument
24 shift = huge_page_shift(hstate); in hstate_get_psize()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl_role.c636 enum rtw_hal_status hstate; in phl_wifi_role_change() local
744 hstate = rtw_hal_set_edca(phl_info->hal, wrole, param->ac, in phl_wifi_role_change()
746 if (hstate == RTW_HAL_STATUS_SUCCESS) in phl_wifi_role_change()
753 hstate = rtw_hal_set_mu_edca(phl_info->hal, wrole->hw_band, param->ac, in phl_wifi_role_change()
756 if (hstate == RTW_HAL_STATUS_SUCCESS) in phl_wifi_role_change()
763 hstate = rtw_hal_set_mu_edca_ctrl(phl_info->hal, in phl_wifi_role_change()
765 if (hstate == RTW_HAL_STATUS_SUCCESS) in phl_wifi_role_change()
772 hstate = rtw_hal_role_cfg_ex(phl_info->hal, wrole, PCFG_BSS_CLR, &val); in phl_wifi_role_change()
773 if (hstate == RTW_HAL_STATUS_SUCCESS) in phl_wifi_role_change()
782 hstate = rtw_hal_config_rts_th(phl_info->hal, in phl_wifi_role_change()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl_role.c638 enum rtw_hal_status hstate; in phl_wifi_role_change() local
746 hstate = rtw_hal_set_edca(phl_info->hal, wrole, param->ac, in phl_wifi_role_change()
748 if (hstate == RTW_HAL_STATUS_SUCCESS) in phl_wifi_role_change()
755 hstate = rtw_hal_set_mu_edca(phl_info->hal, wrole->hw_band, param->ac, in phl_wifi_role_change()
758 if (hstate == RTW_HAL_STATUS_SUCCESS) in phl_wifi_role_change()
765 hstate = rtw_hal_set_mu_edca_ctrl(phl_info->hal, in phl_wifi_role_change()
767 if (hstate == RTW_HAL_STATUS_SUCCESS) in phl_wifi_role_change()
774 hstate = rtw_hal_role_cfg_ex(phl_info->hal, wrole, PCFG_BSS_CLR, &val); in phl_wifi_role_change()
775 if (hstate == RTW_HAL_STATUS_SUCCESS) in phl_wifi_role_change()
784 hstate = rtw_hal_config_rts_th(phl_info->hal, in phl_wifi_role_change()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/mm/nohash/
H A Dbook3e_hugetlbpage.c200 struct hstate *hstate = hstate_file(vma->vm_file); in flush_hugetlb_page() local
201 unsigned long tsize = huge_page_shift(hstate) - 10; in flush_hugetlb_page()
/OK3568_Linux_fs/kernel/arch/x86/mm/
H A Dhugetlbpage.c82 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_bottomup()
105 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_topdown()
145 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
/OK3568_Linux_fs/kernel/arch/s390/mm/
H A Dhugetlbpage.c271 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_bottomup()
287 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area_topdown()
319 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_crtc.c296 struct atmel_hlcdc_crtc_state *hstate; in atmel_hlcdc_crtc_select_output_mode() local
321 hstate = drm_crtc_state_to_atmel_hlcdc_crtc_state(state); in atmel_hlcdc_crtc_select_output_mode()
322 hstate->output_mode = fls(output_fmts) - 1; in atmel_hlcdc_crtc_select_output_mode()
/OK3568_Linux_fs/kernel/arch/sparc/mm/
H A Dhugetlbpage.c32 struct hstate *h = hstate_file(filp); in hugetlb_get_unmapped_area_bottomup()
63 struct hstate *h = hstate_file(filp); in hugetlb_get_unmapped_area_topdown()
100 struct hstate *h = hstate_file(file); in hugetlb_get_unmapped_area()
/OK3568_Linux_fs/kernel/arch/arm64/include/asm/
H A Dhugetlb.h17 extern bool arch_hugetlb_migration_supported(struct hstate *h);
/OK3568_Linux_fs/kernel/arch/mips/include/asm/
H A Dhugetlb.h20 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/OK3568_Linux_fs/kernel/arch/s390/include/asm/
H A Dhugetlb.h31 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/OK3568_Linux_fs/kernel/include/asm-generic/
H A Dhugetlb.h94 struct hstate *h = hstate_file(file); in prepare_hugepage_range()
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Dkvm_book3s_asm.h154 struct kvmppc_host_state hstate; member

12