/drivers/net/wireless/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/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 242 if (nr_bytes > PAGE_SIZE) in ide_pio_bytes() 243 nr_bytes = PAGE_SIZE; in ide_pio_bytes() 258 cmd->nleft -= nr_bytes; in ide_pio_bytes() 259 cmd->cursg_ofs += nr_bytes; in ide_pio_bytes() 268 hwif->tp_ops->output_data(drive, cmd, buf, nr_bytes); in ide_pio_bytes() 270 hwif->tp_ops->input_data(drive, cmd, buf, nr_bytes); in ide_pio_bytes() 277 len -= nr_bytes; in ide_pio_bytes() 285 unsigned int nr_bytes; in ide_pio_datablock() local 298 nr_bytes = min_t(unsigned, cmd->nleft, drive->mult_count << 9); 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/md/ |
D | dm-service-time.c | 259 unsigned *repeat_count, size_t nr_bytes) in st_select_path() argument 271 if (!best || (st_compare_load(pi, best, nr_bytes) < 0)) in st_select_path() 283 size_t nr_bytes) in st_start_io() argument 287 atomic_add(nr_bytes, &pi->in_flight_size); in st_start_io() 293 size_t nr_bytes) in st_end_io() argument 297 atomic_sub(nr_bytes, &pi->in_flight_size); in st_end_io()
|
D | dm-path-selector.h | 60 size_t nr_bytes); 80 size_t nr_bytes); 82 size_t nr_bytes);
|
D | dm-queue-length.c | 172 unsigned *repeat_count, size_t nr_bytes) in ql_select_path() argument 201 size_t nr_bytes) in ql_start_io() argument 211 size_t nr_bytes) in ql_end_io() argument
|
D | dm-mpath.c | 114 size_t nr_bytes; member 295 size_t nr_bytes) in __choose_path_in_pg() argument 299 path = pg->ps.type->select_path(&pg->ps, &m->repeat_count, nr_bytes); in __choose_path_in_pg() 311 static void __choose_pgpath(struct multipath *m, size_t nr_bytes) in __choose_pgpath() argument 323 if (!__choose_path_in_pg(m, pg, nr_bytes)) in __choose_pgpath() 328 if (m->current_pg && !__choose_path_in_pg(m, m->current_pg, nr_bytes)) in __choose_pgpath() 341 if (!__choose_path_in_pg(m, pg, nr_bytes)) { in __choose_pgpath() 375 size_t nr_bytes = blk_rq_bytes(clone); in map_io() local 386 __choose_pgpath(m, nr_bytes); in map_io() 413 mpio->nr_bytes = nr_bytes; in map_io() [all …]
|
D | dm-round-robin.c | 166 unsigned *repeat_count, size_t nr_bytes) in rr_select_path() argument
|
D | dm.c | 658 unsigned int nr_bytes = info->orig->bi_size; in end_clone_bio() local 697 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/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 363 bytes += ring->tx_info[ring_index].nr_bytes; in mlx4_en_process_tx_cq() 697 tx_info->nr_bytes = skb->len + (i - 1) * lso_header_size; in mlx4_en_xmit() 705 tx_info->nr_bytes = max_t(unsigned int, skb->len, ETH_ZLEN); in mlx4_en_xmit() 709 ring->bytes += tx_info->nr_bytes; in mlx4_en_xmit() 710 netdev_tx_sent_queue(ring->tx_queue, tx_info->nr_bytes); in mlx4_en_xmit()
|
D | mlx4_en.h | 208 u32 nr_bytes; member
|
/drivers/block/ |
D | swim3.c | 259 static bool swim3_end_request(struct floppy_state *fs, int err, unsigned int nr_bytes) in swim3_end_request() argument 265 err, nr_bytes, req); in swim3_end_request() 268 nr_bytes = blk_rq_cur_bytes(req); in swim3_end_request() 269 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/message/i2o/ |
D | i2o_block.c | 425 int nr_bytes) in i2o_block_end_request() argument 432 if (blk_end_request(req, error, nr_bytes)) in i2o_block_end_request()
|
/drivers/scsi/ |
D | sd.c | 667 unsigned int nr_bytes = blk_rq_bytes(rq); in sd_setup_discard_cmnd() local 729 rq->__data_len = nr_bytes; in sd_setup_discard_cmnd() 783 unsigned int nr_bytes = blk_rq_bytes(rq); in sd_setup_write_same_cmnd() local 811 rq->__data_len = nr_bytes; in sd_setup_write_same_cmnd()
|