Home
last modified time | relevance | path

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

12

/linux/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
/linux/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
/linux/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.h55 size_t nr_bytes);
75 size_t nr_bytes);
77 size_t nr_bytes, u64 start_time);
A Ddm-ps-queue-length.c190 static struct dm_path *ql_select_path(struct path_selector *ps, size_t nr_bytes) in ql_select_path() argument
223 size_t nr_bytes) in ql_start_io() argument
233 size_t nr_bytes, u64 start_time) in ql_end_io() argument
A Ddm-mpath.c107 size_t nr_bytes; member
296 mpio->nr_bytes = bio->bi_iter.bi_size; in multipath_init_per_bio_data()
370 size_t nr_bytes) in choose_path_in_pg() argument
417 pgpath = choose_path_in_pg(m, pg, nr_bytes); in choose_pgpath()
426 pgpath = choose_path_in_pg(m, pg, nr_bytes); in choose_pgpath()
505 size_t nr_bytes = blk_rq_bytes(rq); in multipath_clone_and_map() local
515 pgpath = choose_pgpath(m, nr_bytes); in multipath_clone_and_map()
529 mpio->nr_bytes = nr_bytes; in multipath_clone_and_map()
560 nr_bytes); in multipath_clone_and_map()
578 mpio->nr_bytes, in multipath_release_clone()
[all …]
A Ddm-ps-historical-service-time.c432 size_t nr_bytes) in hst_select_path() argument
463 size_t nr_bytes) in hst_start_io() argument
494 size_t nr_bytes, u64 start_time) in hst_end_io() argument
A Ddm-ps-round-robin.c185 static struct dm_path *rr_select_path(struct path_selector *ps, size_t nr_bytes) in rr_select_path() 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-io-affinity.c197 size_t nr_bytes) in ioa_select_path() argument
/linux/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()
/linux/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()
/linux/fs/proc/
A Dvmcore.c140 size_t nr_bytes; in read_from_oldmem() local
152 nr_bytes = PAGE_SIZE - offset; in read_from_oldmem()
154 nr_bytes = count; in read_from_oldmem()
160 memset(buf, 0, nr_bytes); in read_from_oldmem()
161 else if (clear_user(buf, nr_bytes)) in read_from_oldmem()
166 nr_bytes, in read_from_oldmem()
170 tmp = copy_oldmem_page(pfn, buf, nr_bytes, in read_from_oldmem()
178 *ppos += nr_bytes; in read_from_oldmem()
179 count -= nr_bytes; in read_from_oldmem()
180 buf += nr_bytes; in read_from_oldmem()
[all …]
/linux/block/
A Dt10-pi.c182 static void t10_pi_type1_complete(struct request *rq, unsigned int nr_bytes) in t10_pi_type1_complete() argument
184 unsigned intervals = nr_bytes >> rq->q->integrity.interval_exp; in t10_pi_type1_complete()
241 static void t10_pi_type3_complete(struct request *rq, unsigned int nr_bytes) in t10_pi_type3_complete() argument
A Dblk-mq.c711 unsigned int nr_bytes) in blk_update_request() argument
715 trace_block_rq_complete(req, error, nr_bytes); in blk_update_request()
723 req->q->integrity.profile->complete_fn(req, nr_bytes); in blk_update_request()
730 blk_account_io_completion(req, nr_bytes); in blk_update_request()
735 unsigned bio_bytes = min(bio->bi_iter.bi_size, nr_bytes); in blk_update_request()
745 nr_bytes -= bio_bytes; in blk_update_request()
747 if (!nr_bytes) in blk_update_request()
/linux/net/rds/
A Drdma.c615 unsigned int nr_bytes; in rds_cmsg_rdma_args() local
700 nr_bytes = 0; in rds_cmsg_rdma_args()
759 nr_bytes, nr, iov->bytes, iov->addr); in rds_cmsg_rdma_args()
761 nr_bytes += iov->bytes; in rds_cmsg_rdma_args()
783 if (nr_bytes > args->remote_vec.bytes) { in rds_cmsg_rdma_args()
785 nr_bytes, in rds_cmsg_rdma_args()
790 op->op_bytes = nr_bytes; in rds_cmsg_rdma_args()
/linux/mm/
A Dmemcontrol.c270 unsigned int nr_bytes; in obj_cgroup_release() local
296 nr_pages = nr_bytes >> PAGE_SHIFT; in obj_cgroup_release()
2085 unsigned int nr_bytes; member
3129 if (objcg == stock->cached_objcg && stock->nr_bytes >= nr_bytes) { in consume_obj_stock()
3130 stock->nr_bytes -= nr_bytes; in consume_obj_stock()
3146 if (stock->nr_bytes) { in drain_obj_stock()
3148 unsigned int nr_bytes = stock->nr_bytes & (PAGE_SIZE - 1); in drain_obj_stock() local
3164 stock->nr_bytes = 0; in drain_obj_stock()
3224 stock->nr_bytes += nr_bytes; in refill_obj_stock()
3271 if (nr_bytes) in obj_cgroup_charge()
[all …]
/linux/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()
/linux/include/trace/events/
A Dblock.h117 TP_PROTO(struct request *rq, blk_status_t error, unsigned int nr_bytes),
119 TP_ARGS(rq, error, nr_bytes),
133 __entry->nr_sector = nr_bytes >> 9;
/linux/drivers/net/ethernet/mellanox/mlx4/
A Den_tx.c501 bytes += ring->tx_info[ring_index].nr_bytes; in mlx4_en_process_tx_cq()
1023 tx_info->nr_bytes = skb->len + (i - 1) * lso_header_size; in mlx4_en_xmit()
1030 tx_info->nr_bytes = max_t(unsigned int, skb->len, ETH_ZLEN); in mlx4_en_xmit()
1033 ring->bytes += tx_info->nr_bytes; in mlx4_en_xmit()
1072 tx_info->nr_bytes, in mlx4_en_xmit()
1170 tx_info->nr_bytes = max_t(unsigned int, length, ETH_ZLEN); in mlx4_en_xmit_frame()
/linux/fs/ntfs/
A Dcompress.c309 int nr_bytes = do_sb_end - *dest_ofs; in ntfs_decompress() local
314 memset(dp_addr, 0, nr_bytes); in ntfs_decompress()
315 *dest_ofs += nr_bytes; in ntfs_decompress()
/linux/tools/lib/bpf/
A Dbtf_dump.c1640 int nr_bytes; in btf_dump_base_type_check_zero() local
1646 nr_bytes = d->ptr_sz; in btf_dump_base_type_check_zero()
1648 nr_bytes = t->size; in btf_dump_base_type_check_zero()
1650 if (nr_bytes < 1 || nr_bytes > 16) { in btf_dump_base_type_check_zero()
1651 pr_warn("unexpected size %d for id [%u]\n", nr_bytes, id); in btf_dump_base_type_check_zero()
1655 if (memcmp(data, bytecmp, nr_bytes) == 0) in btf_dump_base_type_check_zero()
/linux/drivers/block/
A Dswim3.c257 static bool swim3_end_request(struct floppy_state *fs, blk_status_t err, unsigned int nr_bytes) in swim3_end_request() argument
262 err, nr_bytes, req); in swim3_end_request()
265 nr_bytes = blk_rq_cur_bytes(req); in swim3_end_request()
266 if (blk_update_request(req, err, nr_bytes)) in swim3_end_request()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_npc_fs.c392 u8 hdr, key, nr_bytes, bit_offset; in npc_scan_ldata() local
397 nr_bytes = FIELD_GET(NPC_BYTESM, cfg) + 1; in npc_scan_ldata()
418 ((hstart) + (hlen)) <= (hdr + nr_bytes)) { \ in npc_scan_ldata()
419 bit_offset = (hdr + nr_bytes - (hstart) - (hlen)) * 8; \ in npc_scan_ldata()
/linux/kernel/trace/
A Dblktrace.c820 unsigned int nr_bytes, u32 what, u64 cgid) in blk_add_trace_rq() argument
836 __blk_add_trace(bt, blk_rq_trace_sector(rq), nr_bytes, req_op(rq), in blk_add_trace_rq()
867 blk_status_t error, unsigned int nr_bytes) in blk_add_trace_rq_complete() argument
869 blk_add_trace_rq(rq, error, nr_bytes, BLK_TA_COMPLETE, in blk_add_trace_rq_complete()

Completed in 83 milliseconds

12