Searched refs:stbuf (Results 1 – 5 of 5) sorted by relevance
196 void p9stat_free(struct p9_wstat *stbuf) in p9stat_free() argument198 kfree(stbuf->name); in p9stat_free()199 stbuf->name = NULL; in p9stat_free()200 kfree(stbuf->uid); in p9stat_free()201 stbuf->uid = NULL; in p9stat_free()202 kfree(stbuf->gid); in p9stat_free()203 stbuf->gid = NULL; in p9stat_free()204 kfree(stbuf->muid); in p9stat_free()205 stbuf->muid = NULL; in p9stat_free()206 kfree(stbuf->extension); in p9stat_free()[all …]
22 struct stat stbuf; in gzip_decompress_to_file() local36 if (fstat(input_fd, &stbuf) < 0) in gzip_decompress_to_file()39 ptr = mmap(NULL, stbuf.st_size, PROT_READ, MAP_PRIVATE, input_fd, 0); in gzip_decompress_to_file()47 zs.avail_in = stbuf.st_size; in gzip_decompress_to_file()76 munmap(ptr, stbuf.st_size); in gzip_decompress_to_file()
231 struct stat stbuf; in sysfs__read_build_id() local 239 if (fstat(fd, &stbuf) < 0) in sysfs__read_build_id() 242 buf_size = stbuf.st_size; in sysfs__read_build_id()
90 struct statfs stbuf; in cgroup_is_v2() local 95 if (statfs(mnt, &stbuf) < 0) in cgroup_is_v2() 98 return (stbuf.f_type == CGROUP2_SUPER_MAGIC); in cgroup_is_v2()
289 void p9stat_free(struct p9_wstat *stbuf);