Home
last modified time | relevance | path

Searched refs:file_size (Results 1 – 15 of 15) sorted by relevance

/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/userquota/
H A Duserquota_004_pos.ksh56 typeset file_size='100m'
66 log_must user_run $QUSER1 mkfile $file_size $QFILE
73 if [[ "$(($user_used/1024/1024))m" != "$file_size" ]]; then
75 log_fail "userused for user $QUSER1 expected to be $file_size, " \
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/quota/
H A Dquota.kshlib65 typeset -i file_size=`ls -lsk $MNTPT/$TESTFILE1 | awk '{ print $1 }'`
67 (( file_size = file_size * 1024 ))
69 (( file_size > limit )) && \
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/projectquota/
H A Dprojectquota_003_pos.ksh58 typeset file_size='10m'
67 log_must user_run $PUSER mkfile $file_size $PRJDIR/qf
71 if [[ "$(($project_used/1024/1024))m" != "$file_size" ]]; then
73 log_fail "projectused for project $PRJID1 expected to be $file_size, " \
/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_darwin_sendfile_chain.c35 off_t file_size; in ngx_darwin_sendfile_chain() local
97 file_size = ngx_chain_coalesce_file(&cl, limit - send); in ngx_darwin_sendfile_chain()
99 send += file_size; in ngx_darwin_sendfile_chain()
129 sent = header.size + file_size; in ngx_darwin_sendfile_chain()
176 rc, file->file_pos, sent, file_size + header.size); in ngx_darwin_sendfile_chain()
H A Dngx_freebsd_sendfile_chain.c37 size_t file_size; in ngx_freebsd_sendfile_chain() local
113 file_size = (size_t) ngx_chain_coalesce_file(&cl, limit - send); in ngx_freebsd_sendfile_chain()
115 send += file_size; in ngx_freebsd_sendfile_chain()
188 file_size + header.size, &hdtr, &sent, flags); in ngx_freebsd_sendfile_chain()
239 rc, file->file_pos, sent, file_size + header.size); in ngx_freebsd_sendfile_chain()
H A Dngx_linux_sendfile_chain.c51 size_t file_size, sent; in ngx_linux_sendfile_chain() local
164 file_size = (size_t) ngx_chain_coalesce_file(&cl, limit - send); in ngx_linux_sendfile_chain()
166 send += file_size; in ngx_linux_sendfile_chain()
168 if (file_size == 0) { in ngx_linux_sendfile_chain()
174 n = ngx_linux_sendfile(c, file, file_size); in ngx_linux_sendfile_chain()
/f-stack/dpdk/drivers/bus/vmbus/linux/
H A Dvmbus_uio.c202 size_t file_size; in vmbus_uio_map_subchan() local
225 file_size = sb.st_size; in vmbus_uio_map_subchan()
227 if (file_size == 0 || (file_size & (PAGE_SIZE - 1))) { in vmbus_uio_map_subchan()
229 ring_path, file_size); in vmbus_uio_map_subchan()
236 0, file_size, 0); in vmbus_uio_map_subchan()
242 *ring_size = file_size / 2; in vmbus_uio_map_subchan()
245 vmbus_map_addr = RTE_PTR_ADD(mapaddr, file_size); in vmbus_uio_map_subchan()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Drsend.kshlib412 file_size=$((($RANDOM * $RANDOM % ($maxsize - 1)) + 1))
421 truncate -s $file_size $file_name || \
424 bs=$bs count=$(($file_size / 2 / $bs)) \
425 seek=$(($RANDOM % (($file_size / 2 / $bs) + 1))) \
430 bs=$file_size count=1 >/dev/null 2>&1 || \
433 bs=$bs count=$(($file_size / 2 / $bs)) \
434 seek=$(($RANDOM % (($file_size / 2 / $bs) + 1))) \
533 bs=$file_size count=1 >/dev/null 2>&1 || \
536 truncate -s $file_size $file_name || \
547 file_size=$((($RANDOM % 64) + 1))
[all …]
/f-stack/freebsd/security/mac_veriexec/
H A Dveriexec_fingerprint.c138 struct thread *td, off_t file_size, unsigned char *fingerprint) in evaluate_fingerprint() argument
150 for (offset = 0; offset < file_size; offset += nread) { in evaluate_fingerprint()
151 if ((offset + PAGE_SIZE) > file_size) in evaluate_fingerprint()
152 count = file_size - offset; in evaluate_fingerprint()
212 struct mac_veriexec_file_info *ip, struct thread *td, off_t file_size, in mac_veriexec_fingerprint_check_vnode() argument
233 error = evaluate_fingerprint(vp, ip, td, file_size, fingerprint); in mac_veriexec_fingerprint_check_vnode()
H A Dmac_veriexec_internal.h94 off_t file_size, unsigned char *fingerprint);
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/removal/
H A Dremoval.kshlib102 typeset file_size=$(stat_size $file 2>/dev/null)
103 typeset nblocks=$((file_size / block_size))
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/
H A Dredacted_holes.ksh112 file_size=$(stat_size $send_mnt/manyrm/f$i)
114 [[ $file_size -eq $redacted_size ]] || log_fail \
115 "File f$i has size $file_size and redacted size $redacted_size"
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_send/
H A Dzfs_send_006_pos.ksh76 typeset file_size=$2
80 typeset file_diff=$(echo "$file_size - $estimate_size" | bc)
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_conf_file.c506 off_t file_size; in ngx_conf_read_token() local
529 file_size = ngx_file_size(&cf->conf_file->file.info); in ngx_conf_read_token()
535 if (cf->conf_file->file.offset >= file_size) { in ngx_conf_read_token()
583 size = (ssize_t) (file_size - cf->conf_file->file.offset); in ngx_conf_read_token()
/f-stack/freebsd/contrib/zstd/programs/
H A Dfileio.c2826 unsigned long long file_size = (unsigned long long) info->compressedSize; in FIO_analyzeFrames() local
2827 ERROR_IF(file_position != file_size, info_truncated_input, in FIO_analyzeFrames()
2830 file_size); in FIO_analyzeFrames()