| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/compression/ |
| H A D | compress_004_pos.ksh | 90 typeset -i fsize=0 111 (( fsize = $RANDOM )) 112 if (( fsize > blksize )); then 113 (( fsize = fsize % blksize )) 115 if (( (fsize % 2) == 0 )); then 117 (( fsize = fsize + 1 )) 119 create_free_testing $fsize $single_blk_file 132 (( fsize = blknum * blksize )) 133 create_free_testing $fsize $multi_blk_file
|
| H A D | compress_003_pos.ksh | 60 typeset -i fsize=0 86 (( fsize = offset )) 87 log_must mkfile $fsize $single_blk_file 88 (( fsize = blksize + offset )) 89 log_must mkfile $fsize $multi_blk_file
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/xattrtest/ |
| H A D | xattrtest.c | 360 size_t fsize; in create_files() local 362 fsize = PATH_MAX; in create_files() 374 if (snprintf(file, fsize, "%s/file-%d", path, i) >= fsize) { in create_files() 451 size_t fsize; in setxattrs() local 461 fsize = PATH_MAX; in setxattrs() 473 if (snprintf(file, fsize, "%s/file-%d", path, i) >= fsize) { in setxattrs() 528 size_t fsize; in getxattrs() local 549 fsize = PATH_MAX; in getxattrs() 562 if (snprintf(file, fsize, "%s/file-%d", path, i) >= fsize) { in getxattrs() 627 size_t fsize; in unlink_files() local [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/truncate/ |
| H A D | truncate_test.c | 27 static long fsize = FSIZE; variable 55 if (ftruncate(fd, fsize) < 0) { in main() 64 if (truncate(filename, fsize) < 0) { in main() 82 fsize = atoi(optarg); in parse_options()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/file_trunc/ |
| H A D | file_trunc.c | 52 static long fsize = FSIZE; variable 107 count = fsize / bsize; in parse_options() 120 fsize = atoi(optarg); in parse_options() 183 roffset = random() % fsize; in do_write() 230 roffset = random() % fsize; in do_trunc()
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | spa_config.c | 86 uint64_t fsize; in spa_config_load() local 115 fsize = zfa.zfa_size; in spa_config_load() 116 buf = kmem_alloc(fsize, KM_SLEEP); in spa_config_load() 121 if (zfs_file_read(fp, buf, fsize, NULL) < 0) in spa_config_load() 127 if (nvlist_unpack(buf, fsize, &nvlist, KM_SLEEP) != 0) in spa_config_load() 152 kmem_free(buf, fsize); in spa_config_load()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_copies/ |
| H A D | zfs_copies.kshlib | 63 typeset -i fsize=${FILESIZE%[m|M]} 66 ((cfactor = used / fsize))
|
| H A D | zfs_copies_002_pos.ksh | 77 fsize=${FILESIZE%[m|M]}
|
| /f-stack/freebsd/mips/include/ |
| H A D | asm.h | 182 #define NESTED(x, fsize, retpc) \ argument 186 .frame sp, fsize, retpc; \ 193 #define NESTED_NOPROFILE(x, fsize, retpc) \ argument 197 .frame sp, fsize, retpc
|
| /f-stack/freebsd/net/ |
| H A D | if_fwsubr.c | 90 uint16_t psize, fsize, dsize; in firewire_output() local 262 fsize = psize - 2*sizeof(uint32_t); in firewire_output() 267 if (m->m_pkthdr.len > fsize) { in firewire_output() 272 mtail = m_split(m, fsize, M_NOWAIT); in firewire_output()
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_pipe.c | 469 uint32_t fsize, i; in parse_cfg() local 488 for (fsize = 0; fsize < MAX_FSIZE + MAX_OHSIZE; fsize++) { in parse_cfg() 489 hinfo->ber_p[fsize] = p; in parse_cfg()
|
| /f-stack/freebsd/kern/ |
| H A D | vfs_default.c | 957 off_t fsize, len, cur, offset; in vop_stdallocate() local 975 fsize = vap->va_size; in vop_stdallocate() 1013 vap->va_size = fsize; in vop_stdallocate() 1030 if (offset < fsize) { in vop_stdallocate()
|
| /f-stack/dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_flow.c | 961 size_t fsize, in hash_key_mask_is_same() argument 978 fsize -= fpos; in hash_key_mask_is_same() 980 if (tsize < fsize) { in hash_key_mask_is_same() 987 for ( ; i < fsize; i++) in hash_key_mask_is_same() 993 for (i = 0; i < fsize; i++) in hash_key_mask_is_same()
|
| /f-stack/dpdk/drivers/net/nfp/ |
| H A D | nfp_net.c | 3499 off_t fsize, bytes; in nfp_fw_upload() local 3543 fsize = file_stat.st_size; in nfp_fw_upload() 3545 fw_name, (uint64_t)fsize); in nfp_fw_upload() 3547 fw_buf = malloc((size_t)fsize); in nfp_fw_upload() 3553 memset(fw_buf, 0, fsize); in nfp_fw_upload() 3555 bytes = read(fw_f, fw_buf, fsize); in nfp_fw_upload() 3556 if (bytes != fsize) { in nfp_fw_upload() 3559 (uint64_t)bytes, (uint64_t)fsize); in nfp_fw_upload()
|
| /f-stack/dpdk/drivers/net/i40e/ |
| H A D | i40e_ethdev.h | 500 #define MK_FLX_PIT(src_offset, fsize, dst_offset) ( \ argument 503 (((fsize) << I40E_PRTQF_FLX_PIT_FSIZE_SHIFT) & \
|
| /f-stack/freebsd/contrib/openzfs/cmd/ztest/ |
| H A D | ztest.c | 3767 size_t fsize; in grow_vdev() local 3776 fsize = lseek(fd, 0, SEEK_END); in grow_vdev() 3781 vd->vdev_path, (ulong_t)fsize, (ulong_t)*newsize); in grow_vdev() 5878 size_t fsize; in ztest_fault_inject() local 6068 fsize = lseek(fd, 0, SEEK_END); in ztest_fault_inject() 6098 offset = ztest_random(fsize / (leaves << bshift)) * in ztest_fault_inject() 6122 uint64_t psize = P2ALIGN(fsize, sizeof (vdev_label_t)); in ztest_fault_inject()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zdb/ |
| H A D | zdb.c | 3114 uint64_t uid, gid, mode, fsize, parent, links; in dump_znode() local 3138 &fsize, 8); in dump_znode() 3181 (void) printf("\tsize %llu\n", (u_longlong_t)fsize); in dump_znode()
|