Home
last modified time | relevance | path

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

123

/freebsd/libexec/rc/rc.d/
H A Dmdconfig286 _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 …]
H A Dbluetooth47 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 …]
H A Dmdconfig81 _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/bin/sh/
H A Dprofile20 for _file in "${_dir}"/profile "${_dir}"/profile.d/*.sh ; do
21 if [ -f "${_file}" ] ; then
23 *:"${_file}":*)
26 _loaded="${_loaded:+${_loaded}:}${_file}"
27 . "${_file}"
33 unset _loaded _dir _file
/freebsd/lib/libc/stdio/
H A Dfreopen.c84 if ((dflags = _fcntl(fp->_file, F_GETFL)) < 0) { in freopen()
104 if (_fcntl(fp->_file, F_SETFL, dflags) < 0) { in freopen()
113 (void) ftruncate(fp->_file, (off_t)0); in freopen()
117 (void) _fcntl(fp->_file, F_SETFD, FD_CLOEXEC); in freopen()
118 f = fp->_file; in freopen()
142 if ((wantfd = fp->_file) < 0 && isopen) { in freopen()
208 (void)_close(fp->_file); in freopen()
226 fp->_file = f; in freopen()
H A Dstdio.c53 return(_read(fp->_file, buf, (size_t)n)); in __sread()
61 return (_write(fp->_file, buf, (size_t)n)); in __swrite()
69 return (lseek(fp->_file, (off_t)offset, whence)); in __sseek()
76 return (_close(((FILE *)cookie)->_file)); in __sclose()
H A Dfclose.c63 fp->_file = -1; in cleanfile()
101 } else if (fp->_file < 0) { in fdclose()
111 *fdp = fp->_file; in fdclose()
H A Dmakebuf.c77 if (couldbetty && isatty(fp->_file)) in __smakebuf()
90 if (fp->_file < 0 || _fstat(fp->_file, &st) < 0) { in __swhatbuf()
H A Dfseek.c171 fp->_file < 0 || _fstat(fp->_file, &st) || in _fseeko()
187 if (_fstat(fp->_file, &st)) in _fseeko()
H A Dfindfp.c55 ._file = (file), \
148 fp->_file = -1; /* no file */ in __sfp()
H A Dfileno.c49 fd = fp->_file; in __fileno_impl()
H A Dfunopen.c65 fp->_file = -1; in funopen()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dfile.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()
H A Dfs.h84 struct file *_file; member
263 refcount_acquire(f->_file == NULL ? &f->f_count : &f->_file->f_count); in get_file()
276 f->_file == NULL ? &f->f_count : &f->_file->f_count)); in get_file_rcu()
322 return (file->_file->f_offset); in noop_llseek()
/freebsd/contrib/kyua/utils/fs/
H A Dauto_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/sys/sys/
H A Dlinker.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);
403 int kldload(const char* _file);
406 int kldfind(const char* _file);
/freebsd/sys/ofed/include/rdma/
H A Dib.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/contrib/ntp/libntp/lib/isc/pthreads/include/isc/
H A Dmutex.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/libexec/rc/
H A Drc.subr1412 for _file in $(/usr/sbin/sysrc -lEs "$name"); do
1413 _out=$(/usr/sbin/sysrc -Fif $_file "$rcvar") && _files="$_files $_file"
1418 for _file in $_files; do
1419 [ "$_file" = "${_file#*/rc.conf.d/}" ] && continue
1420 [ $(/usr/bin/stat -f%z $_file) -gt 0 ] && continue
1421 /bin/rm "$_file" && echo "Empty file $_file removed"
1806 _file
[all...]
/freebsd/contrib/file/python/
H A Dmagic.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/crypto/openssh/regress/
H A Dkeygen-knownhosts.sh117 _file=$3
118 test "x$_file" = "x" && _file=$OBJ/kh.invalid
119 ${SSHKEYGEN} -f $_file -HF $_host | grep '|1|' | \
/freebsd/contrib/sendmail/include/sm/
H A Drpool.h143 char *_file,
152 char *_file,
/freebsd/usr.sbin/bsdconfig/startup/
H A Drcdelete95 _${var}_file="$( f_sysrc_find $var )"
125 printf "%s", ENVIRON["_" var "_file"]
/freebsd/usr.sbin/adduser/
H A Dadduser.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/usr.sbin/lpr/common_source/
H A Dlp.h273 int chk(char *_file);
302 void process(const struct printer *_pp, char *_file);

123