Lines Matching refs:bounds

161     const char *device, int bounds, const int status)  in printheader()  argument
210 xo_emit_h(xo, "{P: }{Lwc:Bounds}{:bounds/%d}\n", bounds); in printheader()
268 writebounds(int savedirfd, int bounds) in writebounds() argument
279 printf("bounds number: %d\n", bounds); in writebounds()
281 fprintf(fp, "%d\n", bounds); in writebounds()
310 int savedirfd, const char *infoname, const char *device, int bounds, in write_header_info() argument
334 printheader(xostdout, kdh, device, bounds, status); in write_header_info()
336 printheader(xoinfo, kdh, device, bounds, status); in write_header_info()
357 saved_dump_size(int savedirfd, int bounds) in saved_dump_size() argument
364 (void)snprintf(path, sizeof(path), "info.%d", bounds); in saved_dump_size()
366 (void)snprintf(path, sizeof(path), "vmcore.%d", bounds); in saved_dump_size()
368 (void)snprintf(path, sizeof(path), "vmcore.%d.gz", bounds); in saved_dump_size()
370 (void)snprintf(path, sizeof(path), "vmcore.%d.zst", bounds); in saved_dump_size()
372 (void)snprintf(path, sizeof(path), "textdump.tar.%d", bounds); in saved_dump_size()
374 (void)snprintf(path, sizeof(path), "textdump.tar.%d.gz", bounds); in saved_dump_size()
381 saved_dump_remove(int savedirfd, int bounds) in saved_dump_remove() argument
385 (void)snprintf(path, sizeof(path), "info.%d", bounds); in saved_dump_remove()
387 (void)snprintf(path, sizeof(path), "vmcore.%d", bounds); in saved_dump_remove()
389 (void)snprintf(path, sizeof(path), "vmcore.%d.gz", bounds); in saved_dump_remove()
391 (void)snprintf(path, sizeof(path), "vmcore.%d.zst", bounds); in saved_dump_remove()
393 (void)snprintf(path, sizeof(path), "textdump.tar.%d", bounds); in saved_dump_remove()
395 (void)snprintf(path, sizeof(path), "textdump.tar.%d.gz", bounds); in saved_dump_remove()
397 (void)snprintf(path, sizeof(path), "livecore.%d", bounds); in saved_dump_remove()
399 (void)snprintf(path, sizeof(path), "livecore.%d.gz", bounds); in saved_dump_remove()
401 (void)snprintf(path, sizeof(path), "livecore.%d.zst", bounds); in saved_dump_remove()
428 check_space(const char *savedir, int savedirfd, off_t dumpsize, int bounds) in check_space() argument
470 needed -= saved_dump_size(savedirfd, bounds); in check_space()
754 int bounds; in DoLiveFile() local
757 bounds = getbounds(savedirfd); in DoLiveFile()
862 printheader(xostdout, &kdhl, device, bounds, -1); in DoLiveFile()
867 writebounds(savedirfd, bounds + 1); in DoLiveFile()
868 saved_dump_remove(savedirfd, bounds); in DoLiveFile()
870 snprintf(corename, sizeof(corename), "livecore.%d", bounds); in DoLiveFile()
882 snprintf(infoname, sizeof(infoname), "info.%d", bounds); in DoLiveFile()
884 bounds, status) != 0) { in DoLiveFile()
933 int bounds, status; in DoFile() local
944 bounds = getbounds(savedirfd); in DoFile()
1106 printheader(xostdout, &kdhf, device, bounds, -1); in DoFile()
1109 printheader(xostdout, &kdhl, device, bounds, -1); in DoFile()
1139 if (!check_space(savedir, savedirfd, dumplength, bounds)) { in DoFile()
1144 writebounds(savedirfd, bounds + 1); in DoFile()
1146 saved_dump_remove(savedirfd, bounds); in DoFile()
1152 (isencrypted ? "vmcore_encrypted" : "vmcore"), bounds); in DoFile()
1154 snprintf(corename, sizeof(corename), "vmcore.%d.%s", bounds, in DoFile()
1159 (isencrypted ? "vmcore_encrypted" : "vmcore"), bounds); in DoFile()
1180 snprintf(infoname, sizeof(infoname), "info.%d", bounds); in DoFile()
1182 bounds, status) != 0) { in DoFile()
1201 snprintf(keyname, sizeof(keyname), "key.%d", bounds); in DoFile()