Home
last modified time | relevance | path

Searched refs:num_pg (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
Dtcm.h301 static inline s32 tcm_1d_limit(struct tcm_area *a, u32 num_pg) in tcm_1d_limit() argument
303 if (__tcm_sizeof(a) < num_pg) in tcm_1d_limit()
305 if (!num_pg) in tcm_1d_limit()
308 a->p1.x = (a->p0.x + num_pg - 1) % a->tcm->width; in tcm_1d_limit()
309 a->p1.y = a->p0.y + ((a->p0.x + num_pg - 1) / a->tcm->width); in tcm_1d_limit()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.c657 for (i = 0; i < hdev->tm_info.num_pg; i++) { in hclge_tm_pg_info_init()
737 for (i = 0; i < hdev->tm_info.num_pg; i++) { in hclge_tm_pg_to_pri_map()
761 for (i = 0; i < hdev->tm_info.num_pg; i++) { in hclge_tm_pg_shaper_cfg()
803 for (i = 0; i < hdev->tm_info.num_pg; i++) { in hclge_tm_pg_dwrr_cfg()
1184 for (i = 0; i < hdev->tm_info.num_pg; i++) { in hclge_tm_lvl2_schd_mode_cfg()
1481 hdev->tm_info.num_pg != 1) in hclge_tm_schd_init()
Dhclge_main.h362 u8 num_pg; /* It must be 1 if vNET-Base schd */ member
Dhclge_main.c1484 hdev->tm_info.num_pg = 1; in hclge_configure()
/kernel/linux/linux-5.10/drivers/nvme/host/
Dlightnvm.c117 __le16 num_pg; member
317 pg_per_blk = le16_to_cpu(src->num_pg); in nvme_nvm_setup_12()
367 geo->num_pg = le16_to_cpu(src->num_pg); in nvme_nvm_setup_12()
1066 return scnprintf(page, PAGE_SIZE, "%u\n", geo->num_pg); in nvm_dev_attr_show_12()
/kernel/linux/linux-5.10/include/linux/
Dlightnvm.h395 u16 num_pg; member
612 if (pg == geo->num_pg) { in nvm_next_ppa_in_chk()
Dskbuff.h481 unsigned int num_pg; member
/kernel/linux/linux-5.10/net/core/
Dskbuff.c1066 unsigned long max_pg, num_pg, new_pg, old_pg; in mm_account_pinned_pages() local
1072 num_pg = (size >> PAGE_SHIFT) + 2; /* worst case */ in mm_account_pinned_pages()
1078 new_pg = old_pg + num_pg; in mm_account_pinned_pages()
1086 mmp->num_pg = num_pg; in mm_account_pinned_pages()
1088 mmp->num_pg += num_pg; in mm_account_pinned_pages()
1098 atomic_long_sub(mmp->num_pg, &mmp->user->locked_vm); in mm_unaccount_pinned_pages()
/kernel/linux/linux-5.10/drivers/lightnvm/
Dcore.c891 ppa.g.pg = geo->num_pg - 1; in nvm_bb_chunk_scan()
920 for (pg = 0; pg < geo->num_pg; pg++) { in nvm_bb_chunk_scan()
Dpblk.h1246 ppa->g.pg < geo->num_pg && in pblk_boundary_ppa_checks()