Searched refs:nr_bytes (Results 1 - 18 of 18) sorted by relevance

/drivers/net/wireless/b43/
H A Dmain.h36 #define P4D_BYT3S(magic, nr_bytes) u8 __p4dding##magic[nr_bytes]
37 #define P4D_BYTES(line, nr_bytes) P4D_BYT3S(line, nr_bytes)
39 #define PAD_BYTES(nr_bytes) P4D_BYTES( __LINE__ , (nr_bytes))
/drivers/net/wireless/b43legacy/
H A Dmain.h38 #define P4D_BYT3S(magic, nr_bytes) u8 __p4dding##magic[nr_bytes]
39 #define P4D_BYTES(line, nr_bytes) P4D_BYT3S(line, nr_bytes)
41 #define PAD_BYTES(nr_bytes) P4D_BYTES(__LINE__ , (nr_bytes))
/drivers/md/
H A Ddm-path-selector.h60 size_t nr_bytes);
80 size_t nr_bytes);
82 size_t nr_bytes);
H A Ddm-service-time.c259 unsigned *repeat_count, size_t nr_bytes)
271 if (!best || (st_compare_load(pi, best, nr_bytes) < 0))
283 size_t nr_bytes)
287 atomic_add(nr_bytes, &pi->in_flight_size);
293 size_t nr_bytes)
297 atomic_sub(nr_bytes, &pi->in_flight_size);
258 st_select_path(struct path_selector *ps, unsigned *repeat_count, size_t nr_bytes) argument
282 st_start_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes) argument
292 st_end_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes) argument
H A Ddm-queue-length.c172 unsigned *repeat_count, size_t nr_bytes)
201 size_t nr_bytes)
211 size_t nr_bytes)
171 ql_select_path(struct path_selector *ps, unsigned *repeat_count, size_t nr_bytes) argument
200 ql_start_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes) argument
210 ql_end_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes) argument
H A Ddm-mpath.c112 size_t nr_bytes; member in struct:dm_mpath_io
299 size_t nr_bytes)
303 path = pg->ps.type->select_path(&pg->ps, &m->repeat_count, nr_bytes);
315 static void __choose_pgpath(struct multipath *m, size_t nr_bytes) argument
329 if (!__choose_path_in_pg(m, pg, nr_bytes))
334 if (m->current_pg && !__choose_path_in_pg(m, m->current_pg, nr_bytes))
347 if (!__choose_path_in_pg(m, pg, nr_bytes)) {
386 size_t nr_bytes = blk_rq_bytes(clone); local
397 __choose_pgpath(m, nr_bytes);
420 mpio->nr_bytes
298 __choose_path_in_pg(struct multipath *m, struct priority_group *pg, size_t nr_bytes) argument
[all...]
H A Ddm-round-robin.c166 unsigned *repeat_count, size_t nr_bytes)
165 rr_select_path(struct path_selector *ps, unsigned *repeat_count, size_t nr_bytes) argument
H A Ddm.c945 unsigned int nr_bytes = info->orig->bi_iter.bi_size; local
984 blk_update_request(tio->orig, 0, nr_bytes);
/drivers/acpi/
H A Dnvs.c102 unsigned int nr_bytes; local
110 nr_bytes = PAGE_SIZE - (start & ~PAGE_MASK);
111 entry->size = (size < nr_bytes) ? size : nr_bytes;
/drivers/ide/
H A Dide-taskfile.c239 unsigned nr_bytes = min(len, cursg->length - cmd->cursg_ofs); local
249 nr_bytes = min_t(unsigned, nr_bytes, (PAGE_SIZE - offset));
257 cmd->nleft -= nr_bytes;
258 cmd->cursg_ofs += nr_bytes;
267 hwif->tp_ops->output_data(drive, cmd, buf, nr_bytes);
269 hwif->tp_ops->input_data(drive, cmd, buf, nr_bytes);
276 len -= nr_bytes;
284 unsigned int nr_bytes; local
297 nr_bytes
309 int nr_bytes = cmd->nbytes - cmd->nleft; local
[all...]
H A Dide-io.c58 unsigned int nr_bytes)
70 return blk_end_request(rq, error, nr_bytes);
115 int ide_complete_rq(ide_drive_t *drive, int error, unsigned int nr_bytes) argument
126 nr_bytes = blk_rq_sectors(rq) << 9;
128 rc = ide_end_rq(drive, rq, error, nr_bytes);
233 void ide_init_sg_cmd(struct ide_cmd *cmd, unsigned int nr_bytes) argument
235 cmd->nbytes = cmd->nleft = nr_bytes;
57 ide_end_rq(ide_drive_t *drive, struct request *rq, int error, unsigned int nr_bytes) argument
H A Dide-cd.c508 unsigned int nr_bytes = cmd->nbytes - cmd->nleft; local
511 nr_bytes -= cmd->last_xfer_len;
513 if (nr_bytes > 0) {
514 ide_complete_rq(drive, 0, nr_bytes);
/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c443 bytes += ring->tx_info[ring_index].nr_bytes;
879 tx_info->nr_bytes = skb->len + (i - 1) * lso_header_size;
886 tx_info->nr_bytes = max_t(unsigned int, skb->len, ETH_ZLEN);
889 ring->bytes += tx_info->nr_bytes;
890 netdev_tx_sent_queue(ring->tx_queue, tx_info->nr_bytes);
H A Dmlx4_en.h222 u32 nr_bytes; member in struct:mlx4_en_tx_info
/drivers/block/
H A Dswim3.c260 static bool swim3_end_request(struct floppy_state *fs, int err, unsigned int nr_bytes) argument
265 swim3_dbg(" end request, err=%d nr_bytes=%d, cur_req=%p\n",
266 err, nr_bytes, req);
269 nr_bytes = blk_rq_cur_bytes(req);
270 rc = __blk_end_request(req, err, nr_bytes);
H A Dmg_disk.c149 static bool mg_end_request(struct mg_host *host, int err, unsigned int nr_bytes) argument
151 if (__blk_end_request(host->req, err, nr_bytes))
/drivers/message/i2o/
H A Di2o_block.c419 * @nr_bytes: number of bytes to complete
425 int nr_bytes)
432 if (blk_end_request(req, error, nr_bytes))
424 i2o_block_end_request(struct request *req, int error, int nr_bytes) argument
/drivers/scsi/
H A Dsd.c716 unsigned int nr_bytes = blk_rq_bytes(rq); local
788 rq->__data_len = nr_bytes;
842 unsigned int nr_bytes = blk_rq_bytes(rq); local
882 rq->__data_len = nr_bytes;

Completed in 2170 milliseconds