Home
last modified time | relevance | path

Searched refs:args (Results 1 – 5 of 5) sorted by relevance

/block/
Dblk-zoned.c326 struct zone_report_args *args = data; in blkdev_copy_zone_to_user() local
328 if (copy_to_user(&args->zones[idx], zone, sizeof(struct blk_zone))) in blkdev_copy_zone_to_user()
341 struct zone_report_args args; in blkdev_report_zones_ioctl() local
362 args.zones = argp + sizeof(struct blk_zone_report); in blkdev_report_zones_ioctl()
364 blkdev_copy_zone_to_user, &args); in blkdev_report_zones_ioctl()
476 struct blk_revalidate_zone_args *args = data; in blk_revalidate_zone_cb() local
477 struct gendisk *disk = args->disk; in blk_revalidate_zone_cb()
504 args->zone_sectors = zone->len; in blk_revalidate_zone_cb()
505 args->nr_zones = div64_u64(capacity + zone->len - 1, zone->len); in blk_revalidate_zone_cb()
506 } else if (zone->start + args->zone_sectors < capacity) { in blk_revalidate_zone_cb()
[all …]
Dbfq-iosched.h1096 #define bfq_log_bfqq(bfqd, bfqq, fmt, args...) do { \ argument
1104 bfq_bfqq_sync((bfqq)) ? 'S' : 'A', ##args); \
1107 #define bfq_log_bfqg(bfqd, bfqg, fmt, args...) do { \ argument
1109 bfqg_to_blkg(bfqg)->blkcg, fmt, ##args); \
1114 #define bfq_log_bfqq(bfqd, bfqq, fmt, args...) do { \ argument
1121 ##args); \
1123 #define bfq_log_bfqg(bfqd, bfqg, fmt, args...) do {} while (0) argument
1127 #define bfq_log(bfqd, fmt, args...) \ argument
1128 blk_add_trace_msg((bfqd)->queue, "bfq " fmt, ##args)
Dblk-iocost.c3223 substring_t args[MAX_OPT_ARGS]; in ioc_qos_write() local
3231 switch (match_token(p, qos_ctrl_tokens, args)) { in ioc_qos_write()
3233 match_u64(&args[0], &v); in ioc_qos_write()
3237 match_strlcpy(buf, &args[0], sizeof(buf)); in ioc_qos_write()
3247 tok = match_token(p, qos_tokens, args); in ioc_qos_write()
3251 if (match_strlcpy(buf, &args[0], sizeof(buf)) >= in ioc_qos_write()
3262 if (match_u64(&args[0], &v)) in ioc_qos_write()
3268 if (match_strlcpy(buf, &args[0], sizeof(buf)) >= in ioc_qos_write()
3389 substring_t args[MAX_OPT_ARGS]; in ioc_cost_model_write() local
3397 switch (match_token(p, cost_ctrl_tokens, args)) { in ioc_cost_model_write()
[all …]
Dblk-throttle.c373 #define throtl_log(sq, fmt, args...) do { \ argument
382 tg_to_blkg(__tg)->blkcg, "throtl " fmt, ##args);\
384 blk_add_trace_msg(__td->queue, "throtl " fmt, ##args); \
/block/partitions/
Dldm.c44 va_list args; in _ldm_printk() local
46 va_start (args, fmt); in _ldm_printk()
49 vaf.va = &args; in _ldm_printk()
53 va_end(args); in _ldm_printk()