Searched refs:num_pg (Results 1 - 7 of 7) sorted by relevance

/linux-master/drivers/gpu/drm/omapdrm/
H A Dtcm.h301 static inline s32 tcm_1d_limit(struct tcm_area *a, u32 num_pg) argument
303 if (__tcm_sizeof(a) < num_pg)
305 if (!num_pg)
308 a->p1.x = (a->p0.x + num_pg - 1) % a->tcm->width;
309 a->p1.y = a->p0.y + ((a->p0.x + num_pg - 1) / a->tcm->width);
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_tm.c792 for (i = 0; i < hdev->tm_info.num_pg; i++) {
872 for (i = 0; i < hdev->tm_info.num_pg; i++) {
896 for (i = 0; i < hdev->tm_info.num_pg; i++) {
939 for (i = 0; i < hdev->tm_info.num_pg; i++) {
1368 for (i = 0; i < hdev->tm_info.num_pg; i++) {
1697 hdev->tm_info.num_pg != 1)
H A Dhclge_main.h380 u8 num_pg; /* It must be 1 if vNET-Base schd */ member in struct:hclge_tm_info
H A Dhclge_debugfs.c479 for (pg_id = 0; pg_id < hdev->tm_info.num_pg; pg_id++) {
755 for (pg_id = 0; pg_id < hdev->tm_info.num_pg; pg_id++) {
H A Dhclge_main.c1517 hdev->tm_info.num_pg = 1;
/linux-master/net/core/
H A Dskbuff.c1650 unsigned long max_pg, num_pg, new_pg, old_pg, rlim; local
1660 num_pg = (size >> PAGE_SHIFT) + 2; /* worst case */
1666 new_pg = old_pg + num_pg;
1673 mmp->num_pg = num_pg;
1675 mmp->num_pg += num_pg;
1685 atomic_long_sub(mmp->num_pg, &mmp->user->locked_vm);
/linux-master/include/linux/
H A Dskbuff.h563 unsigned int num_pg; member in struct:ubuf_info_msgzc::mmpin

Completed in 173 milliseconds