Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 15 of 15) sorted by relevance

/block/partitions/
Damiga.c86 char tmp[7 + 10 + 1 + 1]; in amiga_partition() local
89 snprintf(tmp, sizeof(tmp), " RDSK (%d)", blksize * 512); in amiga_partition()
90 strlcat(state->pp_buf, tmp, PAGE_SIZE); in amiga_partition()
183 char tmp[42]; in amiga_partition() local
188 snprintf(tmp, sizeof(tmp), " (%c%c%c^%c)", in amiga_partition()
192 snprintf(tmp, sizeof(tmp), " (%c%c%c%c)", in amiga_partition()
195 strlcat(state->pp_buf, tmp, PAGE_SIZE); in amiga_partition()
196 snprintf(tmp, sizeof(tmp), "(res %d spb %d)", in amiga_partition()
199 strlcat(state->pp_buf, tmp, PAGE_SIZE); in amiga_partition()
Dmsdos.c266 char tmp[1 + BDEVNAME_SIZE + 10 + 11 + 1]; in parse_solaris_x86() local
268 snprintf(tmp, sizeof(tmp), " %s%d: <solaris:", state->name, origin); in parse_solaris_x86()
269 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_solaris_x86()
272 char tmp[64]; in parse_solaris_x86() local
274 snprintf(tmp, sizeof(tmp), " cannot handle version %d vtoc>\n", in parse_solaris_x86()
276 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_solaris_x86()
284 char tmp[3 + 10 + 1 + 1]; in parse_solaris_x86() local
288 snprintf(tmp, sizeof(tmp), " [s%d]", i); in parse_solaris_x86()
289 strlcat(state->pp_buf, tmp, PAGE_SIZE); in parse_solaris_x86()
361 char tmp[64]; in parse_bsd() local
[all …]
Daix.c192 char tmp[64]; in aix_partition() local
199 snprintf(tmp, sizeof(tmp), in aix_partition()
205 snprintf(tmp, sizeof(tmp), in aix_partition()
209 strlcat(state->pp_buf, tmp, PAGE_SIZE); in aix_partition()
270 char tmp[70]; in aix_partition() local
275 snprintf(tmp, sizeof(tmp), " <%s>\n", in aix_partition()
277 strlcat(state->pp_buf, tmp, PAGE_SIZE); in aix_partition()
286 char tmp[sizeof(n[i].name) + 1]; // null char in aix_partition() local
288 snprintf(tmp, sizeof(tmp), "%s", n[i].name); in aix_partition()
291 tmp, lvip[i].pps_found); in aix_partition()
Dsysv68.c57 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()
Dibm.c141 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 …]
Dcheck.h41 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()
Dcmdline.c29 char tmp[sizeof(info->volname) + 4]; in add_part() local
45 snprintf(tmp, sizeof(tmp), "(%s)", info->volname); in add_part()
46 strlcat(state->pp_buf, tmp, PAGE_SIZE); in add_part()
Dldm.c659 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/
Dblk-cgroup-rwstat.h109 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()
Dblk-throttle.c839 u64 bytes_trim, tmp; in throtl_trim_slice() local
867 tmp = tg_bps_limit(tg, rw) * tg->td->throtl_slice * nr_slices; in throtl_trim_slice()
868 do_div(tmp, HZ); in throtl_trim_slice()
869 bytes_trim = tmp; in throtl_trim_slice()
901 u64 tmp; in tg_with_in_iops_limit() local
921 tmp = (u64)iops_limit * jiffy_elapsed_rnd; in tg_with_in_iops_limit()
922 do_div(tmp, HZ); in tg_with_in_iops_limit()
924 if (tmp > UINT_MAX) in tg_with_in_iops_limit()
927 io_allowed = tmp; in tg_with_in_iops_limit()
2120 struct latency_bucket *tmp = &td->tmp_buckets[rw][i]; in throtl_update_latency_buckets() local
[all …]
Dioctl.c95 struct block_device *tmp; in blkdev_reread_part() local
111 tmp = blkdev_get_by_dev(bdev->bd_dev, mode, NULL); in blkdev_reread_part()
112 if (IS_ERR(tmp)) in blkdev_reread_part()
113 return PTR_ERR(tmp); in blkdev_reread_part()
114 blkdev_put(tmp, mode); in blkdev_reread_part()
Dblk-cgroup.c827 struct blkg_iostat tmp; in blkcg_fill_root_iostats() local
830 memset(&tmp, 0, sizeof(tmp)); in blkcg_fill_root_iostats()
835 tmp.ios[BLKG_IOSTAT_READ] += in blkcg_fill_root_iostats()
837 tmp.ios[BLKG_IOSTAT_WRITE] += in blkcg_fill_root_iostats()
839 tmp.ios[BLKG_IOSTAT_DISCARD] += in blkcg_fill_root_iostats()
842 tmp.bytes[BLKG_IOSTAT_READ] += in blkcg_fill_root_iostats()
844 tmp.bytes[BLKG_IOSTAT_WRITE] += in blkcg_fill_root_iostats()
846 tmp.bytes[BLKG_IOSTAT_DISCARD] += in blkcg_fill_root_iostats()
850 blkg_iostat_set(&blkg->iostat.cur, &tmp); in blkcg_fill_root_iostats()
Dblk-merge.c72 sector_t tmp; in blk_bio_discard_split() local
100 tmp = bio->bi_iter.bi_sector + split_sectors - alignment; in blk_bio_discard_split()
101 tmp = sector_div(tmp, granularity); in blk_bio_discard_split()
103 if (split_sectors > tmp) in blk_bio_discard_split()
104 split_sectors -= tmp; in blk_bio_discard_split()
Dblk-mq.c2214 struct request *tmp; in blk_add_rq_to_plug() local
2216 tmp = list_first_entry(&plug->mq_list, struct request, in blk_add_rq_to_plug()
2218 if (tmp->q != rq->q) in blk_add_rq_to_plug()
2682 LIST_HEAD(tmp); in blk_mq_hctx_notify_dead()
2694 list_splice_init(&ctx->rq_lists[type], &tmp); in blk_mq_hctx_notify_dead()
2699 if (list_empty(&tmp)) in blk_mq_hctx_notify_dead()
2703 list_splice_tail_init(&tmp, &hctx->dispatch); in blk_mq_hctx_notify_dead()
3254 struct blk_mq_hw_ctx *hctx = NULL, *tmp; in blk_mq_alloc_and_init_hctx() local
3258 list_for_each_entry(tmp, &q->unused_hctx_list, hctx_list) { in blk_mq_alloc_and_init_hctx()
3259 if (tmp->numa_node == node) { in blk_mq_alloc_and_init_hctx()
[all …]
Dbfq-cgroup.c1220 struct blkg_rwstat_sample tmp; in bfqg_prfill_sectors_recursive() local
1223 offsetof(struct bfq_group, stats.bytes), &tmp); in bfqg_prfill_sectors_recursive()
1226 (tmp.cnt[BLKG_RWSTAT_READ] + tmp.cnt[BLKG_RWSTAT_WRITE]) >> 9); in bfqg_prfill_sectors_recursive()