Home
last modified time | relevance | path

Searched refs:st_blocks (Results 1 – 21 of 21) sorted by relevance

/openbmc/u-boot/include/linux/
H A Dstat.h57 unsigned long st_blocks; /* file size in # of blocks */ member
85 unsigned long st_blocks; member
123 long st_blocks; member
141 unsigned long st_blocks; member
/openbmc/qemu/linux-user/
H A Dsyscall_defs.h1247 abi_ulong st_blocks; member
1281 abi_ulong st_blocks; /* Number 512-byte blocks allocated. */ member
1314 abi_ullong st_blocks; member
1343 abi_long st_blocks; member
1367 abi_uint st_blocks; member
1400 abi_long st_blocks; member
1426 abi_uint st_blocks; member
1459 abi_ulong st_blocks; member
1487 abi_llong st_blocks; /* Number 512-byte blocks allocated. */ member
1512 abi_ulong st_blocks; member
[all …]
H A Dsyscall.c7672 __put_user(host_st->st_blocks, &target_st->st_blocks); in host_to_target_stat64()
7707 __put_user(host_st->st_blocks, &target_st->st_blocks); in host_to_target_stat64()
11036 __put_user(st.st_blocks, &target_st->st_blocks); in _syscall2()
11960 __put_user(st.st_blocks, &target_stx->stx_blocks); in _syscall2()
/openbmc/qemu/bsd-user/freebsd/
H A Dos-stat.c49 __put_user(host_st->st_blocks, &target_st->st_blocks); in h2t_freebsd11_stat()
96 __put_user(host_st->st_blocks, &target_st->st_blocks); in h2t_freebsd_stat()
128 __put_user(host_st->st_blocks, &target_st->st_blocks); in h2t_freebsd11_nstat()
/openbmc/qemu/tests/qemu-iotests/
H A D298148 self.assertLess(abs(stat.st_blocks - refstat.st_blocks) * 512,
/openbmc/qemu/block/
H A Dnfs.c62 uint64_t st_blocks; member
543 client->st_blocks = st.st_blocks; in nfs_client_open()
731 return client->st_blocks * 512; in nfs_co_get_allocated_file_size()
746 return (task.ret < 0 ? task.ret : st.st_blocks * 512); in nfs_co_get_allocated_file_size()
806 client->st_blocks = st.st_blocks; in nfs_reopen_prepare()
H A Dgluster.c1338 return st.st_blocks * 512; in qemu_gluster_co_get_allocated_file_size()
H A Dfile-posix.c2985 return (int64_t)st.st_blocks * 512; in raw_co_get_allocated_file_size()
/openbmc/qemu/bsd-user/
H A Dsyscall_defs.h232 int64_t st_blocks; /* blocks allocated for file */ member
281 int64_t st_blocks; /* blocks allocated for file */ member
302 int64_t st_blocks; /* blocks allocated for file */ member
/openbmc/qemu/fsdev/
H A D9p-marshal.h60 uint64_t st_blocks; member
H A D9p-iov-marshal.c281 statp->st_blocks, statp->st_atime_sec, in v9fs_iov_vmarshal()
/openbmc/u-boot/fs/yaffs2/
H A Dyaffsfs.h59 unsigned long st_blocks; /* number of blocks allocated */ member
H A Dyaffsfs.c1607 buf->st_blocks = lldiv(buf->st_size + buf->st_blksize - 1, in yaffsfs_DoStat()
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dpackage.py140 self.assertEqual(sparsestat.st_blocks, 0)
H A Dimagefeatures.py120 self.assertGreater(image_stat.st_size, image_stat.st_blocks * 512)
H A Dwic.py1595 self.assertEqual(dest_stat.st_blocks, 8)
/openbmc/qemu/block/export/
H A Dfuse.c435 .st_blocks = allocated_blocks, in fuse_getattr()
/openbmc/qemu/hw/9pfs/
H A D9p-synth.c150 stbuf->st_blocks = 0; in synth_fill_statbuf()
H A D9p.c1371 v9lstat->st_blocks = stbuf->st_blocks; in stat_to_v9stat_dotl()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Drepository.cpp48 return statData.st_blocks * statBlockSize; in getFileDiskSize()
/openbmc/qemu/semihosting/
H A Dsyscalls.c105 p->gdb_st_blocks = cpu_to_be64(s->st_blocks); in copy_stat_to_user()