/block/partitions/ |
D | amiga.c | 85 char tmp[7 + 10 + 1 + 1]; in amiga_partition() local 88 snprintf(tmp, sizeof(tmp), " RDSK (%d)", blksize * 512); in amiga_partition() 89 strlcat(state->pp_buf, tmp, PAGE_SIZE); in amiga_partition() 182 char tmp[42]; in amiga_partition() local 187 snprintf(tmp, sizeof(tmp), " (%c%c%c^%c)", in amiga_partition() 191 snprintf(tmp, sizeof(tmp), " (%c%c%c%c)", in amiga_partition() 194 strlcat(state->pp_buf, tmp, PAGE_SIZE); in amiga_partition() 195 snprintf(tmp, sizeof(tmp), "(res %d spb %d)", in amiga_partition() 198 strlcat(state->pp_buf, tmp, PAGE_SIZE); in amiga_partition()
|
D | msdos.c | 267 char tmp[1 + BDEVNAME_SIZE + 10 + 11 + 1]; in parse_solaris_x86() local 269 snprintf(tmp, sizeof(tmp), " %s%d: <solaris:", state->name, origin); in parse_solaris_x86() 270 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_solaris_x86() 273 char tmp[64]; in parse_solaris_x86() local 275 snprintf(tmp, sizeof(tmp), " cannot handle version %d vtoc>\n", in parse_solaris_x86() 277 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_solaris_x86() 285 char tmp[3 + 10 + 1 + 1]; in parse_solaris_x86() local 289 snprintf(tmp, sizeof(tmp), " [s%d]", i); in parse_solaris_x86() 290 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_solaris_x86() 362 char tmp[64]; in parse_bsd() local [all …]
|
D | aix.c | 176 char tmp[64]; in aix_partition() local 183 snprintf(tmp, sizeof(tmp), in aix_partition() 189 snprintf(tmp, sizeof(tmp), in aix_partition() 193 strlcat(state->pp_buf, tmp, PAGE_SIZE); in aix_partition() 254 char tmp[70]; in aix_partition() local 259 snprintf(tmp, sizeof(tmp), " <%s>\n", in aix_partition() 261 strlcat(state->pp_buf, tmp, PAGE_SIZE); in aix_partition() 270 char tmp[sizeof(n[i].name) + 1]; // null char in aix_partition() local 272 snprintf(tmp, sizeof(tmp), "%s", n[i].name); in aix_partition() 275 tmp, lvip[i].pps_found); in aix_partition()
|
D | sysv68.c | 57 char tmp[64]; in sysv68_partition() local 77 snprintf(tmp, sizeof(tmp), "sysV68: %s(s%u)", state->name, slices); in sysv68_partition() 78 strlcat(state->pp_buf, tmp, PAGE_SIZE); in sysv68_partition() 87 snprintf(tmp, sizeof(tmp), "(s%u)", i); in sysv68_partition() 88 strlcat(state->pp_buf, tmp, PAGE_SIZE); in sysv68_partition()
|
D | ibm.c | 141 char tmp[64]; in find_vol1_partitions() local 148 snprintf(tmp, sizeof(tmp), "VOL1/%8s:", name); in find_vol1_partitions() 149 strlcat(state->pp_buf, tmp, PAGE_SIZE); in find_vol1_partitions() 205 char tmp[64]; in find_lnx1_partitions() local 208 snprintf(tmp, sizeof(tmp), "LNX1/%8s:", name); in find_lnx1_partitions() 209 strlcat(state->pp_buf, tmp, PAGE_SIZE); in find_lnx1_partitions() 250 char tmp[64]; in find_cms1_partitions() local 259 snprintf(tmp, sizeof(tmp), "CMS1/%8s(MDSK):", name); in find_cms1_partitions() 260 strlcat(state->pp_buf, tmp, PAGE_SIZE); in find_cms1_partitions() 265 snprintf(tmp, sizeof(tmp), "CMS1/%8s:", name); in find_cms1_partitions() [all …]
|
D | check.h | 41 char tmp[1 + BDEVNAME_SIZE + 10 + 1]; in put_partition() local 45 snprintf(tmp, sizeof(tmp), " %s%d", p->name, n); in put_partition() 46 strlcat(p->pp_buf, tmp, PAGE_SIZE); in put_partition()
|
D | cmdline.c | 258 char tmp[sizeof(info->volname) + 4]; in add_part() local 273 snprintf(tmp, sizeof(tmp), "(%s)", info->volname); in add_part() 274 strlcat(state->pp_buf, tmp, PAGE_SIZE); in add_part()
|
D | ldm.c | 659 u64 tmp = 0; in ldm_get_vnum() local 668 tmp = (tmp << 8) | *block++; in ldm_get_vnum() 672 return tmp; in ldm_get_vnum() 1299 struct list_head *item, *tmp; in ldm_frag_free() local 1303 list_for_each_safe (item, tmp, list) in ldm_frag_free() 1414 struct list_head *item, *tmp; in ldm_free_vblks() local 1418 list_for_each_safe (item, tmp, lh) in ldm_free_vblks()
|
/block/ |
D | blk-cgroup-rwstat.h | 109 struct blkg_rwstat_sample tmp = { }; in blkg_rwstat_total() local 111 blkg_rwstat_read(rwstat, &tmp); in blkg_rwstat_total() 112 return tmp.cnt[BLKG_RWSTAT_READ] + tmp.cnt[BLKG_RWSTAT_WRITE]; in blkg_rwstat_total()
|
D | blk-throttle.c | 845 u64 bytes_trim, tmp; in throtl_trim_slice() local 873 tmp = tg_bps_limit(tg, rw) * tg->td->throtl_slice * nr_slices; in throtl_trim_slice() 874 do_div(tmp, HZ); in throtl_trim_slice() 875 bytes_trim = tmp; in throtl_trim_slice() 907 u64 tmp; in tg_with_in_iops_limit() local 927 tmp = (u64)iops_limit * jiffy_elapsed_rnd; in tg_with_in_iops_limit() 928 do_div(tmp, HZ); in tg_with_in_iops_limit() 930 if (tmp > UINT_MAX) in tg_with_in_iops_limit() 933 io_allowed = tmp; in tg_with_in_iops_limit() 2126 struct latency_bucket *tmp = &td->tmp_buckets[rw][i]; in throtl_update_latency_buckets() local [all …]
|
D | ioctl.c | 90 struct block_device *tmp; in blkdev_reread_part() local 106 tmp = blkdev_get_by_dev(bdev->bd_dev, mode, NULL); in blkdev_reread_part() 107 if (IS_ERR(tmp)) in blkdev_reread_part() 108 return PTR_ERR(tmp); in blkdev_reread_part() 109 blkdev_put(tmp, mode); in blkdev_reread_part()
|
D | blk-cgroup.c | 869 struct blkg_iostat tmp; in blkcg_fill_root_iostats() local 873 memset(&tmp, 0, sizeof(tmp)); in blkcg_fill_root_iostats() 878 tmp.ios[BLKG_IOSTAT_READ] += in blkcg_fill_root_iostats() 880 tmp.ios[BLKG_IOSTAT_WRITE] += in blkcg_fill_root_iostats() 882 tmp.ios[BLKG_IOSTAT_DISCARD] += in blkcg_fill_root_iostats() 885 tmp.bytes[BLKG_IOSTAT_READ] += in blkcg_fill_root_iostats() 887 tmp.bytes[BLKG_IOSTAT_WRITE] += in blkcg_fill_root_iostats() 889 tmp.bytes[BLKG_IOSTAT_DISCARD] += in blkcg_fill_root_iostats() 894 blkg_iostat_set(&blkg->iostat.cur, &tmp); in blkcg_fill_root_iostats()
|
D | blk-merge.c | 70 sector_t tmp; in blk_bio_discard_split() local 98 tmp = bio->bi_iter.bi_sector + split_sectors - alignment; in blk_bio_discard_split() 99 tmp = sector_div(tmp, granularity); in blk_bio_discard_split() 101 if (split_sectors > tmp) in blk_bio_discard_split() 102 split_sectors -= tmp; in blk_bio_discard_split()
|
D | blk-mq.c | 2142 struct request *tmp; in blk_add_rq_to_plug() local 2144 tmp = list_first_entry(&plug->mq_list, struct request, in blk_add_rq_to_plug() 2146 if (tmp->q != rq->q) in blk_add_rq_to_plug() 2615 LIST_HEAD(tmp); in blk_mq_hctx_notify_dead() 2627 list_splice_init(&ctx->rq_lists[type], &tmp); in blk_mq_hctx_notify_dead() 2632 if (list_empty(&tmp)) in blk_mq_hctx_notify_dead() 2635 list_for_each_entry_safe(rq, next, &tmp, queuelist) in blk_mq_hctx_notify_dead() 3170 struct blk_mq_hw_ctx *hctx = NULL, *tmp; in blk_mq_alloc_and_init_hctx() local 3174 list_for_each_entry(tmp, &q->unused_hctx_list, hctx_list) { in blk_mq_alloc_and_init_hctx() 3175 if (tmp->numa_node == node) { in blk_mq_alloc_and_init_hctx() [all …]
|
D | bfq-cgroup.c | 1230 struct blkg_rwstat_sample tmp; in bfqg_prfill_sectors_recursive() local 1233 offsetof(struct bfq_group, stats.bytes), &tmp); in bfqg_prfill_sectors_recursive() 1236 (tmp.cnt[BLKG_RWSTAT_READ] + tmp.cnt[BLKG_RWSTAT_WRITE]) >> 9); in bfqg_prfill_sectors_recursive()
|