Home
last modified time | relevance | path

Searched refs:num_sgs (Results 1 – 13 of 13) sorted by relevance

/linux-2.6.39/net/rds/ !
Dmessage.c241 int num_sgs = ceil(total_len, PAGE_SIZE); in rds_message_map_pages() local
242 int extra_bytes = num_sgs * sizeof(struct scatterlist); in rds_message_map_pages()
251 rm->data.op_sg = rds_message_alloc_sgs(rm, num_sgs); in rds_message_map_pages()
/linux-2.6.39/drivers/crypto/ !
Dmv_cesa.c498 int num_sgs; in mv_start_new_crypt_req() local
507 num_sgs = count_sgs(req->src, req->nbytes); in mv_start_new_crypt_req()
508 sg_miter_start(&p->src_sg_it, req->src, num_sgs, SG_MITER_FROM_SG); in mv_start_new_crypt_req()
510 num_sgs = count_sgs(req->dst, req->nbytes); in mv_start_new_crypt_req()
511 sg_miter_start(&p->dst_sg_it, req->dst, num_sgs, SG_MITER_TO_SG); in mv_start_new_crypt_req()
521 int num_sgs, hw_bytes, old_extra_bytes, rc; in mv_start_new_hash_req() local
550 num_sgs = count_sgs(req->src, req->nbytes); in mv_start_new_hash_req()
551 sg_miter_start(&p->src_sg_it, req->src, num_sgs, SG_MITER_FROM_SG); in mv_start_new_hash_req()
/linux-2.6.39/drivers/usb/host/ !
Dxhci-ring.c2503 int num_sgs, num_trbs, running_total, temp, i; in count_sg_trbs_needed() local
2507 num_sgs = urb->num_sgs; in count_sg_trbs_needed()
2512 for_each_sg(urb->sg, sg, num_sgs, i) { in count_sg_trbs_needed()
2643 int num_sgs; in queue_bulk_sg_tx() local
2657 num_sgs = urb->num_sgs; in queue_bulk_sg_tx()
2760 --num_sgs; in queue_bulk_sg_tx()
2761 if (num_sgs == 0) in queue_bulk_sg_tx()
2801 if (urb->num_sgs) in xhci_queue_bulk_tx()
Dehci-tegra.c422 if (urb->num_sgs || urb->sg || in alloc_temp_buffer()
Dehci-q.c652 i = urb->num_sgs; in qh_urb_transaction()
Duhci-q.c945 i = urb->num_sgs; in uhci_submit_common()
/linux-2.6.39/drivers/usb/host/whci/ !
Dqset.c446 for_each_sg(urb->sg, sg, urb->num_sgs, i) { in qset_add_urb_sg()
564 for_each_sg(urb->sg, sg, urb->num_sgs, i) { in qset_add_urb_sg_linearize()
649 if (urb->num_sgs) { in qset_add_urb()
/linux-2.6.39/drivers/usb/core/ !
Dhcd.c1304 urb->num_sgs, in usb_hcd_unmap_urb_for_dma()
1380 if (urb->num_sgs) { in usb_hcd_map_urb_for_dma()
1384 urb->num_sgs, in usb_hcd_map_urb_for_dma()
1390 if (n != urb->num_sgs) { in usb_hcd_map_urb_for_dma()
1391 urb->num_sgs = n; in usb_hcd_map_urb_for_dma()
Dmessage.c414 urb->num_sgs = nents; in usb_sg_init()
/linux-2.6.39/drivers/usb/mon/ !
Dmon_bin.c408 if (urb->num_sgs == 0) { in mon_bin_get_data()
424 for_each_sg(urb->sg, sg, urb->num_sgs, i) { in mon_bin_get_data()
Dmon_text.c157 if (urb->num_sgs == 0) { in mon_text_get_data()
/linux-2.6.39/drivers/usb/storage/ !
Duas.c284 urb->num_sgs = udev->bus->sg_tablesize ? sdb->table.nents : 0; in uas_alloc_data_urb()
/linux-2.6.39/include/linux/ !
Dusb.h1203 int num_sgs; /* (in) number of entries in the sg list */ member