Home
last modified time | relevance | path

Searched refs:_p (Results 1 – 25 of 137) sorted by relevance

123456

/freebsd/usr.sbin/autofs/autofs/
H A Dspecial_media8 local _fstype _fstype_and_label _label _p
10 for _p in ${providers}; do
11 _fstype_and_label="$(fstyp -l "/dev/${_p}" 2> /dev/null)"
29 echo "${_p}"
35 local _fstype _p
38 _p="$2"
43 echo "-mountprog=/usr/local/sbin/mount.exfat,fstype=${_fstype},sync :/dev/${_p}"
46 "Cannot mount ${_fstype} formatted device /dev/${_p}: Install sysutils/fusefs-exfat first"
52 echo "-mountprog=/usr/local/bin/ntfs-3g,fstype=${_fstype},sync :/dev/${_p}"
55 "Cannot mount ${_fstype} formatted device /dev/${_p}: Install sysutils/fusefs-ntfs first"
[all …]
/freebsd/lib/libbsdstat/
H A Dbsdstat.h50 #define BSDSTAT_DECL_METHODS(_p) \ argument
52 void (*setfmt)(_p, const char *); \
54 void (*collect_cur)(_p); \
56 void (*collect_tot)(_p); \
58 void (*update_tot)(_p); \
60 int (*get_curstat)(_p, int, char [], size_t); \
62 int (*get_totstat)(_p, int, char [], size_t); \
64 void (*print_header)(_p, FILE *); \
66 void (*print_current)(_p, FILE *); \
68 void (*print_total)(_p, FILE *); \
[all …]
/freebsd/sys/i386/include/
H A Dieeefp.h56 fp_rnd_t _p; in fpsetround() local
60 _p = (fp_rnd_t)((_cw & FP_RND_FLD) >> FP_RND_OFF); in fpsetround()
64 return (_p); in fpsetround()
79 fp_prec_t _p; in fpsetprec() local
83 _p = (fp_prec_t)((_cw & FP_PRC_FLD) >> FP_PRC_OFF); in fpsetprec()
87 return (_p); in fpsetprec()
108 fp_except_t _p; in fpsetmask() local
112 _p = (~_cw & FP_MSKS_FLD) >> FP_MSKS_OFF; in fpsetmask()
116 return (_p); in fpsetmask()
138 fp_except_t _p; in fpresetsticky() local
[all …]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Duaccess.h46 #define __get_user(_x, _p) ({ \ argument
48 __typeof(*(_p)) __x; \
49 __err = linux_copyin((_p), &(__x), sizeof(*(_p))); \
54 #define __put_user(_x, _p) ({ \ argument
55 __typeof(*(_p)) __x = (_x); \
56 linux_copyout(&(__x), (_p), sizeof(*(_p))); \
58 #define get_user(_x, _p) linux_copyin((_p), &(_x), sizeof(*(_p))) argument
59 #define put_user(_x, _p) __put_user(_x, _p) argument
H A Daverage.h55 #define DECLARE_EWMA(_name, _p, _d) \ argument
57 CTASSERT((sizeof(unsigned long) <= 4) ? (_p < 30) : (_p < 60)); \
78 ewma->zt = x << (_p); \
80 ewma->zt = ((x << (_p)) >> d) + \
87 return (ewma->zt >> (_p)); \
/freebsd/tools/regression/ipfw/fwd/
H A Dvimage-fwd.sh52 local _p
53 _p="$1"
66 cat ${_p}.1
68 cat ${_p}
76 local _p
77 _p="$1"
79 if test ! -s ${_p}.1; then
81 debug_err ${_p}
83 read line < ${_p}.1
86 if test "${l}" = "${_p}"; then
[all …]
/freebsd/sys/dev/iavf/
H A Diavf_osdep.h84 #define UNREFERENCED_PARAMETER(_p) _p = _p argument
85 #define UNREFERENCED_1PARAMETER(_p) do { \ argument
86 UNREFERENCED_PARAMETER(_p); \
88 #define UNREFERENCED_2PARAMETER(_p, _q) do { \ argument
89 UNREFERENCED_PARAMETER(_p); \
92 #define UNREFERENCED_3PARAMETER(_p, _q, _r) do { \ argument
93 UNREFERENCED_PARAMETER(_p); \
97 #define UNREFERENCED_4PARAMETER(_p, _q, _r, _s) do { \ argument
98 UNREFERENCED_PARAMETER(_p); \
103 #define UNREFERENCED_5PARAMETER(_p, _q, _r, _s, _t) do { \ argument
[all …]
/freebsd/libexec/rc/rc.d/
H A Drfcomm_pppd_server85 local _profile _p
94 for _p in ${_profile} ; do
95 startmsg -n " ${_p}"
96 rfcomm_pppd_server_start_profile ${_p}
104 local _profile _p
113 for _p in ${_profile} ; do
114 echo -n " ${_p}"
115 rfcomm_pppd_server_stop_profile ${_p}
H A Dppp77 local _ppp_profile _p
86 for _p in $_ppp_profile; do
87 startmsg -n " $_p"
88 ppp_start_profile $_p
116 local _ppp_profile _p
125 for _p in $_ppp_profile; do
126 echo -n " $_p"
127 ppp_stop_profile $_p
/freebsd/lib/libc/stdio/
H A Dfgetln.c91 if ((p = memchr((void *)fp->_p, '\n', (size_t)fp->_r)) != NULL) { in fgetln()
98 ret = (char *)fp->_p; in fgetln()
99 *lenp = len = p - fp->_p; in fgetln()
102 fp->_p = p; in fgetln()
126 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p, in fgetln()
134 if ((p = memchr((void *)fp->_p, '\n', (size_t)fp->_r)) == NULL) in fgetln()
139 diff = p - fp->_p; in fgetln()
143 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p, in fgetln()
146 fp->_p = p; in fgetln()
H A Dfvwrite.c64 #define COPY(n) (void)memcpy((void *)fp->_p, (void *)p, (size_t)(n)) in __sfvwrite()
105 size_t blen = fp->_p - fp->_bf._base; in __sfvwrite()
117 fp->_p = fp->_bf._base + blen; in __sfvwrite()
126 fp->_p += w; in __sfvwrite()
129 } else if (fp->_p > fp->_bf._base && len > w) { in __sfvwrite()
133 fp->_p += w; in __sfvwrite()
146 fp->_p += w; in __sfvwrite()
170 if (fp->_p > fp->_bf._base && s > w) { in __sfvwrite()
173 fp->_p += w; in __sfvwrite()
184 fp->_p += w; in __sfvwrite()
H A Dungetc.c68 fp->_p = p; in __submore()
77 fp->_p = p + i; in __submore()
134 *--fp->_p = c; in __ungetc()
145 if (fp->_bf._base != NULL && fp->_p > fp->_bf._base && in __ungetc()
146 fp->_p[-1] == c) { in __ungetc()
147 fp->_p--; in __ungetc()
157 fp->_up = fp->_p; in __ungetc()
161 fp->_p = &fp->_ubuf[sizeof(fp->_ubuf) - 1]; in __ungetc()
H A Dfgetws.c74 src = fp->_p; in fgetws_l()
75 nl = memchr(fp->_p, '\n', fp->_r); in fgetws_l()
77 nl != NULL ? (nl - fp->_p + 1) : fp->_r, in fgetws_l()
92 src = memchr(fp->_p, '\0', fp->_r); in fgetws_l()
95 fp->_r -= (unsigned char *)src - fp->_p; in fgetws_l()
96 fp->_p = (unsigned char *)src; in fgetws_l()
H A Dfread.c107 fp->_bf._base = fp->_p = p; in __fread()
120 fp->_bf._base = fp->_p = fp->_nbuf; in __fread()
129 (void)memcpy((void *)p, (void *)fp->_p, (size_t)r); in __fread()
130 fp->_p += r; in __fread()
140 (void)memcpy((void *)p, (void *)fp->_p, resid); in __fread()
142 fp->_p += resid; in __fread()
H A Dgetdelim.c136 while ((endp = memchr(fp->_p, delim, fp->_r)) == NULL) { in getdelim()
137 if (sappend(linep, &linelen, linecapp, fp->_p, fp->_r)) in getdelim()
166 if (sappend(linep, &linelen, linecapp, fp->_p, endp - fp->_p)) in getdelim()
168 fp->_r -= endp - fp->_p; in getdelim()
169 fp->_p = endp; in getdelim()
H A Dfflush.c112 n = fp->_p - p; /* write this much */ in __sflush()
118 fp->_p = p; in __sflush()
124 if (p > fp->_p) in __sflush()
126 memmove(fp->_p, p, n); in __sflush()
128 fp->_p += n; in __sflush()
/freebsd/sys/net/altq/
H A Daltq_rmclass_debug.h87 int *_p = &cbqtrace_ptr->count; \
88 *_p++ = ++cbqtrace_count; \
89 *_p++ = (int)(func); \
90 *_p++ = (int)(act); \
91 *_p++ = (int)(obj); \
92 if ((struct cbqtrace *)(void *)_p >= &cbqtrace_buffer[NCBQTRACE])\
95 cbqtrace_ptr = (struct cbqtrace *)(void *)_p; \
/freebsd/sys/amd64/include/
H A Dieeefp.h90 fp_rnd_t _p; in __fpsetround() local
95 _p = (fp_rnd_t)((_cw & FP_RND_FLD) >> FP_RND_OFF); in __fpsetround()
103 return (_p); in __fpsetround()
123 fp_prec_t _p; in __fpsetprec() local
127 _p = (fp_prec_t)((_cw & FP_PRC_FLD) >> FP_PRC_OFF); in __fpsetprec()
131 return (_p); in __fpsetprec()
152 fp_except_t _p; in __fpsetmask() local
157 _p = (~_cw & FP_MSKS_FLD) >> FP_MSKS_OFF; in __fpsetmask()
166 return (_p); in __fpsetmask()
/freebsd/sys/dev/etherswitch/arswitch/
H A Darswitchreg.h212 #define AR8X16_CPU_MIRROR_PORT(_p) ((_p) << AR8X16_MIRROR_PORT_SHIFT) argument
239 #define AR8X16_REG_PORT_BASE(_p) (0x0100 + (_p) * 0x0100) argument
241 #define AR8X16_REG_PORT_STS(_p) (AR8X16_REG_PORT_BASE((_p)) + 0x0000) argument
255 #define AR8X16_REG_PORT_CTRL(_p) (AR8X16_REG_PORT_BASE((_p)) + 0x0004) argument
277 #define AR8X16_REG_PORT_VLAN(_p) (AR8X16_REG_PORT_BASE((_p)) + 0x0008) argument
288 #define AR8X16_REG_PORT_RATE_LIM(_p) (AR8X16_REG_PORT_BASE((_p)) + 0x000c) argument
306 #define AR8X16_REG_PORT_PRIORITY(_p) (AR8X16_REG_PORT_BASE((_p)) + 0x0010) argument
308 #define AR8X16_REG_STATS_BASE(_p) (0x20000 + (_p) * 0x100) argument
/freebsd/contrib/openpam/m4/
H A Dax_pkg_config.m491 m4_define([_p], AS_TR_SH([m4_tolower([$1])]))
93 [version], [ax_pc_cv_[]_p[]_version=`"${PKG_CONFIG}" --modversion [$1]`],
94 [cflags], [ax_pc_cv_[]_p[]_cflags=`"${PKG_CONFIG}" --cflags [$1]`],
95 [libs], [ax_pc_cv_[]_p[]_libs=`"${PKG_CONFIG}" --libs [$1]`],
96 [ax_pc_cv_[]_p[]_[$2]=`"${PKG_CONFIG}" --variable=[$2] [$1]`])
112 m4_define([_p], AS_TR_SH([m4_tolower([$1])]))
118 [ax_pc_cv_have_]_p=yes
123 AC_SUBST(_P[_VERSION], [$ax_pc_cv_]_p[_version])
124 AC_MSG_RESULT([${ax_pc_cv_]_p[_version:-unknown}])
128 AC_SUBST(_P[_CFLAGS], [$ax_pc_cv_]_p[_cflags])
[all …]
/freebsd/include/
H A Dstdio.h125 unsigned char *_p; /* (*) current position in (some) buffer */ member
470 #define __sgetc(p) (--(p)->_r < 0 ? __srget(p) : (int)(*(p)->_p++))
472 static __inline int __sputc(int _c, FILE *_p) { in __sputc() argument
473 if (--_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != '\n')) in __sputc()
474 return (*_p->_p++ = _c); in __sputc()
476 return (__swbuf(_c, _p)); in __sputc()
485 (*(p)->_p = (c)), *(p)->_p != '\n' ? \
486 (int)*(p)->_p++ : \
489 (*(p)->_p = (c), (int)*(p)->_p++))
/freebsd/contrib/ntp/sntp/libopts/
H A Dautoopts.h113 #define C(_t,_p) ((_t)VOIDP(_p)) argument
263 #define AGREALOC(_p, _c, _w) ao_realloc(VOIDP(_p), (size_t)_c) argument
264 #define AGFREE(_p) free(VOIDP(_p)) argument
265 #define AGDUPSTR(_p, _s, _w) (_p = ao_strdup(_s)) argument
273 #define ao_free(_p) free(VOIDP(_p)) argument
/freebsd/sys/dev/ice/
H A Dice_osdep.h170 #define UNREFERENCED_PARAMETER(_p) _p = _p argument
171 #define UNREFERENCED_1PARAMETER(_p) do { \ argument
172 UNREFERENCED_PARAMETER(_p); \
174 #define UNREFERENCED_2PARAMETER(_p, _q) do { \ argument
175 UNREFERENCED_PARAMETER(_p); \
178 #define UNREFERENCED_3PARAMETER(_p, _q, _r) do { \ argument
179 UNREFERENCED_PARAMETER(_p); \
183 #define UNREFERENCED_4PARAMETER(_p, _ argument
189 UNREFERENCED_5PARAMETER(_p,_q,_r,_s,_t) global() argument
[all...]
/freebsd/usr.sbin/fwget/
H A Dfwget.sh64 local _p
66 _p=$1
69 "") packages="${_p}" ;;
72 *\ ${_p}\ *) ;; # duplicate
73 *) packages="${packages} ${_p}" ;;
/freebsd/sys/arm/mv/
H A Da37x0_gpio.c69 #define A37X0_GPIO_BIT(_p) (1U << ((_p) % 32)) argument
70 #define A37X0_GPIO_OUT_EN(_p) (0x0 + ((_p) / 32) * 4) argument
71 #define A37X0_GPIO_LATCH(_p) (0x8 + ((_p) / 32) * 4) argument
72 #define A37X0_GPIO_INPUT(_p) (0x10 + ((_p) / 32) * 4) argument
73 #define A37X0_GPIO_OUTPUT(_p) (0x18 + ((_p) / 32) * 4) argument

123456