Searched refs:bytes (Results 1 – 4 of 4) sorted by relevance
/block/ |
D | scsi_ioctl.c | 435 unsigned int in_len, out_len, bytes, opcode, cmdlen; in sg_scsi_ioctl() local 453 bytes = max(in_len, out_len); in sg_scsi_ioctl() 454 if (bytes) { in sg_scsi_ioctl() 455 buffer = kzalloc(bytes, q->bounce_gfp | GFP_USER| __GFP_NOWARN); in sg_scsi_ioctl() 507 if (bytes && blk_rq_map_kern(q, rq, buffer, bytes, __GFP_WAIT)) { in sg_scsi_ioctl() 523 bytes = (OMAX_SB_LEN > rq->sense_len) ? in sg_scsi_ioctl() 525 if (copy_to_user(sic->data, rq->sense, bytes)) in sg_scsi_ioctl()
|
D | blk-core.c | 1619 static bool should_fail_request(struct hd_struct *part, unsigned int bytes) in should_fail_request() argument 1621 return part->make_it_fail && should_fail(&fail_make_request, bytes); in should_fail_request() 1637 unsigned int bytes) in should_fail_request() argument 1994 unsigned int bytes = 0; in blk_rq_err_bytes() local 2010 bytes += bio->bi_size; in blk_rq_err_bytes() 2014 BUG_ON(blk_rq_bytes(rq) && !bytes); in blk_rq_err_bytes() 2015 return bytes; in blk_rq_err_bytes() 2019 static void blk_account_io_completion(struct request *req, unsigned int bytes) in blk_account_io_completion() argument 2028 part_stat_add(cpu, part, sectors[rw], bytes >> 9); in blk_account_io_completion()
|
D | blk-throttle.c | 677 static void throtl_update_dispatch_stats(struct blkcg_gq *blkg, u64 bytes, in throtl_update_dispatch_stats() argument 698 blkg_rwstat_add(&stats_cpu->service_bytes, rw, bytes); in throtl_update_dispatch_stats()
|
D | cfq-iosched.c | 672 uint64_t bytes, int rw) in cfqg_stats_update_dispatch() argument 674 blkg_stat_add(&cfqg->stats.sectors, bytes >> 9); in cfqg_stats_update_dispatch() 676 blkg_rwstat_add(&cfqg->stats.service_bytes, rw, bytes); in cfqg_stats_update_dispatch() 774 uint64_t bytes, int rw) { } in cfqg_stats_update_dispatch() argument
|