/Linux-v5.4/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
|
/Linux-v5.4/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
|
/Linux-v5.4/drivers/ide/ |
D | ide-taskfile.c | 241 unsigned nr_bytes = min(len, cursg->length - cmd->cursg_ofs); in ide_pio_bytes() local 250 nr_bytes = min_t(unsigned, nr_bytes, (PAGE_SIZE - offset)); in ide_pio_bytes() 254 cmd->nleft -= nr_bytes; in ide_pio_bytes() 255 cmd->cursg_ofs += nr_bytes; in ide_pio_bytes() 264 hwif->tp_ops->output_data(drive, cmd, buf, nr_bytes); in ide_pio_bytes() 266 hwif->tp_ops->input_data(drive, cmd, buf, nr_bytes); in ide_pio_bytes() 270 len -= nr_bytes; in ide_pio_bytes() 278 unsigned int nr_bytes; in ide_pio_datablock() local 291 nr_bytes = min_t(unsigned, cmd->nleft, drive->mult_count << 9); in ide_pio_datablock() 293 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() 243 void ide_init_sg_cmd(struct ide_cmd *cmd, unsigned int nr_bytes) in ide_init_sg_cmd() argument 245 cmd->nbytes = cmd->nleft = nr_bytes; in ide_init_sg_cmd()
|
/Linux-v5.4/drivers/misc/mic/scif/ |
D | scif_rma_list.c | 81 u64 end_va_window, end_va_req = start_va_req + req->nr_bytes; in scif_query_tcw() 83 if (!req->nr_bytes) in scif_query_tcw() 114 req->nr_bytes += in scif_query_tcw() 119 req->nr_bytes += end_va_window - end_va_req; in scif_query_tcw() 140 u64 tmp_min, nr_bytes_left = req->nr_bytes; in scif_query_window() 142 if (!req->nr_bytes) in scif_query_window() 157 if (nr_bytes_left == req->nr_bytes) in scif_query_window()
|
D | scif_rma_list.h | 29 size_t nr_bytes; member
|
D | scif_mmap.c | 34 req.nr_bytes = recv_window->nr_pages << PAGE_SHIFT; in scif_recv_munmap() 238 req.nr_bytes = len; in scif_get_pages() 564 req.nr_bytes = vma->vm_end - vma->vm_start; in scif_munmap() 636 req.nr_bytes = vma->vm_end - vma->vm_start; in scif_mmap()
|
D | scif_dma.c | 748 size_t *nr_bytes, struct scif_window_iter *iter) in scif_off_to_dma_addr() argument 758 if (nr_bytes) in scif_off_to_dma_addr() 759 *nr_bytes = PAGE_SIZE - page_off; in scif_off_to_dma_addr() 776 if (nr_bytes) in scif_off_to_dma_addr() 777 *nr_bytes = end - off; in scif_off_to_dma_addr() 1674 remote_req.nr_bytes = len; in scif_rma_copy() 1704 req.nr_bytes = ALIGN(len + (addr & ~PAGE_MASK), in scif_rma_copy() 1718 req.nr_bytes, req.prot, in scif_rma_copy() 1747 req.nr_bytes = len; in scif_rma_copy()
|
/Linux-v5.4/drivers/md/ |
D | dm-path-selector.h | 55 size_t nr_bytes); 75 size_t nr_bytes); 77 size_t nr_bytes);
|
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) 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) in ql_end_io() argument
|
D | dm-mpath.c | 101 size_t nr_bytes; member 273 mpio->nr_bytes = bio->bi_iter.bi_size; in multipath_init_per_bio_data() 345 size_t nr_bytes) in choose_path_in_pg() argument 351 path = pg->ps.type->select_path(&pg->ps, nr_bytes); in choose_path_in_pg() 368 static struct pgpath *choose_pgpath(struct multipath *m, size_t nr_bytes) in choose_pgpath() argument 390 pgpath = choose_path_in_pg(m, pg, nr_bytes); in choose_pgpath() 399 pgpath = choose_path_in_pg(m, pg, nr_bytes); in choose_pgpath() 414 pgpath = choose_path_in_pg(m, pg, nr_bytes); in choose_pgpath() 488 size_t nr_bytes = blk_rq_bytes(rq); in multipath_clone_and_map() local 498 pgpath = choose_pgpath(m, nr_bytes); in multipath_clone_and_map() [all …]
|
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 | 87 unsigned int nr_bytes = info->orig->bi_iter.bi_size; in end_clone_bio() local 114 tio->completed += nr_bytes; in end_clone_bio()
|
/Linux-v5.4/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()
|
/Linux-v5.4/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()
|
/Linux-v5.4/block/ |
D | t10-pi.c | 183 static void t10_pi_type1_complete(struct request *rq, unsigned int nr_bytes) in t10_pi_type1_complete() argument 185 unsigned intervals = nr_bytes >> rq->q->integrity.interval_exp; in t10_pi_type1_complete() 248 static void t10_pi_type3_complete(struct request *rq, unsigned int nr_bytes) in t10_pi_type3_complete() argument
|
D | blk-core.c | 1431 unsigned int nr_bytes) in blk_update_request() argument 1435 trace_block_rq_complete(req, blk_status_to_errno(error), nr_bytes); in blk_update_request() 1443 req->q->integrity.profile->complete_fn(req, nr_bytes); in blk_update_request() 1450 blk_account_io_completion(req, nr_bytes); in blk_update_request() 1455 unsigned bio_bytes = min(bio->bi_iter.bi_size, nr_bytes); in blk_update_request() 1465 nr_bytes -= bio_bytes; in blk_update_request() 1467 if (!nr_bytes) in blk_update_request()
|
/Linux-v5.4/net/rds/ |
D | rdma.c | 579 unsigned int nr_bytes; in rds_cmsg_rdma_args() local 656 nr_bytes = 0; in rds_cmsg_rdma_args() 681 nr_bytes, nr, iov->bytes, iov->addr); in rds_cmsg_rdma_args() 683 nr_bytes += iov->bytes; in rds_cmsg_rdma_args() 704 if (nr_bytes > args->remote_vec.bytes) { in rds_cmsg_rdma_args() 706 nr_bytes, in rds_cmsg_rdma_args() 711 op->op_bytes = nr_bytes; in rds_cmsg_rdma_args()
|
/Linux-v5.4/fs/proc/ |
D | vmcore.c | 112 size_t nr_bytes; in read_from_oldmem() local 123 nr_bytes = PAGE_SIZE - offset; in read_from_oldmem() 125 nr_bytes = count; in read_from_oldmem() 129 memset(buf, 0, nr_bytes); in read_from_oldmem() 133 nr_bytes, in read_from_oldmem() 137 tmp = copy_oldmem_page(pfn, buf, nr_bytes, in read_from_oldmem() 143 *ppos += nr_bytes; in read_from_oldmem() 144 count -= nr_bytes; in read_from_oldmem() 145 buf += nr_bytes; in read_from_oldmem() 146 read += nr_bytes; in read_from_oldmem()
|
/Linux-v5.4/drivers/iio/humidity/ |
D | am2315.c | 73 static u16 am2315_crc(u8 *data, u8 nr_bytes) in am2315_crc() argument 78 while (nr_bytes--) { in am2315_crc()
|
/Linux-v5.4/include/trace/events/ |
D | block.h | 118 TP_PROTO(struct request *rq, int error, unsigned int nr_bytes), 120 TP_ARGS(rq, error, nr_bytes), 134 __entry->nr_sector = nr_bytes >> 9; 137 blk_fill_rwbs(__entry->rwbs, rq->cmd_flags, nr_bytes);
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 462 bytes += ring->tx_info[ring_index].nr_bytes; in mlx4_en_process_tx_cq() 992 tx_info->nr_bytes = skb->len + (i - 1) * lso_header_size; in mlx4_en_xmit() 999 tx_info->nr_bytes = max_t(unsigned int, skb->len, ETH_ZLEN); in mlx4_en_xmit() 1002 ring->bytes += tx_info->nr_bytes; in mlx4_en_xmit() 1042 tx_info->nr_bytes, in mlx4_en_xmit() 1145 tx_info->nr_bytes = max_t(unsigned int, length, ETH_ZLEN); in mlx4_en_xmit_frame()
|
/Linux-v5.4/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()
|
/Linux-v5.4/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()
|