/freebsd-10-stable/sys/ofed/include/linux/ |
H A D | uaccess.h | 32 #define get_user(_x, _p) -copyin((_p), &(_x), sizeof(*(_p))) 33 #define put_user(_x, _p) -copyout(&(_x), (_p), sizeof(*(_p)))
|
/freebsd-10-stable/etc/autofs/ |
H A D | special_media | 9 local _fstype _fstype_and_label _label _p 11 for _p in ${providers}; do 12 _fstype_and_label="$(fstyp -l "/dev/${_p}" 2> /dev/null)" 26 echo "${_p}" 32 local _fstype _fstype_and_label _label _key _p 42 for _p in ${providers}; do 43 _fstype_and_label="$(fstyp -l "/dev/${_p}" 2> /dev/null)" 62 echo "-fstype=${_fstype},nosuid :/dev/${_p}"
|
/freebsd-10-stable/sys/contrib/altq/altq/ |
H A D | altq_rmclass_debug.h | 89 int *_p = &cbqtrace_ptr->count; \ 90 *_p++ = ++cbqtrace_count; \ 91 *_p++ = (int)(func); \ 92 *_p++ = (int)(act); \ 93 *_p++ = (int)(obj); \ 94 if ((struct cbqtrace *)(void *)_p >= &cbqtrace_buffer[NCBQTRACE])\ 97 cbqtrace_ptr = (struct cbqtrace *)(void *)_p; \
|
/freebsd-10-stable/sys/dev/vxge/include/ |
H A D | vxge-list.h | 162 #define vxge_list_for_each(_p, _h) \ 163 for (_p = (_h)->next, vxge_os_prefetch(_p->next); _p != (_h); \ 164 _p = _p->next, vxge_os_prefetch(_p->next)) 166 #define vxge_list_for_each_safe(_p, _n, _h) \ 167 for (_p = (_h)->next, _n = _p [all...] |
/freebsd-10-stable/tools/tools/ath/athaggrstats/ |
H A D | statfoo.h | 50 #define STATFOO_DECL_METHODS(_p) \ 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, FIL [all...] |
/freebsd-10-stable/tools/tools/ath/athstats/ |
H A D | statfoo.h | 50 #define STATFOO_DECL_METHODS(_p) \ 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, FIL [all...] |
/freebsd-10-stable/tools/tools/mwl/mwlstats/ |
H A D | statfoo.h | 50 #define STATFOO_DECL_METHODS(_p) \ 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, FIL [all...] |
/freebsd-10-stable/tools/tools/net80211/wlanstats/ |
H A D | statfoo.h | 50 #define STATFOO_DECL_METHODS(_p) \ 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, FIL [all...] |
/freebsd-10-stable/tools/tools/npe/npestats/ |
H A D | statfoo.h | 50 #define STATFOO_DECL_METHODS(_p) \ 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, FIL [all...] |
/freebsd-10-stable/etc/rc.d/ |
H A D | rfcomm_pppd_server | 85 local _profile _p 94 for _p in ${_profile} ; do 95 echo -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 D | ppp | 77 local _ppp_profile _p 86 for _p in $_ppp_profile; do 87 echo -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-10-stable/sys/dev/nxge/include/ |
H A D | xge-list.h | 158 #define xge_list_for_each(_p, _h) \ 159 for (_p = (_h)->next, xge_os_prefetch(_p->next); _p != (_h); \ 160 _p = _p->next, xge_os_prefetch(_p->next)) 162 #define xge_list_for_each_safe(_p, _n, _h) \ 163 for (_p = (_h)->next, _n = _p [all...] |
/freebsd-10-stable/sys/i386/include/ |
H A D | ieeefp.h | 158 fp_rnd_t _p; local 162 _p = (fp_rnd_t)((_cw & FP_RND_FLD) >> FP_RND_OFF); 166 return (_p); 181 fp_prec_t _p; local 185 _p = (fp_prec_t)((_cw & FP_PRC_FLD) >> FP_PRC_OFF); 189 return (_p); 210 fp_except_t _p; local 214 _p = (~_cw & FP_MSKS_FLD) >> FP_MSKS_OFF; 218 return (_p); 240 fp_except_t _p; local [all...] |
/freebsd-10-stable/lib/libc/stdio/ |
H A D | rget.c | 52 return (*fp->_p++);
|
H A D | fgetln.c | 102 if ((p = memchr((void *)fp->_p, '\n', (size_t)fp->_r)) != NULL) { 109 ret = (char *)fp->_p; 110 *lenp = len = p - fp->_p; 113 fp->_p = p; 137 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p, 145 if ((p = memchr((void *)fp->_p, '\n', (size_t)fp->_r)) == NULL) 150 diff = p - fp->_p; 154 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p, 157 fp->_p = p;
|
H A D | fflush.c | 114 n = fp->_p - p; /* write this much */ 120 fp->_p = p; 126 /* Reset _p and _w. */ 127 if (p > fp->_p) { 129 memmove(fp->_p, p, n); 130 fp->_p += n;
|
H A D | fgetws.c | 75 src = fp->_p; 76 nl = memchr(fp->_p, '\n', fp->_r); 78 nl != NULL ? (nl - fp->_p + 1) : fp->_r, 93 src = memchr(fp->_p, '\0', fp->_r); 96 fp->_r -= (unsigned char *)src - fp->_p; 97 fp->_p = (unsigned char *)src;
|
H A D | ungetc.c | 50 * Expand the ungetc buffer `in place'. That is, adjust fp->_p when 72 fp->_p = p; 81 fp->_p = p + i; 138 *--fp->_p = c; 149 if (fp->_bf._base != NULL && fp->_p > fp->_bf._base && 150 fp->_p[-1] == c) { 151 fp->_p--; 161 fp->_up = fp->_p; 165 fp->_p = &fp->_ubuf[sizeof(fp->_ubuf) - 1];
|
H A D | fread.c | 101 (void)memcpy((void *)p, (void *)fp->_p, (size_t)r); 102 fp->_p += r; 111 (void)memcpy((void *)p, (void *)fp->_p, resid); 113 fp->_p += resid;
|
H A D | fvwrite.c | 68 #define COPY(n) (void)memcpy((void *)fp->_p, (void *)p, (size_t)(n)) 109 size_t blen = fp->_p - fp->_bf._base; 121 fp->_p = fp->_bf._base + blen; 130 fp->_p += w; 133 } else if (fp->_p > fp->_bf._base && len > w) { 137 fp->_p += w; 150 fp->_p += w; 174 if (fp->_p > fp->_bf._base && s > w) { 177 fp->_p += w; 188 fp->_p [all...] |
H A D | getdelim.c | 136 while ((endp = memchr(fp->_p, delim, fp->_r)) == NULL) { 137 if (sappend(linep, &linelen, linecapp, fp->_p, fp->_r)) 146 if (sappend(linep, &linelen, linecapp, fp->_p, endp - fp->_p)) 148 fp->_r -= endp - fp->_p; 149 fp->_p = endp;
|
/freebsd-10-stable/contrib/gcc/ |
H A D | xcoffout.h | 83 const char *_p = XSTR (ADDR, 0); \ 84 if (*_p == '*') \ 85 fputs (_p+1, asm_out_file); \ 87 for (; *_p != '[' && *_p; _p++) \ 88 putc (*_p, asm_out_file); \
|
/freebsd-10-stable/tools/regression/ipfw/fwd/ |
H A D | vimage-fwd.sh | 53 local _p 54 _p="$1" 67 cat ${_p}.1 69 cat ${_p} 77 local _p 78 _p="$1" 80 if test ! -s ${_p}.1; then 82 debug_err ${_p} 84 read line < ${_p}.1 87 if test "${l}" = "${_p}"; the [all...] |
/freebsd-10-stable/contrib/ntp/sntp/libopts/ |
H A D | autoopts.h | 110 #define C(_t,_p) ((_t)VOIDP(_p)) 260 #define AGREALOC(_p, _c, _w) ao_realloc(VOIDP(_p), (size_t)_c) 261 #define AGFREE(_p) free(VOIDP(_p)) 262 #define AGDUPSTR(_p, _s, _w) (_p = ao_strdup(_s)) 270 #define ao_free(_p) free(VOIDP(_p)) [all...] |
/freebsd-10-stable/sys/amd64/include/ |
H A D | ieeefp.h | 188 fp_rnd_t _p; local 193 _p = (fp_rnd_t)((_cw & FP_RND_FLD) >> FP_RND_OFF); 201 return (_p); 221 fp_prec_t _p; local 225 _p = (fp_prec_t)((_cw & FP_PRC_FLD) >> FP_PRC_OFF); 229 return (_p); 250 fp_except_t _p; local 255 _p = (~_cw & FP_MSKS_FLD) >> FP_MSKS_OFF; 264 return (_p);
|