Searched refs:segment_size (Results 1 - 10 of 10) sorted by relevance
/linux-4.4.14/drivers/staging/octeon/ |
H A D | ethernet-rx.c | 320 * one: int segment_size = cvm_oct_napi_poll() 323 int segment_size = cvm_oct_napi_poll() local 332 if (segment_size > len) cvm_oct_napi_poll() 333 segment_size = len; cvm_oct_napi_poll() 335 memcpy(skb_put(skb, segment_size), cvm_oct_napi_poll() 337 segment_size); cvm_oct_napi_poll() local 338 len -= segment_size; cvm_oct_napi_poll()
|
/linux-4.4.14/net/mac80211/ |
H A D | rc80211_minstrel.c | 543 if ((tx_time_cts < mp->segment_size) && minstrel_rate_init() 546 if ((tx_time_rtscts < mp->segment_size) && minstrel_rate_init() 549 } while ((tx_time < mp->segment_size) && minstrel_rate_init() 669 mp->segment_size = 6000; minstrel_alloc()
|
H A D | rc80211_minstrel.h | 132 unsigned int segment_size; member in struct:minstrel_priv
|
H A D | rc80211_minstrel_ht.c | 832 if (tx_time_rtscts < mp->segment_size) minstrel_calc_retransmit() 834 } while ((tx_time < mp->segment_size) && minstrel_calc_retransmit()
|
/linux-4.4.14/drivers/block/ |
H A D | rbd.c | 1205 u64 segment_size = (u64) 1 << rbd_dev->header.obj_order; rbd_segment_offset() local 1207 return offset & (segment_size - 1); rbd_segment_offset() 1213 u64 segment_size = (u64) 1 << rbd_dev->header.obj_order; rbd_segment_length() local 1215 offset &= segment_size - 1; rbd_segment_length() 1218 if (offset + length > segment_size) rbd_segment_length() 1219 length = segment_size - offset; rbd_segment_length() 3726 u64 segment_size; rbd_init_disk() local 3767 segment_size = rbd_obj_bytes(&rbd_dev->header); rbd_init_disk() 3768 blk_queue_max_hw_sectors(q, segment_size / SECTOR_SIZE); rbd_init_disk() 3770 blk_queue_max_segments(q, segment_size / SECTOR_SIZE); rbd_init_disk() 3771 blk_queue_max_segment_size(q, segment_size); rbd_init_disk() 3772 blk_queue_io_min(q, segment_size); rbd_init_disk() 3773 blk_queue_io_opt(q, segment_size); rbd_init_disk() 3777 q->limits.discard_granularity = segment_size; rbd_init_disk() 3778 q->limits.discard_alignment = segment_size; rbd_init_disk() 3779 blk_queue_max_discard_sectors(q, segment_size / SECTOR_SIZE); rbd_init_disk()
|
/linux-4.4.14/drivers/target/ |
H A D | target_core_alua.c | 477 u64 segment_size, segment_mult, sectors, lba; core_alua_state_lba_dependent() local 484 segment_size = dev->t10_alua.lba_map_segment_size; core_alua_state_lba_dependent() 500 start_lba = do_div(tmp, segment_size * segment_mult); core_alua_state_lba_dependent() 502 last_lba = first_lba + segment_size - 1; core_alua_state_lba_dependent() 505 lba += segment_size; core_alua_state_lba_dependent() 1410 int segment_size, int segment_mult) core_alua_set_lba_map() 1418 dev->t10_alua.lba_map_segment_size = segment_size; core_alua_set_lba_map() 1409 core_alua_set_lba_map(struct se_device *dev, struct list_head *lba_map_list, int segment_size, int segment_mult) core_alua_set_lba_map() argument
|
H A D | target_core_configfs.c | 1988 unsigned long segment_size = -1, segment_mult = -1; target_dev_lba_map_store() local 2001 &segment_size, &segment_mult) != 2) { target_dev_lba_map_store() 2087 segment_size, segment_mult); target_dev_lba_map_store()
|
/linux-4.4.14/drivers/net/usb/ |
H A D | kaweth.c | 206 __le16 segment_size; member in struct:kaweth_ethernet_configuration 1110 dev_info(dev, "MTU: %d\n", le16_to_cpu(kaweth->configuration.segment_size)); kaweth_probe() 1173 netdev->mtu = le16_to_cpu(kaweth->configuration.segment_size); kaweth_probe()
|
/linux-4.4.14/drivers/usb/wusbcore/ |
H A D | wa-xfer.c | 553 int segment_size = 0, frame_count = 0; __wa_seg_calculate_isoc_frame_count() local 559 && ((segment_size + iso_frame_desc[index].length) __wa_seg_calculate_isoc_frame_count() 578 segment_size += iso_frame_desc[index].length; __wa_seg_calculate_isoc_frame_count() 584 *total_size = segment_size; __wa_seg_calculate_isoc_frame_count()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
H A D | pci-ioda.c | 3169 segment_size); pnv_pci_init_ioda_phb()
|
Completed in 376 milliseconds