Searched refs:seg_count (Results 1 – 8 of 8) sorted by relevance
72 if ((unsigned) ureserve.seg_count >= ~0U/sizeof(struct agp_segment32)) in compat_agpioc_reserve_wrap()76 kreserve.seg_count = ureserve.seg_count; in compat_agpioc_reserve_wrap()80 if (kreserve.seg_count == 0) { in compat_agpioc_reserve_wrap()98 if (ureserve.seg_count >= 16384) in compat_agpioc_reserve_wrap()101 usegment = kmalloc_array(ureserve.seg_count, in compat_agpioc_reserve_wrap()107 ksegment = kmalloc_array(kreserve.seg_count, in compat_agpioc_reserve_wrap()116 sizeof(*usegment) * ureserve.seg_count)) { in compat_agpioc_reserve_wrap()122 for (seg = 0; seg < ureserve.seg_count; seg++) { in compat_agpioc_reserve_wrap()
170 seg = kzalloc((sizeof(struct agp_segment_priv) * region->seg_count), GFP_KERNEL); in agp_create_segment()178 for (i = 0; i < region->seg_count; i++) { in agp_create_segment()192 agp_add_seg_to_client(client, ret_seg, region->seg_count); in agp_create_segment()809 if ((unsigned) reserve.seg_count >= ~0U/sizeof(struct agp_segment)) in agpioc_reserve_wrap()814 if (reserve.seg_count == 0) { in agpioc_reserve_wrap()830 if (reserve.seg_count >= 16384) in agpioc_reserve_wrap()833 segment = kmalloc((sizeof(struct agp_segment) * reserve.seg_count), in agpioc_reserve_wrap()840 sizeof(struct agp_segment) * reserve.seg_count)) { in agpioc_reserve_wrap()
66 compat_size_t seg_count; /* number of segments */ member
90 int seg_count; member106 int seg_count; member
88 __kernel_size_t seg_count; /* number of segments */ member
67 size_t seg_count; /* number of segments */ member
173 unsigned int seg_count; member616 if (msb->current_seg == msb->seg_count) { in h_mspro_block_transfer_data()707 msb->seg_count = blk_rq_map_sg(msb->block_req->q, in mspro_block_issue_req()711 if (!msb->seg_count) { in mspro_block_issue_req()987 msb->seg_count = 1; in mspro_block_read_attributes()1088 msb->seg_count = 1; in mspro_block_read_attributes()
487 int seg_count; member