Home
last modified time | relevance | path

Searched refs:nr_bytes (Results 1 – 19 of 19) sorted by relevance

/drivers/net/wireless/broadcom/b43legacy/
A Dmain.h25 #define P4D_BYT3S(magic, nr_bytes) u8 __p4dding##magic[nr_bytes] argument
26 #define P4D_BYTES(line, nr_bytes) P4D_BYT3S(line, nr_bytes) argument
28 #define PAD_BYTES(nr_bytes) P4D_BYTES(__LINE__ , (nr_bytes)) argument
/drivers/net/wireless/broadcom/b43/
A Dmain.h23 #define P4D_BYT3S(magic, nr_bytes) u8 __p4dding##magic[nr_bytes] argument
24 #define P4D_BYTES(line, nr_bytes) P4D_BYT3S(line, nr_bytes) argument
26 #define PAD_BYTES(nr_bytes) P4D_BYTES( __LINE__ , (nr_bytes)) argument
/drivers/md/
A Ddm-ps-service-time.c277 static struct dm_path *st_select_path(struct path_selector *ps, size_t nr_bytes) in st_select_path() argument
289 if (!best || (st_compare_load(pi, best, nr_bytes) < 0)) in st_select_path()
305 size_t nr_bytes) in st_start_io() argument
309 atomic_add(nr_bytes, &pi->in_flight_size); in st_start_io()
315 size_t nr_bytes, u64 start_time) in st_end_io() argument
319 atomic_sub(nr_bytes, &pi->in_flight_size); in st_end_io()
A Ddm-path-selector.h70 struct dm_path *(*select_path)(struct path_selector *ps, size_t nr_bytes);
90 size_t nr_bytes);
92 size_t nr_bytes, u64 start_time);
A Ddm-ps-queue-length.c191 static struct dm_path *ql_select_path(struct path_selector *ps, size_t nr_bytes) in ql_select_path() argument
224 size_t nr_bytes) in ql_start_io() argument
234 size_t nr_bytes, u64 start_time) in ql_end_io() argument
A Ddm-mpath.c113 size_t nr_bytes; member
309 mpio->nr_bytes = bio->bi_iter.bi_size; in multipath_init_per_bio_data()
385 size_t nr_bytes) in choose_path_in_pg() argument
425 pgpath = choose_path_in_pg(m, pg, nr_bytes); in choose_pgpath()
440 pgpath = choose_path_in_pg(m, pg, nr_bytes); in choose_pgpath()
517 size_t nr_bytes = blk_rq_bytes(rq); in multipath_clone_and_map() local
527 pgpath = choose_pgpath(m, nr_bytes); in multipath_clone_and_map()
541 mpio->nr_bytes = nr_bytes; in multipath_clone_and_map()
571 nr_bytes); in multipath_clone_and_map()
589 mpio->nr_bytes, in multipath_release_clone()
[all …]
A Ddm-ps-historical-service-time.c431 size_t nr_bytes) in hst_select_path() argument
462 size_t nr_bytes) in hst_start_io() argument
493 size_t nr_bytes, u64 start_time) in hst_end_io() argument
A Ddm-rq.c83 unsigned int nr_bytes = info->orig->bi_iter.bi_size; in end_clone_bio() local
110 tio->completed += nr_bytes; in end_clone_bio()
A Ddm-ps-round-robin.c189 static struct dm_path *rr_select_path(struct path_selector *ps, size_t nr_bytes) in rr_select_path() argument
A Ddm-ps-io-affinity.c197 size_t nr_bytes) in ioa_select_path() argument
/drivers/acpi/
A Dnvs.c103 unsigned int nr_bytes; in suspend_nvs_register() local
111 nr_bytes = PAGE_SIZE - (start & ~PAGE_MASK); in suspend_nvs_register()
112 entry->size = (size < nr_bytes) ? size : nr_bytes; in suspend_nvs_register()
/drivers/platform/olpc/
A Dolpc-xo175-ec.c479 size_t nr_bytes; in olpc_xo175_ec_cmd() local
507 nr_bytes = resp_len; in olpc_xo175_ec_cmd()
509 nr_bytes = (size_t)ret; in olpc_xo175_ec_cmd()
512 resp_len = min(resp_len, nr_bytes); in olpc_xo175_ec_cmd()
525 priv->expected_resp_len = nr_bytes; in olpc_xo175_ec_cmd()
552 } else if (priv->resp_len != nr_bytes) { in olpc_xo175_ec_cmd()
554 cmd, priv->resp_len, nr_bytes); in olpc_xo175_ec_cmd()
/drivers/net/ethernet/intel/ice/
A Dice_fwlog.c36 int i, nr_bytes; in ice_fwlog_alloc_ring_buffs() local
39 nr_bytes = rings->size * ICE_AQ_MAX_BUF_LEN; in ice_fwlog_alloc_ring_buffs()
40 mem = vzalloc(nr_bytes); in ice_fwlog_alloc_ring_buffs()
/drivers/iio/humidity/
A Dam2315.c76 static u16 am2315_crc(u8 *data, u8 nr_bytes) in am2315_crc() argument
81 while (nr_bytes--) { in am2315_crc()
/drivers/net/ethernet/mellanox/mlx4/
A Den_tx.c502 bytes += ring->tx_info[ring_index].nr_bytes; in mlx4_en_process_tx_cq()
1052 tx_info->nr_bytes = skb->len + (i - 1) * lso_header_size; in mlx4_en_xmit()
1059 tx_info->nr_bytes = max_t(unsigned int, skb->len, ETH_ZLEN); in mlx4_en_xmit()
1062 ring->bytes += tx_info->nr_bytes; in mlx4_en_xmit()
1101 tx_info->nr_bytes, in mlx4_en_xmit()
1199 tx_info->nr_bytes = max_t(unsigned int, length, ETH_ZLEN); in mlx4_en_xmit_frame()
A Dmlx4_en.h221 u32 nr_bytes; member
/drivers/block/
A Dswim3.c256 static bool swim3_end_request(struct floppy_state *fs, blk_status_t err, unsigned int nr_bytes) in swim3_end_request() argument
261 err, nr_bytes, req); in swim3_end_request()
264 nr_bytes = blk_rq_cur_bytes(req); in swim3_end_request()
265 if (blk_update_request(req, err, nr_bytes)) in swim3_end_request()
/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_npc_fs.c464 u8 hdr, key, nr_bytes, bit_offset; in npc_scan_ldata() local
469 nr_bytes = FIELD_GET(NPC_BYTESM, cfg) + 1; in npc_scan_ldata()
490 ((hstart) + (hlen)) <= (hdr + nr_bytes)) { \ in npc_scan_ldata()
491 bit_offset = (hdr + nr_bytes - (hstart) - (hlen)) * 8; \ in npc_scan_ldata()
/drivers/mmc/core/
A Dblock.c2120 unsigned int nr_bytes = mqrq->brq.data.bytes_xfered; in mmc_blk_mq_complete_rq() local
2122 if (nr_bytes) { in mmc_blk_mq_complete_rq()
2123 if (blk_update_request(req, BLK_STS_OK, nr_bytes)) in mmc_blk_mq_complete_rq()

Completed in 51 milliseconds