/freebsd/libexec/rc/rc.d/ |
H A D | mdconfig2 | 86 _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 D | bluetooth | 47 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 D | mdconfig | 81 _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 D | profile | 20 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 D | freopen.c | 84 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 D | stdio.c | 53 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 D | fclose.c | 63 fp->_file = -1; in cleanfile() 101 } else if (fp->_file < 0) { in fdclose() 111 *fdp = fp->_file; in fdclose()
|
H A D | makebuf.c | 77 if (couldbetty && isatty(fp->_file)) in __smakebuf() 90 if (fp->_file < 0 || _fstat(fp->_file, &st) < 0) { in __swhatbuf()
|
H A D | fseek.c | 171 fp->_file < 0 || _fstat(fp->_file, &st) || in _fseeko() 187 if (_fstat(fp->_file, &st)) in _fseeko()
|
H A D | findfp.c | 55 ._file = (file), \ 148 fp->_file = -1; /* no file */ in __sfp()
|
H A D | fileno.c | 49 fd = fp->_file; in __fileno_impl()
|
H A D | funopen.c | 65 fp->_file = -1; in funopen()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | file.h | 71 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 D | fs.h | 84 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 D | auto_cleaners.cpp | 159 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 D | linker.h | 153 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 D | ib.h | 117 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 D | mutex.h | 130 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 D | rc.subr | 1412 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 D | magic.py | 78 _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 D | keygen-knownhosts.sh | 117 _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 D | rpool.h | 143 char *_file, 152 char *_file,
|
/freebsd/usr.sbin/bsdconfig/startup/ |
H A D | rcdelete | 95 _${var}_file="$( f_sysrc_find $var )" 125 printf "%s", ENVIRON["_" var "_file"]
|
/freebsd/usr.sbin/adduser/ |
H A D | adduser.sh | 303 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 D | lp.h | 273 int chk(char *_file); 302 void process(const struct printer *_pp, char *_file);
|