Searched refs:seg_count (Results 1 – 11 of 11) 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(sizeof(*usegment) * ureserve.seg_count, GFP_KERNEL); in compat_agpioc_reserve_wrap()105 ksegment = kmalloc(sizeof(*ksegment) * kreserve.seg_count, GFP_KERNEL); in compat_agpioc_reserve_wrap()112 sizeof(*usegment) * ureserve.seg_count)) { in compat_agpioc_reserve_wrap()118 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
93 if (dma->bufs[i].seg_count) { in drm_legacy_dma_takedown()98 dma->bufs[i].seg_count); in drm_legacy_dma_takedown()99 for (j = 0; j < dma->bufs[i].seg_count; j++) { in drm_legacy_dma_takedown()
564 if (entry->seg_count) { in drm_cleanup_buf_error()565 for (i = 0; i < entry->seg_count; i++) { in drm_cleanup_buf_error()572 entry->seg_count = 0; in drm_cleanup_buf_error()741 dma->seg_count += entry->seg_count; in drm_legacy_addbufs_agp()871 entry->seg_count = count; in drm_legacy_addbufs_pci()878 entry->seglist[entry->seg_count++] = dmah; in drm_legacy_addbufs_pci()908 entry->seg_count = count; in drm_legacy_addbufs_pci()948 dma->seg_count += entry->seg_count; in drm_legacy_addbufs_pci()949 dma->page_count += entry->seg_count << page_order; in drm_legacy_addbufs_pci()950 dma->byte_count += PAGE_SIZE * (entry->seg_count << page_order); in drm_legacy_addbufs_pci()[all …]
133 seg_pages = dma->bufs[i].seg_count * (1 << dma->bufs[i].page_order); in drm_bufs_info()139 dma->bufs[i].seg_count, in drm_bufs_info()
573 paylen = mad_send_wr->send_buf.seg_count * IB_MGMT_RMPP_DATA - in send_next_seg()577 if (mad_send_wr->seg_num == mad_send_wr->send_buf.seg_count) { in send_next_seg()603 if ((mad_send_wr->last_ack == mad_send_wr->send_buf.seg_count) || in abort_send()672 if ((mad_send_wr->last_ack == mad_send_wr->send_buf.seg_count) && in process_rmpp_ack()679 if ((mad_send_wr->last_ack == mad_send_wr->send_buf.seg_count) || in process_rmpp_ack()683 if (seg_num > mad_send_wr->send_buf.seg_count || in process_rmpp_ack()699 if (mad_send_wr->last_ack == mad_send_wr->send_buf.seg_count) { in process_rmpp_ack()721 mad_send_wr->seg_num < mad_send_wr->send_buf.seg_count) { in process_rmpp_ack()914 if (mad_send_wr->last_ack == mad_send_wr->send_buf.seg_count) { in ib_process_rmpp_send_wc()921 mad_send_wr->seg_num == mad_send_wr->send_buf.seg_count) in ib_process_rmpp_send_wc()[all …]
894 seg->num = ++send_buf->seg_count; in alloc_send_rmpp_list()1036 if (mad_send_wr->send_buf.seg_count) in ib_get_payload()
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()998 msb->seg_count = 1; in mspro_block_read_attributes()1100 msb->seg_count = 1; in mspro_block_read_attributes()
1938 if (tx_cb->seg_count == 0) { in ql_process_mac_tx_intr()1950 tx_cb->seg_count--; in ql_process_mac_tx_intr()1951 if (tx_cb->seg_count) { in ql_process_mac_tx_intr()1952 for (i = 1; i < tx_cb->seg_count; i++) { in ql_process_mac_tx_intr()2321 seg_cnt = tx_cb->seg_count; in ql_send_map()2477 tx_cb->seg_count = ql_get_seg_count(qdev, in ql3xxx_send()2479 if (tx_cb->seg_count == -1) { in ql3xxx_send()3651 for (j = 1; j < tx_cb->seg_count; j++) { in ql_reset_work()
1039 int seg_count; member