/linux-4.1.27/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
|
/linux-4.1.27/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
|
/linux-4.1.27/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()
|
/linux-4.1.27/drivers/md/ |
D | dm-path-selector.h | 60 size_t nr_bytes); 80 size_t nr_bytes); 82 size_t nr_bytes);
|
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-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 | 113 size_t nr_bytes; member 300 size_t nr_bytes) in __choose_path_in_pg() argument 304 path = pg->ps.type->select_path(&pg->ps, &m->repeat_count, nr_bytes); in __choose_path_in_pg() 316 static void __choose_pgpath(struct multipath *m, size_t nr_bytes) in __choose_pgpath() argument 330 if (!__choose_path_in_pg(m, pg, nr_bytes)) in __choose_pgpath() 335 if (m->current_pg && !__choose_path_in_pg(m, m->current_pg, nr_bytes)) in __choose_pgpath() 348 if (!__choose_path_in_pg(m, pg, nr_bytes)) { in __choose_pgpath() 388 size_t nr_bytes = clone ? blk_rq_bytes(clone) : blk_rq_bytes(rq); in __multipath_map() local 398 __choose_pgpath(m, nr_bytes); in __multipath_map() 417 mpio->nr_bytes = nr_bytes; in __multipath_map() [all …]
|
D | dm-round-robin.c | 166 unsigned *repeat_count, size_t nr_bytes) in rr_select_path() argument
|
D | dm.c | 1002 unsigned int nr_bytes = info->orig->bi_iter.bi_size; in end_clone_bio() local 1041 blk_update_request(tio->orig, 0, nr_bytes); in end_clone_bio()
|
/linux-4.1.27/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()
|
/linux-4.1.27/sound/oss/ |
D | sb_ess.c | 287 (int dev, unsigned long buf, int nr_bytes, int intrflag) in ess_set_output_parms() argument 293 devc->trg_bytes_16 = nr_bytes; in ess_set_output_parms() 298 devc->trg_bytes = nr_bytes; in ess_set_output_parms() 550 (int dev, unsigned long buf, int nr_bytes, int intrflag) in ess_audio_start_input() argument 552 int count = nr_bytes; in ess_audio_start_input() 554 short c = -nr_bytes; in ess_audio_start_input() 573 (int dev, unsigned long buf, int nr_bytes, int intrflag) in ess_audio_output_block_audio1() argument 575 int count = nr_bytes; in ess_audio_output_block_audio1() 577 short c = -nr_bytes; in ess_audio_output_block_audio1() 593 (int dev, unsigned long buf, int nr_bytes, int intrflag) in ess_audio_output_block_audio2() argument [all …]
|
D | sb_audio.c | 128 static void sb_set_output_parms(int dev, unsigned long buf, int nr_bytes, in sb_set_output_parms() argument 136 devc->trg_bytes = nr_bytes; in sb_set_output_parms() 143 devc->trg_bytes_16 = nr_bytes; in sb_set_output_parms() 173 static void sb1_audio_output_block(int dev, unsigned long buf, int nr_bytes, int intrflag) in sb1_audio_output_block() argument 176 int count = nr_bytes; in sb1_audio_output_block() 199 static void sb1_audio_start_input(int dev, unsigned long buf, int nr_bytes, int intrflag) in sb1_audio_start_input() argument 202 int count = nr_bytes; in sb1_audio_start_input() 337 static void sb20_audio_output_block(int dev, unsigned long buf, int nr_bytes, in sb20_audio_output_block() argument 341 int count = nr_bytes; in sb20_audio_output_block() 373 static void sb20_audio_start_input(int dev, unsigned long buf, int nr_bytes, int intrflag) in sb20_audio_start_input() argument [all …]
|
/linux-4.1.27/fs/proc/ |
D | vmcore.c | 92 size_t nr_bytes; in read_from_oldmem() local 103 nr_bytes = PAGE_SIZE - offset; in read_from_oldmem() 105 nr_bytes = count; in read_from_oldmem() 109 memset(buf, 0, nr_bytes); in read_from_oldmem() 111 tmp = copy_oldmem_page(pfn, buf, nr_bytes, in read_from_oldmem() 116 *ppos += nr_bytes; in read_from_oldmem() 117 count -= nr_bytes; in read_from_oldmem() 118 buf += nr_bytes; in read_from_oldmem() 119 read += nr_bytes; in read_from_oldmem()
|
/linux-4.1.27/net/rds/ |
D | rdma.c | 552 unsigned int nr_bytes; in rds_cmsg_rdma_args() local 640 nr_bytes = 0; in rds_cmsg_rdma_args() 663 nr_bytes, nr, iov->bytes, iov->addr); in rds_cmsg_rdma_args() 665 nr_bytes += iov->bytes; in rds_cmsg_rdma_args() 686 if (nr_bytes > args->remote_vec.bytes) { in rds_cmsg_rdma_args() 688 nr_bytes, in rds_cmsg_rdma_args() 693 op->op_bytes = nr_bytes; in rds_cmsg_rdma_args()
|
/linux-4.1.27/block/ |
D | blk-core.c | 2444 bool blk_update_request(struct request *req, int error, unsigned int nr_bytes) in blk_update_request() argument 2448 trace_block_rq_complete(req->q, req, nr_bytes); in blk_update_request() 2499 blk_account_io_completion(req, nr_bytes); in blk_update_request() 2504 unsigned bio_bytes = min(bio->bi_iter.bi_size, nr_bytes); in blk_update_request() 2512 nr_bytes -= bio_bytes; in blk_update_request() 2514 if (!nr_bytes) in blk_update_request() 2560 unsigned int nr_bytes, in blk_update_bidi_request() argument 2563 if (blk_update_request(rq, error, nr_bytes)) in blk_update_bidi_request() 2646 unsigned int nr_bytes, unsigned int bidi_bytes) in blk_end_bidi_request() argument 2651 if (blk_update_bidi_request(rq, error, nr_bytes, bidi_bytes)) in blk_end_bidi_request() [all …]
|
D | blk.h | 68 unsigned int nr_bytes, unsigned int bidi_bytes);
|
/linux-4.1.27/include/trace/events/ |
D | block.h | 146 unsigned int nr_bytes), 148 TP_ARGS(q, rq, nr_bytes), 162 __entry->nr_sector = nr_bytes >> 9; 165 blk_fill_rwbs(__entry->rwbs, rq->cmd_flags, nr_bytes);
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 460 bytes += ring->tx_info[ring_index].nr_bytes; in mlx4_en_process_tx_cq() 895 tx_info->nr_bytes = skb->len + (i - 1) * lso_header_size; in mlx4_en_xmit() 902 tx_info->nr_bytes = max_t(unsigned int, skb->len, ETH_ZLEN); in mlx4_en_xmit() 905 ring->bytes += tx_info->nr_bytes; in mlx4_en_xmit() 906 netdev_tx_sent_queue(ring->tx_queue, tx_info->nr_bytes); in mlx4_en_xmit()
|
D | mlx4_en.h | 221 u32 nr_bytes; member
|
/linux-4.1.27/fs/ntfs/ |
D | compress.c | 329 int nr_bytes = do_sb_end - *dest_ofs; in ntfs_decompress() local 334 memset(dp_addr, 0, nr_bytes); in ntfs_decompress() 335 *dest_ofs += nr_bytes; in ntfs_decompress()
|
/linux-4.1.27/kernel/trace/ |
D | blktrace.c | 713 unsigned int nr_bytes, u32 what) in blk_add_trace_rq() argument 722 __blk_add_trace(bt, 0, nr_bytes, rq->cmd_flags, in blk_add_trace_rq() 726 __blk_add_trace(bt, blk_rq_pos(rq), nr_bytes, in blk_add_trace_rq() 759 unsigned int nr_bytes) in blk_add_trace_rq_complete() argument 761 blk_add_trace_rq(q, rq, nr_bytes, BLK_TA_COMPLETE); in blk_add_trace_rq_complete()
|
/linux-4.1.27/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()
|
/linux-4.1.27/drivers/staging/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()
|
/linux-4.1.27/include/linux/ |
D | blkdev.h | 975 unsigned int nr_bytes); 978 unsigned int nr_bytes); 983 unsigned int nr_bytes);
|
/linux-4.1.27/drivers/scsi/ |
D | sd.c | 697 unsigned int nr_bytes = blk_rq_bytes(rq); in sd_setup_discard_cmnd() local 769 rq->__data_len = nr_bytes; in sd_setup_discard_cmnd() 823 unsigned int nr_bytes = blk_rq_bytes(rq); in sd_setup_write_same_cmnd() local 863 rq->__data_len = nr_bytes; in sd_setup_write_same_cmnd()
|