Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 2404) sorted by relevance

12345678910>>...97

/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_open_file_cache.c118 if (!file->err && !file->is_dir) { in ngx_open_file_cache_cleanup()
217 if (file->fd == NGX_INVALID_FILE && file->err == 0 && !file->is_dir) { in ngx_open_cached_file()
273 file->name, file->fd, file->count, file->err); in ngx_open_cached_file()
297 if (file->is_dir || file->err) { in ngx_open_cached_file()
305 if (file->is_dir || file->err) { in ngx_open_cached_file()
324 if (file->err || file->is_dir) { in ngx_open_cached_file()
434 file->name, file->fd, file->count, file->err, file->uses); in ngx_open_cached_file()
443 ofcln->file = file; in ngx_open_cached_file()
983 fev->file = file; in ngx_open_file_add_event()
1037 file->name, file->fd, file->count, file->uses, file->close); in ngx_close_cached_file()
[all …]
/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_file_aio_read.c40 ngx_file_aio_init(ngx_file_t *file, ngx_pool_t *pool) in ngx_file_aio_init() argument
49 aio->file = file; in ngx_file_aio_init()
50 aio->fd = file->fd; in ngx_file_aio_init()
53 aio->event.log = file->log; in ngx_file_aio_init()
55 file->aio = aio; in ngx_file_aio_init()
73 if (file->aio == NULL && ngx_file_aio_init(file, pool) != NGX_OK) { in ngx_file_aio_read()
77 aio = file->aio; in ngx_file_aio_read()
81 ngx_log_error(NGX_LOG_ALERT, file->log, 0, in ngx_file_aio_read()
106 aio->aiocb.aio_fildes = file->fd; in ngx_file_aio_read()
126 ngx_log_error(NGX_LOG_CRIT, file->log, n, in ngx_file_aio_read()
[all …]
H A Dngx_files.c68 file->sys_offset += n; in ngx_read_file()
72 file->offset += n; in ngx_read_file()
105 task = file->thread_task; in ngx_thread_read()
140 ctx->fd = file->fd; in ngx_thread_read()
145 if (file->thread_handler(task, file) != NGX_OK) { in ngx_thread_read()
222 file->offset += n; in ngx_write_file()
263 file->offset += n; in ngx_write_file()
464 file->sys_offset += n; in ngx_writev_file()
468 file->offset += n; in ngx_writev_file()
524 ctx->fd = file->fd; in ngx_thread_write_chain_to_file()
[all …]
H A Dngx_linux_sendfile_chain.c54 ngx_buf_t *file; in ngx_linux_sendfile_chain() local
242 if (file->file->thread_handler) { in ngx_linux_sendfile()
259 n = sendfile(c->fd, file->file->fd, &offset, size); in ngx_linux_sendfile()
290 file->file->name.data, file->file_pos); in ngx_linux_sendfile()
323 file->file->fd, size, file->file_pos); in ngx_linux_sendfile_thread()
372 file->file->name.data, file->file_pos); in ngx_linux_sendfile_thread()
380 if (task->event.active && ctx->file == file) { in ngx_linux_sendfile_thread()
389 ctx->file = file; in ngx_linux_sendfile_thread()
395 if (file->file->thread_handler(task, file->file) != NGX_OK) { in ngx_linux_sendfile_thread()
414 file = ctx->file; in ngx_linux_sendfile_thread_handler()
[all …]
H A Dngx_linux_aio_read.c28 ngx_file_aio_init(ngx_file_t *file, ngx_pool_t *pool) in ngx_file_aio_init() argument
37 aio->file = file; in ngx_file_aio_init()
38 aio->fd = file->fd; in ngx_file_aio_init()
41 aio->event.log = file->log; in ngx_file_aio_init()
43 file->aio = aio; in ngx_file_aio_init()
62 if (file->aio == NULL && ngx_file_aio_init(file, pool) != NGX_OK) { in ngx_file_aio_read()
66 aio = file->aio; in ngx_file_aio_read()
70 ngx_log_error(NGX_LOG_ALERT, file->log, 0, in ngx_file_aio_read()
75 ngx_log_debug4(NGX_LOG_DEBUG_CORE, file->log, 0, in ngx_file_aio_read()
100 aio->aiocb.aio_fildes = file->fd; in ngx_file_aio_read()
[all …]
/f-stack/freebsd/contrib/libsodium/regen-msvc/
H A Dregen-msvc.py11 for file in glob.iglob("src/libsodium/**/*.c", recursive=True):
12 file = file.replace("/", "\\") variable
16 for file in glob.iglob("src/libsodium/**/*.h", recursive=True):
17 file = file.replace("/", "\\") variable
21 for file in glob.iglob("src/libsodium/**/*.c", recursive=True):
22 file = file.replace("/", "\\") variable
29 file = file.replace("/", "\\") variable
36 file = file.replace("/", "\\") variable
42 file = file.replace("/", "\\") variable
54 file = file.replace("/", "\\") variable
[all …]
/f-stack/freebsd/sys/
H A Dsx.h192 #define sx_xlock_(sx, file, line) \ argument
193 (void)_sx_xlock((sx), 0, (file), (line))
196 #define sx_xunlock_(sx, file, line) \ argument
197 _sx_xunlock((sx), (file), (line))
199 #define sx_xlock_(sx, file, line) \ argument
203 #define sx_xunlock_(sx, file, line) \ argument
207 #define sx_slock_(sx, file, line) \ argument
212 _sx_sunlock((sx), (file), (line))
218 #define sx_slock_(sx, file, line) \ argument
258 sx_xunlock_(sx, file, line); \
[all …]
H A Dfile.h77 struct file;
94 foffset_get(struct file *fp) in foffset_get()
179 struct file { struct
250 struct file **fpp);
252 struct file **fpp);
254 int needfcntl, struct file **fpp);
286 fhold(struct file *fp) in fhold()
292 struct file *_fp; \
303 struct file *_fp; \
447 fo_add_seals(struct file *fp, int seals) in fo_add_seals()
[all …]
H A Dmutex.h102 const char *file, int line);
104 const char *file, int line);
114 const char *file, int line);
126 const char *file, int line);
128 const char *file, int line);
274 mp, 0, 0, file, line); \
415 _mtx_lock_flags((m), (opts), (file), (line))
417 _mtx_unlock_flags((m), (opts), (file), (line))
438 #define mtx_assert_(m, what, file, line) \ argument
439 _mtx_assert((m), (what), (file), (line))
[all …]
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/nopwrite/
H A Dnopwrite_mtime.ksh51 o_atime=$(stat -c %X $TESTDIR/clone/file)
52 o_ctime=$(stat -c %Z $TESTDIR/clone/file)
53 o_mtime=$(stat -c %Y $TESTDIR/clone/file)
55 o_atime=$(stat -f "%a" $TESTDIR/clone/file)
65 dd if=/$TESTDIR/file of=/$TESTDIR/clone/file bs=1024k count=$MEGS \
70 atime=$(stat -c %X $TESTDIR/clone/file)
71 ctime=$(stat -c %Z $TESTDIR/clone/file)
72 mtime=$(stat -c %Y $TESTDIR/clone/file)
74 atime=$(stat -f "%a" $TESTDIR/clone/file)
75 ctime=$(stat -f "%c" $TESTDIR/clone/file)
[all …]
/f-stack/freebsd/netgraph/
H A Dnetgraph.h197 hook->lastfile = file; in _chkhook()
203 _chkhook(hook, file, line); in _ng_hook_ref()
210 _chkhook(hook, file, line); in _ng_hook_name()
217 _chkhook(hook, file, line); in _ng_hook_unref()
224 _chkhook(hook, file, line); in _ng_hook_set_private()
231 _chkhook(hook, file, line); in _ng_hook_set_rcvmsg()
238 _chkhook(hook, file, line); in _ng_hook_set_rcvdata()
245 _chkhook(hook, file, line); in _ng_hook_private()
252 _chkhook(hook, file, line); in _ng_hook_not_valid()
464 node->lastfile = file; in _chknode()
[all …]
/f-stack/tools/compat/include/netgraph/
H A Dnetgraph.h198 hook->lastfile = file; in _chkhook()
204 _chkhook(hook, file, line); in _ng_hook_ref()
211 _chkhook(hook, file, line); in _ng_hook_name()
218 _chkhook(hook, file, line); in _ng_hook_unref()
225 _chkhook(hook, file, line); in _ng_hook_set_private()
232 _chkhook(hook, file, line); in _ng_hook_set_rcvmsg()
239 _chkhook(hook, file, line); in _ng_hook_set_rcvdata()
246 _chkhook(hook, file, line); in _ng_hook_private()
253 _chkhook(hook, file, line); in _ng_hook_not_valid()
466 node->lastfile = file; in _chknode()
[all …]
/f-stack/dpdk/devtools/
H A Dcheck-includes.sh147 file="$1"
150 case "$file" in
164 file=${path#$include_dir}
165 file=${file##/}
167 output "SKIP $file" :
177 " "$file" > "$temp_cc" &&
180 pass_cc="$pass_cc $file"
208 for file in $pass_cc; do
211 " "$file" >> $temp_cc
229 for file in $pass_cxx; do
[all …]
H A Dupdate_version_map_abi.py115 print(file=f_out)
122 print(file=f_out)
128 print("};", file=f_out)
139 print("", file=f_out)
144 print("};", file=f_out)
154 print("", file=f_out)
159 print("};", file=f_out)
175 file=sys.stderr)
181 file=sys.stderr)
195 print(file=f_out)
[all …]
/f-stack/freebsd/contrib/zstd/zlibWrapper/
H A Dgzlib.c320 gzFile file; in gzbuffer()
328 state.file = file;
347 gzFile file; in gzrewind()
354 state.file = file;
370 gzFile file; in gzseek64()
381 state.file = file;
466 state.file = file;
494 state.file = file;
526 state.file = file;
544 state.file = file;
[all …]
H A Dgzclose.c14 int ZEXPORT gzclose(file) in gzclose() argument
15 gzFile file; in gzclose()
20 if (file == NULL)
22 state.file = file;
24 return state.state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
26 return gzclose_r(file);
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/mmp/
H A Dmmp_hostid.ksh43 log_must rm $MMP_DIR/file.{0,1,2,3,4,5}
58 log_must zpool create $MMP_POOL $MMP_DIR/file.0
70 log_must mkfile 1M $mntpnt_fs/file
79 log_must zpool attach $MMP_POOL $MMP_DIR/file.0 $MMP_DIR/file.1
80 log_must zpool detach $MMP_POOL $MMP_DIR/file.1
83 log_must zpool add $MMP_POOL $MMP_DIR/file.1
84 log_must zpool add $MMP_POOL $MMP_DIR/file.2
86 log_must zpool add $MMP_POOL log $MMP_DIR/file.4
90 log_must zpool remove $MMP_POOL $MMP_DIR/file.2
91 log_must zpool remove $MMP_POOL $MMP_DIR/file.3
[all …]
/f-stack/freebsd/contrib/zlib/test/
H A Dminigzip.c38 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) argument
54 # define fileno(file) file->__file argument
171 FILE *file; member
319 fclose(gz->file);
458 char *file; in file_compress()
479 perror(file);
489 unlink(file);
497 char *file; in file_uncompress()
513 strcpy(buf, file);
536 perror(file);
[all …]
/f-stack/freebsd/contrib/zstd/zlibWrapper/examples/
H A Dminigzip.c43 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) argument
59 # define fileno(file) file->__file argument
176 FILE *file; member
324 fclose(gz->file);
463 char *file; in file_compress()
480 perror(file);
490 unlink(file);
498 char *file; in file_uncompress()
511 strcpy(buf, file);
529 perror(file);
[all …]
/f-stack/freebsd/contrib/zlib/
H A Dgzlib.c320 gzFile file; in gzbuffer()
347 gzFile file; in gzrewind()
370 gzFile file; in gzseek64()
447 gzFile file; in gzseek()
459 gzFile file; in gztell64()
476 gzFile file; in gztell()
486 gzFile file; in gzoffset64()
509 gzFile file; in gzoffset()
519 gzFile file; in gzeof()
536 gzFile file; in gzerror()
[all …]
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/xattrtest/
H A Dxattrtest.c357 char *file = NULL; in create_files() local
413 if (file) in create_files()
414 free(file); in create_files()
448 char *file = NULL; in setxattrs() local
507 if (file) in setxattrs()
508 free(file); in setxattrs()
608 if (file) in getxattrs()
609 free(file); in getxattrs()
653 free(file); in unlink_files()
665 if (file) in unlink_files()
[all …]
/f-stack/app/redis-5.0.5/
H A D00-RELEASENOTES87 1 file changed, 2 deletions(-)
107 1 file changed, 1 deletion(-)
151 1 file changed, 10 insertions(+)
155 1 file changed, 1 insertion(+)
171 1 file changed, 1 insertion(+)
215 1 file changed, 1 insertion(+)
290 1 file changed, 6 insertions(+)
378 1 file changed, 1 insertion(+)
442 1 file changed, 1 deletion(-)
513 1 file changed, 6 deletions(-)
[all …]
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_clear/
H A Dzpool_clear_003_neg.ksh52 for file in `ls $TESTDIR/file.*`; do
53 log_must rm -f $file
64 log_must mkfile $FILESIZE $TESTDIR/file.$i
68 log_must zpool create $TESTPOOL1 raidz $TESTDIR/file.1 $TESTDIR/file.2 \
69 $TESTDIR/file.3 spare $TESTDIR/file.4
71 log_mustnot zpool clear $TESTPOOL1 $TESTDIR/file.4
/f-stack/freebsd/kern/
H A Dkern_lock.c721 file, line, flags); in lockmgr_slock_hard()
957 file, line, flags); in lockmgr_xlock_hard()
1053 file, line, flags); in lockmgr_lock_flags()
1234 file, line, NULL); in lockmgr_slock()
1269 const char *file; in lockmgr_unlock() local
1272 file = __FILE__; in lockmgr_unlock()
1332 __func__, file, line)); in __lockmgr_args()
1335 __func__, file, line)); in __lockmgr_args()
1351 file, line); in __lockmgr_args()
1623 __func__, file, line); in _lockmgr_disown()
[all …]
H A Dkern_mutex.c273 file, line)); in __mtx_lock_flags()
283 m, 0, 0, file, line); in __mtx_lock_flags()
287 file, line); in __mtx_lock_flags()
302 file, line)); in __mtx_unlock_flags()
339 file, line, NULL); in __mtx_lock_spin_flags()
348 m, 0, 0, file, line); in __mtx_lock_spin_flags()
435 file, line)); in _mtx_trylock_flags_int()
462 file, line); in _mtx_trylock_flags_int()
688 waittime, file, line); in __mtx_lock_sleep()
701 const char *file, int line) in _mtx_lock_spin_cookie() argument
[all …]

12345678910>>...97