/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/ |
D | main.h | 25 #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
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/ |
D | main.h | 23 #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
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | ide-taskfile.c | 240 unsigned nr_bytes = min(len, cursg->length - cmd->cursg_ofs); in ide_pio_bytes() local 249 nr_bytes = min_t(unsigned, nr_bytes, (PAGE_SIZE - offset)); in ide_pio_bytes() 253 cmd->nleft -= nr_bytes; in ide_pio_bytes() 254 cmd->cursg_ofs += nr_bytes; in ide_pio_bytes() 263 hwif->tp_ops->output_data(drive, cmd, buf, nr_bytes); in ide_pio_bytes() 265 hwif->tp_ops->input_data(drive, cmd, buf, nr_bytes); in ide_pio_bytes() 269 len -= nr_bytes; in ide_pio_bytes() 277 unsigned int nr_bytes; in ide_pio_datablock() local 290 nr_bytes = min_t(unsigned, cmd->nleft, drive->mult_count << 9); in ide_pio_datablock() 292 nr_bytes = SECTOR_SIZE; in ide_pio_datablock() [all …]
|
D | ide-io.c | 58 unsigned int nr_bytes) in ide_end_rq() argument 70 if (!blk_update_request(rq, error, nr_bytes)) { in ide_end_rq() 125 int ide_complete_rq(ide_drive_t *drive, blk_status_t error, unsigned int nr_bytes) in ide_complete_rq() argument 136 nr_bytes = blk_rq_sectors(rq) << 9; in ide_complete_rq() 138 rc = ide_end_rq(drive, rq, error, nr_bytes); in ide_complete_rq() 246 void ide_init_sg_cmd(struct ide_cmd *cmd, unsigned int nr_bytes) in ide_init_sg_cmd() argument 248 cmd->nbytes = cmd->nleft = nr_bytes; in ide_init_sg_cmd()
|
D | ide-cd.c | 518 unsigned int nr_bytes = cmd->nbytes - cmd->nleft; in ide_cd_error_cmd() local 521 nr_bytes -= cmd->last_xfer_len; in ide_cd_error_cmd() 523 if (nr_bytes > 0) { in ide_cd_error_cmd() 524 ide_complete_rq(drive, BLK_STS_OK, nr_bytes); in ide_cd_error_cmd()
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-path-selector.h | 55 size_t nr_bytes); 75 size_t nr_bytes); 77 size_t nr_bytes, u64 start_time);
|
D | dm-service-time.c | 274 static struct dm_path *st_select_path(struct path_selector *ps, size_t nr_bytes) in st_select_path() argument 286 if (!best || (st_compare_load(pi, best, nr_bytes) < 0)) in st_select_path() 302 size_t nr_bytes) in st_start_io() argument 306 atomic_add(nr_bytes, &pi->in_flight_size); in st_start_io() 312 size_t nr_bytes, u64 start_time) in st_end_io() argument 316 atomic_sub(nr_bytes, &pi->in_flight_size); in st_end_io()
|
D | dm-queue-length.c | 187 static struct dm_path *ql_select_path(struct path_selector *ps, size_t nr_bytes) in ql_select_path() argument 220 size_t nr_bytes) in ql_start_io() argument 230 size_t nr_bytes, u64 start_time) in ql_end_io() argument
|
D | dm-mpath.c | 107 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 376 path = pg->ps.type->select_path(&pg->ps, nr_bytes); in choose_path_in_pg() 393 static struct pgpath *choose_pgpath(struct multipath *m, size_t nr_bytes) in choose_pgpath() 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() 441 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() [all …]
|
D | dm-historical-service-time.c | 428 size_t nr_bytes) in hst_select_path() argument 459 size_t nr_bytes) in hst_start_io() argument 490 size_t nr_bytes, u64 start_time) in hst_end_io() argument
|
D | dm-round-robin.c | 181 static struct dm_path *rr_select_path(struct path_selector *ps, size_t nr_bytes) in rr_select_path() argument
|
D | dm-rq.c | 84 unsigned int nr_bytes = info->orig->bi_iter.bi_size; in end_clone_bio() local 111 tio->completed += nr_bytes; in end_clone_bio()
|
/kernel/linux/linux-5.10/drivers/acpi/ |
D | nvs.c | 101 unsigned int nr_bytes; in suspend_nvs_register() local 109 nr_bytes = PAGE_SIZE - (start & ~PAGE_MASK); in suspend_nvs_register() 110 entry->size = (size < nr_bytes) ? size : nr_bytes; in suspend_nvs_register()
|
/kernel/linux/linux-5.10/drivers/platform/olpc/ |
D | olpc-xo175-ec.c | 479 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()
|
/kernel/linux/linux-5.10/block/ |
D | t10-pi.c | 184 static void t10_pi_type1_complete(struct request *rq, unsigned int nr_bytes) in t10_pi_type1_complete() argument 186 unsigned intervals = nr_bytes >> rq->q->integrity.interval_exp; in t10_pi_type1_complete() 245 static void t10_pi_type3_complete(struct request *rq, unsigned int nr_bytes) in t10_pi_type3_complete() argument
|
D | blk-core.c | 1425 unsigned int nr_bytes) in blk_update_request() argument 1429 trace_block_rq_complete(req, blk_status_to_errno(error), nr_bytes); in blk_update_request() 1437 req->q->integrity.profile->complete_fn(req, nr_bytes); in blk_update_request() 1444 blk_account_io_completion(req, nr_bytes); in blk_update_request() 1449 unsigned bio_bytes = min(bio->bi_iter.bi_size, nr_bytes); in blk_update_request() 1459 nr_bytes -= bio_bytes; in blk_update_request() 1461 if (!nr_bytes) in blk_update_request()
|
D | blk-integrity.c | 374 unsigned int nr_bytes) in blk_integrity_nop_complete() argument
|
/kernel/linux/linux-5.10/fs/proc/ |
D | vmcore.c | 111 size_t nr_bytes; in read_from_oldmem() local 122 nr_bytes = PAGE_SIZE - offset; in read_from_oldmem() 124 nr_bytes = count; in read_from_oldmem() 130 memset(buf, 0, nr_bytes); in read_from_oldmem() 131 else if (clear_user(buf, nr_bytes)) in read_from_oldmem() 136 nr_bytes, in read_from_oldmem() 140 tmp = copy_oldmem_page(pfn, buf, nr_bytes, in read_from_oldmem() 146 *ppos += nr_bytes; in read_from_oldmem() 147 count -= nr_bytes; in read_from_oldmem() 148 buf += nr_bytes; in read_from_oldmem() [all …]
|
/kernel/linux/linux-5.10/net/rds/ |
D | rdma.c | 615 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()
|
/kernel/linux/linux-5.10/drivers/iio/humidity/ |
D | am2315.c | 77 static u16 am2315_crc(u8 *data, u8 nr_bytes) in am2315_crc() argument 82 while (nr_bytes--) { in am2315_crc()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | block.h | 117 TP_PROTO(struct request *rq, int error, unsigned int nr_bytes), 119 TP_ARGS(rq, error, nr_bytes), 133 __entry->nr_sector = nr_bytes >> 9; 136 blk_fill_rwbs(__entry->rwbs, rq->cmd_flags, nr_bytes);
|
/kernel/linux/linux-5.10/mm/ |
D | memcontrol.c | 260 unsigned int nr_bytes; in obj_cgroup_release() local 284 nr_bytes = atomic_read(&objcg->nr_charged_bytes); in obj_cgroup_release() 285 WARN_ON_ONCE(nr_bytes & (PAGE_SIZE - 1)); in obj_cgroup_release() 286 nr_pages = nr_bytes >> PAGE_SHIFT; in obj_cgroup_release() 2237 unsigned int nr_bytes; member 3160 static bool consume_obj_stock(struct obj_cgroup *objcg, unsigned int nr_bytes) in consume_obj_stock() argument 3169 if (objcg == stock->cached_objcg && stock->nr_bytes >= nr_bytes) { in consume_obj_stock() 3170 stock->nr_bytes -= nr_bytes; in consume_obj_stock() 3186 if (stock->nr_bytes) { in drain_obj_stock() 3187 unsigned int nr_pages = stock->nr_bytes >> PAGE_SHIFT; in drain_obj_stock() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 500 bytes += ring->tx_info[ring_index].nr_bytes; in mlx4_en_process_tx_cq() 1030 tx_info->nr_bytes = skb->len + (i - 1) * lso_header_size; in mlx4_en_xmit() 1037 tx_info->nr_bytes = max_t(unsigned int, skb->len, ETH_ZLEN); in mlx4_en_xmit() 1040 ring->bytes += tx_info->nr_bytes; in mlx4_en_xmit() 1080 tx_info->nr_bytes, in mlx4_en_xmit() 1182 tx_info->nr_bytes = max_t(unsigned int, length, ETH_ZLEN); in mlx4_en_xmit_frame()
|
/kernel/linux/linux-5.10/fs/ntfs/ |
D | compress.c | 309 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()
|
/kernel/linux/linux-5.10/drivers/block/ |
D | swim3.c | 257 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()
|