Home
last modified time | relevance | path

Searched refs:_file (Results 1 – 25 of 51) sorted by relevance

123

/freebsd-14-stable/libexec/rc/rc.d/
HDmdconfig286 _file=${_config##*-f\ }
87 _file=${_file%%\ *}
88 if [ -z "${_file}" ]; then
92 if [ "${_file}" != "${_file%.uzip}" ]; then
95 for _i in `df ${_file} 2>/dev/null`; do _fs=${_i}; done
102 debug "${_md} file: ${_file}"
112 local _md _fs _mp _mounted _dev _config _type _file _owner _perms _files _populate _fsck_cmd _i
116 if [ ! -r ${_file} ]; then
117 err 3 "${_file} doesn't exist"
124 if [ "${_file}" != "${_file%.uzip}" ]; then
[all …]
HDbluetooth47 local _err _file _line _namespace
49 _file=$1
53 if [ ! -e $_file ]; then
57 if [ ! -f $_file -o ! -r $_file ]; then
58 err 1 "Bluetooth configuration file $_file is not a file or not readable"
77 warn "Unable to parse line \"$_line\" in $_file"
82 done < $_file
231 local _file
266 _file="/etc/defaults/bluetooth.device.conf"
268 if ! bluetooth_read_conf $_file bluetooth_device_ ; then
[all …]
HDmdconfig81 _file=${_config##*-f\ }
82 _file=${_file%%\ *}
83 if [ -z "${_file}" ]; then
86 if [ "${_file}" != "${_file%.uzip}" ]; then
89 for _i in `df ${_file} 2>/dev/null`; do _fs=${_i}; done
96 debug "${_md} file: ${_file}"
103 local _md _mp _config _type _dev _file _fs _newfs _fsck_cmd
115 if [ "${_file}" != "${_file%.uzip}" ]; then
131 if [ "${_file}" != "${_file%.uzip}" ]; then
156 local _md _mp _config _type _dev _file _fs _newfs _i
/freebsd-14-stable/lib/libc/stdio/
HDfreopen.c87 if ((dflags = _fcntl(fp->_file, F_GETFL)) < 0) { in freopen()
107 if (_fcntl(fp->_file, F_SETFL, dflags) < 0) { in freopen()
116 (void) ftruncate(fp->_file, (off_t)0); in freopen()
120 (void) _fcntl(fp->_file, F_SETFD, FD_CLOEXEC); in freopen()
121 f = fp->_file; in freopen()
145 if ((wantfd = fp->_file) < 0 && isopen) { in freopen()
211 (void)_close(fp->_file); in freopen()
229 fp->_file = f; in freopen()
HDstdio.c56 return(_read(fp->_file, buf, (size_t)n)); in __sread()
64 return (_write(fp->_file, buf, (size_t)n)); in __swrite()
72 return (lseek(fp->_file, (off_t)offset, whence)); in __sseek()
79 return (_close(((FILE *)cookie)->_file)); in __sclose()
HDfclose.c66 fp->_file = -1; in cleanfile()
104 } else if (fp->_file < 0) { in fdclose()
114 *fdp = fp->_file; in fdclose()
HDmakebuf.c80 if (couldbetty && isatty(fp->_file)) in __smakebuf()
93 if (fp->_file < 0 || _fstat(fp->_file, &st) < 0) { in __swhatbuf()
HDfseek.c174 fp->_file < 0 || _fstat(fp->_file, &st) || in _fseeko()
190 if (_fstat(fp->_file, &st)) in _fseeko()
HDfindfp.c58 ._file = (file), \
151 fp->_file = -1; /* no file */ in __sfp()
HDfileno.c52 fd = fp->_file; in __fileno_impl()
HDfunopen.c68 fp->_file = -1; in funopen()
HDvdprintf.c60 f._file = fd; in vdprintf()
/freebsd-14-stable/sys/compat/linuxkpi/common/include/linux/
HDfile.h71 if (refcount_release(filp->_file == NULL ? in fput()
72 &filp->f_count : &filp->_file->f_count)) { in fput()
80 return (filp->_file == NULL ? in file_count()
81 filp->f_count : filp->_file->f_count); in file_count()
109 filp->_file = NULL; in fd_install()
111 filp->_file = file; in fd_install()
HDfs.h85 struct file *_file; member
264 refcount_acquire(f->_file == NULL ? &f->f_count : &f->_file->f_count); in get_file()
272 f->_file == NULL ? &f->f_count : &f->_file->f_count)); in get_file_rcu()
317 return (file->_file->f_offset); in noop_llseek()
/freebsd-14-stable/contrib/kyua/utils/fs/
HDauto_cleaners.cpp159 fs::path _file; member
168 _file(file_), in impl()
179 LW(F("Failed to auto-cleanup file '%s': %s") % _file % in ~impl()
195 fs::unlink(_file); in remove()
248 return _pimpl->_file; in file()
/freebsd-14-stable/sys/sys/
HDlinker.h153 linker_file_t _file);
166 caddr_t linker_file_lookup_symbol(linker_file_t _file, const char* _name,
174 int linker_file_lookup_set(linker_file_t _file, const char *_name,
187 int linker_file_unload(linker_file_t _file, int flags);
388 int kldload(const char* _file);
391 int kldfind(const char* _file);
/freebsd-14-stable/sys/ofed/include/rdma/
HDib.h117 return (filp->_file != NULL && in ib_safe_file_access()
118 filp->_file == td->td_fpop && in ib_safe_file_access()
119 filp->_file->f_cred == td->td_ucred); in ib_safe_file_access()
/freebsd-14-stable/contrib/ntp/libntp/lib/isc/pthreads/include/isc/
HDmutex.h130 isc_mutex_init_profile(isc_mutex_t *mp, const char * _file, int _line);
132 isc_mutex_lock_profile(isc_mutex_t *mp, const char * _file, int _line);
134 isc_mutex_unlock_profile(isc_mutex_t *mp, const char * _file, int _line);
/freebsd-14-stable/contrib/file/python/
HDmagic.py78 _file = _libraries['magic'].magic_file variable
79 _file.restype = c_char_p
80 _file.argtypes = [magic_t, c_char_p]
165 return Magic.__tostr(_file(self._magic_t, Magic.__tobytes(filename)))
/freebsd-14-stable/crypto/openssh/regress/
HDkeygen-knownhosts.sh117 _file=$3
118 test "x$_file" = "x" && _file=$OBJ/kh.invalid
119 ${SSHKEYGEN} -f $_file -HF $_host | grep '|1|' | \
/freebsd-14-stable/contrib/sendmail/include/sm/
HDrpool.h143 char *_file,
152 char *_file,
/freebsd-14-stable/libexec/rc/
HDrc.subr1116 for _file in $(/usr/sbin/sysrc -lEs "$name"); do
1117 _out=$(/usr/sbin/sysrc -Fif $_file "$rcvar") && _files="$_files $_file"
1122 for _file in $_files; do
1123 [ "$_file" = "${_file#*/rc.conf.d/}" ] && continue
1124 [ $(/usr/bin/stat -f%z $_file) -gt 0 ] && continue
1125 /bin/rm "$_file" && echo "Empty file $_file removed"
1458 _file=$1
1460 if [ -z "$_file" -o -z "$_arg" ]; then
1470 rc_service="$_file"
1471 case "$_file" in
[all …]
/freebsd-14-stable/usr.sbin/bsdconfig/startup/
HDrcdelete95 _${var}_file="$( f_sysrc_find $var )"
125 printf "%s", ENVIRON["_" var "_file"]
/freebsd-14-stable/usr.sbin/adduser/
HDadduser.sh303 local _line= _owner= _perms= _file= _dir=
312 _file="$(basename "$msgfile")"
313 _perms=$(/usr/bin/find "$_dir" -name "$_file" -perm +07022 -prune)
314 _owner=$(/usr/bin/find "$_dir" -name "$_file" -user 0 -prune)
/freebsd-14-stable/usr.sbin/lpr/common_source/
HDlp.h275 int chk(char *_file);
304 void process(const struct printer *_pp, char *_file);

123