/drivers/net/wireless/broadcom/b43legacy/ |
D | main.h | 38 #define P4D_BYT3S(magic, nr_bytes) u8 __p4dding##magic[nr_bytes] argument 39 #define P4D_BYTES(line, nr_bytes) P4D_BYT3S(line, nr_bytes) argument 41 #define PAD_BYTES(nr_bytes) P4D_BYTES(__LINE__ , (nr_bytes)) argument
|
/drivers/net/wireless/broadcom/b43/ |
D | main.h | 36 #define P4D_BYT3S(magic, nr_bytes) u8 __p4dding##magic[nr_bytes] argument 37 #define P4D_BYTES(line, nr_bytes) P4D_BYT3S(line, nr_bytes) argument 39 #define PAD_BYTES(nr_bytes) P4D_BYTES( __LINE__ , (nr_bytes)) argument
|
/drivers/ide/ |
D | ide-taskfile.c | 239 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() 257 cmd->nleft -= nr_bytes; in ide_pio_bytes() 258 cmd->cursg_ofs += nr_bytes; in ide_pio_bytes() 267 hwif->tp_ops->output_data(drive, cmd, buf, nr_bytes); in ide_pio_bytes() 269 hwif->tp_ops->input_data(drive, cmd, buf, nr_bytes); in ide_pio_bytes() 276 len -= nr_bytes; in ide_pio_bytes() 284 unsigned int nr_bytes; in ide_pio_datablock() local 297 nr_bytes = min_t(unsigned, cmd->nleft, drive->mult_count << 9); in ide_pio_datablock() 299 nr_bytes = SECTOR_SIZE; in ide_pio_datablock() [all …]
|
D | ide-io.c | 58 unsigned int nr_bytes) in ide_end_rq() argument 70 return blk_end_request(rq, error, nr_bytes); in ide_end_rq() 115 int ide_complete_rq(ide_drive_t *drive, int error, unsigned int nr_bytes) in ide_complete_rq() argument 126 nr_bytes = blk_rq_sectors(rq) << 9; in ide_complete_rq() 128 rc = ide_end_rq(drive, rq, error, nr_bytes); in ide_complete_rq() 233 void ide_init_sg_cmd(struct ide_cmd *cmd, unsigned int nr_bytes) in ide_init_sg_cmd() argument 235 cmd->nbytes = cmd->nleft = nr_bytes; in ide_init_sg_cmd()
|
D | ide-cd.c | 508 unsigned int nr_bytes = cmd->nbytes - cmd->nleft; in ide_cd_error_cmd() local 511 nr_bytes -= cmd->last_xfer_len; in ide_cd_error_cmd() 513 if (nr_bytes > 0) { in ide_cd_error_cmd() 514 ide_complete_rq(drive, 0, nr_bytes); in ide_cd_error_cmd()
|
/drivers/misc/mic/scif/ |
D | scif_rma_list.c | 90 u64 end_va_window, end_va_req = start_va_req + req->nr_bytes; in scif_query_tcw() 92 if (!req->nr_bytes) in scif_query_tcw() 123 req->nr_bytes += in scif_query_tcw() 128 req->nr_bytes += end_va_window - end_va_req; in scif_query_tcw() 149 u64 tmp_min, nr_bytes_left = req->nr_bytes; in scif_query_window() 151 if (!req->nr_bytes) in scif_query_window() 166 if (nr_bytes_left == req->nr_bytes) in scif_query_window()
|
D | scif_rma_list.h | 38 size_t nr_bytes; member
|
D | scif_mmap.c | 43 req.nr_bytes = recv_window->nr_pages << PAGE_SHIFT; in scif_recv_munmap() 247 req.nr_bytes = len; in scif_get_pages() 573 req.nr_bytes = vma->vm_end - vma->vm_start; in scif_munmap() 645 req.nr_bytes = vma->vm_end - vma->vm_start; in scif_mmap()
|
D | scif_dma.c | 770 size_t *nr_bytes, struct scif_window_iter *iter) in scif_off_to_dma_addr() argument 780 if (nr_bytes) in scif_off_to_dma_addr() 781 *nr_bytes = PAGE_SIZE - page_off; in scif_off_to_dma_addr() 798 if (nr_bytes) in scif_off_to_dma_addr() 799 *nr_bytes = end - off; in scif_off_to_dma_addr() 1703 remote_req.nr_bytes = len; in scif_rma_copy() 1733 req.nr_bytes = ALIGN(len + (addr & ~PAGE_MASK), in scif_rma_copy() 1747 req.nr_bytes, req.prot, in scif_rma_copy() 1776 req.nr_bytes = len; in scif_rma_copy()
|
D | scif_rma.h | 376 size_t *nr_bytes,
|
D | scif_rma.c | 1203 req.nr_bytes = recv_window->nr_pages << PAGE_SHIFT; in scif_recv_unreg() 1746 req.nr_bytes = len; in scif_unregister()
|
/drivers/md/ |
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 289 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-path-selector.h | 55 size_t nr_bytes); 75 size_t nr_bytes); 77 size_t nr_bytes);
|
D | dm-mpath.c | 113 size_t nr_bytes; member 406 size_t nr_bytes) in choose_path_in_pg() argument 412 path = pg->ps.type->select_path(&pg->ps, nr_bytes); in choose_path_in_pg() 429 static struct pgpath *choose_pgpath(struct multipath *m, size_t nr_bytes) in choose_pgpath() argument 451 pgpath = choose_path_in_pg(m, pg, nr_bytes); in choose_pgpath() 460 pgpath = choose_path_in_pg(m, pg, nr_bytes); in choose_pgpath() 475 pgpath = choose_path_in_pg(m, pg, nr_bytes); in choose_pgpath() 543 size_t nr_bytes = clone ? blk_rq_bytes(clone) : blk_rq_bytes(rq); in __multipath_map() local 551 pgpath = choose_pgpath(m, nr_bytes); in __multipath_map() 569 mpio->nr_bytes = nr_bytes; in __multipath_map() [all …]
|
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-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 | 163 unsigned int nr_bytes = info->orig->bi_iter.bi_size; in end_clone_bio() local 203 blk_update_request(tio->orig, 0, nr_bytes); in end_clone_bio()
|
/drivers/acpi/ |
D | nvs.c | 102 unsigned int nr_bytes; in suspend_nvs_register() local 110 nr_bytes = PAGE_SIZE - (start & ~PAGE_MASK); in suspend_nvs_register() 111 entry->size = (size < nr_bytes) ? size : nr_bytes; in suspend_nvs_register()
|
/drivers/iio/humidity/ |
D | am2315.c | 76 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/ |
D | en_tx.c | 480 bytes += ring->tx_info[ring_index].nr_bytes; in mlx4_en_process_tx_cq() 984 tx_info->nr_bytes = skb->len + (i - 1) * lso_header_size; in mlx4_en_xmit() 991 tx_info->nr_bytes = max_t(unsigned int, skb->len, ETH_ZLEN); in mlx4_en_xmit() 994 ring->bytes += tx_info->nr_bytes; in mlx4_en_xmit() 995 netdev_tx_sent_queue(ring->tx_queue, tx_info->nr_bytes); in mlx4_en_xmit() 1135 tx_info->nr_bytes = max_t(unsigned int, length, ETH_ZLEN); in mlx4_en_xmit_frame() 1157 ring->bytes += tx_info->nr_bytes; in mlx4_en_xmit_frame()
|
D | mlx4_en.h | 230 u32 nr_bytes; member
|
/drivers/block/ |
D | swim3.c | 260 static bool swim3_end_request(struct floppy_state *fs, int err, unsigned int nr_bytes) in swim3_end_request() argument 266 err, nr_bytes, req); in swim3_end_request() 269 nr_bytes = blk_rq_cur_bytes(req); in swim3_end_request() 270 rc = __blk_end_request(req, err, nr_bytes); in swim3_end_request()
|
D | mg_disk.c | 149 static bool mg_end_request(struct mg_host *host, int err, unsigned int nr_bytes) in mg_end_request() argument 151 if (__blk_end_request(host->req, err, nr_bytes)) in mg_end_request()
|
/drivers/scsi/ |
D | sd.c | 721 unsigned int nr_bytes = blk_rq_bytes(rq); in sd_setup_discard_cmnd() local 793 rq->__data_len = nr_bytes; in sd_setup_discard_cmnd() 847 unsigned int nr_bytes = blk_rq_bytes(rq); in sd_setup_write_same_cmnd() local 887 rq->__data_len = nr_bytes; in sd_setup_write_same_cmnd()
|
/drivers/nvme/host/ |
D | core.c | 251 unsigned int nr_bytes = blk_rq_bytes(req); in nvme_setup_discard() local 258 range->nlb = cpu_to_le32(nr_bytes >> ns->lba_shift); in nvme_setup_discard() 277 req->__data_len = nr_bytes; in nvme_setup_discard()
|