Searched refs:pg_count (Results 1 – 8 of 8) sorted by relevance
/drivers/char/agp/ |
D | compat_ioctl.h | 60 compat_size_t pg_count; /* number of pages */ member 72 compat_size_t pg_count; /* number of pages */ member 102 struct agp_memory *agp_allocate_memory_wrap(size_t pg_count, u32 type);
|
D | frontend.c | 107 size_t pg_count; in agp_find_seg_in_client() local 110 pg_count = size / 4096; in agp_find_seg_in_client() 116 (seg[i].pg_count == pg_count) && in agp_find_seg_in_client() 180 seg[i].pg_count = user_seg[i].pg_count; in agp_create_segment() 276 struct agp_memory *agp_allocate_memory_wrap(size_t pg_count, u32 type) in agp_allocate_memory_wrap() argument 280 memory = agp_allocate_memory(agp_bridge, pg_count, type); in agp_allocate_memory_wrap() 886 memory = agp_allocate_memory_wrap(alloc.pg_count, alloc.type); in agpioc_allocate_wrap()
|
D | intel-gtt.c | 238 static struct agp_memory *alloc_agpphysmem_i8xx(size_t pg_count, int type) in alloc_agpphysmem_i8xx() argument 243 switch (pg_count) { in alloc_agpphysmem_i8xx() 257 new = agp_create_memory(pg_count); in alloc_agpphysmem_i8xx() 262 if (pg_count == 4) { in alloc_agpphysmem_i8xx() 268 new->page_count = pg_count; in alloc_agpphysmem_i8xx() 269 new->num_scratch_pages = pg_count; in alloc_agpphysmem_i8xx() 967 static struct agp_memory *intel_fake_agp_alloc_by_type(size_t pg_count, in intel_fake_agp_alloc_by_type() argument 973 if (pg_count != intel_private.num_dcache_entries) in intel_fake_agp_alloc_by_type() 981 new->page_count = pg_count; in intel_fake_agp_alloc_by_type() 987 return alloc_agpphysmem_i8xx(pg_count, type); in intel_fake_agp_alloc_by_type()
|
D | compat_ioctl.c | 120 ksegment[seg].pg_count = usegment[seg].pg_count; in compat_agpioc_reserve_wrap() 157 memory = agp_allocate_memory_wrap(alloc.pg_count, alloc.type); in compat_agpioc_allocate_wrap()
|
/drivers/staging/lustre/lustre/llite/ |
D | rw.c | 558 unsigned long pg_count; in stride_pg_count() local 577 pg_count = end_left - (st_pgs - start_left); in stride_pg_count() 579 pg_count = start_left + st_pgs * (end - start - 1) + end_left; in stride_pg_count() 582 st_off, st_len, st_pgs, off, length, pg_count); in stride_pg_count() 584 return pg_count; in stride_pg_count()
|
/drivers/md/ |
D | dm-mpath.c | 821 unsigned pg_count = 0; in multipath_ctr() local 868 pg_count++; in multipath_ctr() 869 pg->pg_num = pg_count; in multipath_ctr() 874 if (pg_count != m->nr_priority_groups) { in multipath_ctr()
|
/drivers/hv/ |
D | hv_balloon.c | 798 unsigned long pg_count) in handle_pg_range() argument 801 unsigned long pfn_cnt = pg_count; in handle_pg_range()
|
/drivers/staging/lustre/lustre/osc/ |
D | osc_request.c | 1152 static u32 osc_checksum_bulk(int nob, u32 pg_count, in osc_checksum_bulk() argument 1163 LASSERT(pg_count > 0); in osc_checksum_bulk() 1172 while (nob > 0 && pg_count > 0) { in osc_checksum_bulk() 1196 pg_count--; in osc_checksum_bulk()
|