| /f-stack/dpdk/drivers/common/dpaax/ |
| H A D | dpaax_iova_table.c | 102 DPAAX_DEBUG("Size of device-tree mem node: %" PRIu64, statbuf.st_size); in read_memory_node() 103 if (statbuf.st_size > MEM_NODE_FILE_LEN) { in read_memory_node() 108 ret = read(fd, file_data, statbuf.st_size > MEM_NODE_FILE_LEN ? in read_memory_node() 109 MEM_NODE_FILE_LEN : statbuf.st_size); in read_memory_node() 119 *count = (statbuf.st_size / 16); in read_memory_node() 120 if ((*count) <= 0 || (statbuf.st_size % 16 != 0)) { in read_memory_node() 122 statbuf.st_size); in read_memory_node() 134 for (i = 0, j = 0; i < (statbuf.st_size) && j < (*count); i += 16, j++) { in read_memory_node()
|
| /f-stack/freebsd/contrib/openzfs/lib/libspl/include/os/freebsd/sys/ |
| H A D | stat.h | 50 (void) ioctl(fd, DIOCGMEDIASIZE, &sb->st_size); in fstat64() 67 if (ioctl(fd, BLKGETSIZE64, &st->st_size) != 0) in fstat64_blk()
|
| /f-stack/freebsd/sys/ |
| H A D | stat.h | 113 __int32_t st_size; /* file size, in bytes */ member 136 off_t st_size; /* file size, in bytes */ member 186 off_t st_size; /* file size, in bytes */ member 206 off_t st_size; /* file size, in bytes */ member
|
| H A D | elf32.h | 200 Elf32_Word st_size; /* Size of associated object. */ member
|
| H A D | elf64.h | 210 Elf64_Xword st_size; /* Size of associated object. */ member
|
| /f-stack/app/nginx-1.16.1/src/os/unix/ |
| H A D | ngx_files.h | 187 #define ngx_file_size(sb) (sb)->st_size 188 #define ngx_file_fs_size(sb) ngx_max((sb)->st_size, (sb)->st_blocks * 512) 280 #define ngx_de_size(dir) (dir)->info.st_size 282 ngx_max((dir)->info.st_size, (dir)->info.st_blocks * 512)
|
| /f-stack/freebsd/contrib/openzfs/lib/libspl/include/os/linux/sys/ |
| H A D | stat.h | 44 if (ioctl(fd, BLKGETSIZE64, &st->st_size) != 0) in fstat64_blk()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/mmap_exec/ |
| H A D | mmap_exec.c | 64 if (mmap(0, statbuf.st_size, in main()
|
| /f-stack/app/redis-5.0.5/utils/ |
| H A D | corrupt_rdb.c | 35 unsigned long offset = rand()%stat.st_size; in main()
|
| /f-stack/freebsd/i386/linux/ |
| H A D | linux.h | 155 l_ulong st_size; member 173 l_long st_size; member 193 l_longlong st_size; member
|
| /f-stack/dpdk/buildtools/pmdinfogen/ |
| H A D | pmdinfogen.c | 72 *size = st.st_size; in grab_file() 258 sym->st_size = TO_NATIVE(endian, ADDR_SIZE, sym->st_size); in parse_elf()
|
| /f-stack/freebsd/contrib/cloudabi/ |
| H A D | cloudabi_types_common.h | 403 _Alignas(8) cloudabi_filesize_t st_size; 412 _Static_assert(offsetof(cloudabi_filestat_t, st_size) == 24, "Incorrect layout");
|
| /f-stack/freebsd/amd64/linux32/ |
| H A D | linux.h | 184 l_ulong st_size; member 202 l_long st_size; member 222 l_longlong st_size; member
|
| /f-stack/dpdk/drivers/net/qede/ |
| H A D | qede_main.c | 151 edev->firmware = rte_zmalloc("qede_fw", st.st_size, in qed_load_firmware_data() 159 if (read(fd, edev->firmware, st.st_size) != st.st_size) { in qed_load_firmware_data() 165 edev->fw_len = st.st_size; in qed_load_firmware_data()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzutil/os/freebsd/ |
| H A D | zutil_import_os.c | 140 if (statbuf.st_size < SPA_MINDEVSIZE) { in zpool_open_func()
|
| /f-stack/freebsd/contrib/zstd/examples/ |
| H A D | common.h | 80 off_t const fileSize = st.st_size; in fsize_orDie()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/randwritecomp/ |
| H A D | randwritecomp.c | 169 nblocks = ss.st_size / BLOCKSZ; in main()
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | redis-check-aof.c | 177 off_t size = sb.st_size; in redis_check_aof_main()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzutil/ |
| H A D | zutil_import.c | 900 size = P2ALIGN_TYPED(statbuf.st_size, sizeof (vdev_label_t), uint64_t); in zpool_read_label() 1406 if ((buf = zutil_alloc(hdl, statbuf.st_size)) == NULL) { in zpool_find_import_cached() 1411 if (read(fd, buf, statbuf.st_size) != statbuf.st_size) { in zpool_find_import_cached() 1422 if (nvlist_unpack(buf, statbuf.st_size, &raw, 0) != 0) { in zpool_find_import_cached()
|
| /f-stack/freebsd/arm64/linux/ |
| H A D | linux.h | 131 l_off_t st_size; member
|
| /f-stack/tools/libutil/ |
| H A D | quotafile.c | 270 maxid = st.st_size / sizeof(struct dqblk32) - 1; in quota_maxid() 273 maxid = st.st_size / sizeof(struct dqblk64) - 2; in quota_maxid()
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_file_os.c | 213 zfattr->zfa_size = sb.st_size; in zfs_file_getattr()
|
| /f-stack/freebsd/amd64/linux/ |
| H A D | linux.h | 140 l_off_t st_size; member
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_import.c | 157 size = P2ALIGN_TYPED(statbuf.st_size, sizeof (vdev_label_t), uint64_t); in zpool_clear_label()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_vdev.c | 646 statbuf.st_size == 0 || in get_replication() 647 statbuf.st_size == MAXOFFSET_T) in get_replication() 650 size = statbuf.st_size; in get_replication()
|