Lines Matching refs:snprintf

282 		snprintf(buf, sizeof(buf), "%zu bytes", (size_t)limit.rlim_cur);
284 snprintf(buf, sizeof(buf), "%.1f KiB", (double)limit.rlim_cur / 1024);
286 snprintf(buf, sizeof(buf), "%.1f MiB", (double)limit.rlim_cur / (1024*1024));
1391 snprintf(memfd_path, PATH_MAX, "/proc/self/fd/%d", fdm);
1675 snprintf(map_name, sizeof(map_name), "%.*s%.*s", pfx_len, obj->name,
2077 len = snprintf(buf, PATH_MAX, "/boot/config-%s", uts.release);
2265 len = snprintf(buf, buf_sz, "%s/%s", path, name);
2471 snprintf(inner_map_name, sizeof(inner_map_name), "%s.inner", map_name);
4777 snprintf(file, sizeof(file), "/proc/%d/fdinfo/%d", getpid(), fd);
7578 snprintf(patch, sizeof(patch),
7611 snprintf(patch, sizeof(patch),
7644 snprintf(patch, sizeof(patch),
7844 snprintf(tmp_name, sizeof(tmp_name), "%lx-%lx",
9733 ret = snprintf(btf_type_name, sizeof(btf_type_name),
9735 /* snprintf returns the number of characters written excluding the
10824 snprintf(buf, buf_sz, "libbpf_%u_%s_0x%zx_%d", getpid(), kfunc_name, offset,
10853 snprintf(file, sizeof(file), "%s/events/%s/%s/id",
10942 snprintf(syscall_name, sizeof(syscall_name), "__%s_sys_bpf", ksys_pfx);
11087 snprintf(func_name, sizeof(func_name), "__%s_sys_%s",
11090 snprintf(func_name, sizeof(func_name), "__se_sys_%s", syscall_name);
11489 snprintf(buf, buf_sz, "libbpf_%u_%s_0x%zx", getpid(), binary_path, (size_t)offset);
11517 snprintf(file, sizeof(file), "%s/events/%s/%s/id",
11611 snprintf(memfd_path, PATH_MAX, "/proc/self/fd/%d", fdm);
11707 snprintf(result, result_sz, "%.*s/%s", seg_len, s, file);
12135 ret = snprintf(file, sizeof(file), "%s/events/%s/%s/id",