Searched refs:_r (Results 1 - 25 of 66) sorted by relevance

123

/freebsd-9.3-release/sys/xen/interface/io/
H A Dring.h163 #define FRONT_RING_INIT(_r, _s, __size) do { \
164 (_r)->req_prod_pvt = 0; \
165 (_r)->rsp_cons = 0; \
166 (_r)->nr_ents = __RING_SIZE(_s, __size); \
167 (_r)->sring = (_s); \
170 #define BACK_RING_INIT(_r, _s, __size) do { \
171 (_r)->rsp_prod_pvt = 0; \
172 (_r)->req_cons = 0; \
173 (_r)->nr_ents = __RING_SIZE(_s, __size); \
174 (_r)
[all...]
H A Dblkif.h566 #define BLKRING_GET_SEG_BLOCK(_r, _idx) \
567 (((blkif_segment_block_t *)RING_GET_REQUEST(_r, _idx))->seg)
/freebsd-9.3-release/sys/dev/ath/ath_rate/sample/
H A Dtx_schedules.h43 #define A(_r) \
44 (((_r) == 6) ? 0 : (((_r) == 9) ? 1 : (((_r) == 12) ? 2 : \
45 (((_r) == 18) ? 3 : (((_r) == 24) ? 4 : (((_r) == 36) ? 5 : \
46 (((_r) == 48) ? 6 : (((_r) == 54) ? 7 : 0))))))))
58 #define NA1(_r) \
[all...]
/freebsd-9.3-release/contrib/bind9/lib/isc/include/isc/
H A Dregion.h59 isc_region_t *_r = (r); \
61 INSIST(_r->length >= _l); \
62 _r->base += _l; \
63 _r->length -= _l; \
68 isc_textregion_t *_r = (r); \
70 INSIST(_r->length >= _l); \
71 _r->base += _l; \
72 _r->length -= _l; \
77 isc_constregion_t *_r = (r); \
79 INSIST(_r
[all...]
H A Dbuffer.h706 #define ISC__BUFFER_REGION(_b, _r) \
708 (_r)->base = (_b)->base; \
709 (_r)->length = (_b)->length; \
712 #define ISC__BUFFER_USEDREGION(_b, _r) \
714 (_r)->base = (_b)->base; \
715 (_r)->length = (_b)->used; \
718 #define ISC__BUFFER_AVAILABLEREGION(_b, _r) \
720 (_r)->base = isc_buffer_used(_b); \
721 (_r)->length = isc_buffer_availablelength(_b); \
745 #define ISC__BUFFER_CONSUMEDREGION(_b, _r) \
[all...]
/freebsd-9.3-release/contrib/ntp/lib/isc/include/isc/
H A Dregion.h58 isc_region_t *_r = (r); \
60 INSIST(_r->length >= _l); \
61 _r->base += _l; \
62 _r->length -= _l; \
67 isc_textregion_t *_r = (r); \
69 INSIST(_r->length >= _l); \
70 _r->base += _l; \
71 _r->length -= _l; \
76 isc_constregion_t *_r = (r); \
78 INSIST(_r
[all...]
H A Dbuffer.h711 #define ISC__BUFFER_REGION(_b, _r) \
713 (_r)->base = (_b)->base; \
714 (_r)->length = (_b)->length; \
717 #define ISC__BUFFER_USEDREGION(_b, _r) \
719 (_r)->base = (_b)->base; \
720 (_r)->length = (_b)->used; \
723 #define ISC__BUFFER_AVAILABLEREGION(_b, _r) \
725 (_r)->base = isc_buffer_used(_b); \
726 (_r)->length = isc_buffer_availablelength(_b); \
750 #define ISC__BUFFER_CONSUMEDREGION(_b, _r) \
[all...]
/freebsd-9.3-release/lib/libc/stdio/
H A Drget.c51 fp->_r--;
H A Dfgetwc.c78 if (fp->_r <= 0 && __srefill(fp))
83 fp->_r--;
87 nconv = l->__mbrtowc(&wc, fp->_p, fp->_r, &fp->_mbstate);
98 fp->_r--;
102 fp->_r -= nconv;
H A Dfgetws.c63 if (fp->_r <= 0 && __srefill(fp))
69 nl = memchr(fp->_p, '\n', fp->_r);
71 nl != NULL ? (nl - fp->_p + 1) : fp->_r,
84 src = memchr(fp->_p, '\0', fp->_r);
87 fp->_r -= (unsigned char *)src - fp->_p;
91 } while (wsp[-1] != L'\n' && n > 1 && (fp->_r > 0 ||
H A Drefill.c77 fp->_r = 0; /* largely a convenience for callers */
108 if ((fp->_r = fp->_ur) != 0) {
134 fp->_r = _sread(fp, (char *)fp->_p, fp->_bf._size);
136 if (fp->_r <= 0) {
137 if (fp->_r == 0)
140 fp->_r = 0;
H A Dfgets.c72 if ((len = fp->_r) <= 0) {
81 len = fp->_r;
96 fp->_r -= len;
103 fp->_r -= len;
H A Dfread.c96 if (fp->_r < 0)
97 fp->_r = 0;
100 while (resid > (r = fp->_r)) {
103 /* fp->_r = 0 ... done in __srefill */
112 fp->_r -= resid;
H A Dfgetln.c88 if (fp->_r <= 0 && __srefill(fp)) {
95 if ((p = memchr((void *)fp->_p, '\n', (size_t)fp->_r)) != NULL) {
107 fp->_r -= len;
123 for (len = fp->_r, off = 0;; len += fp->_r) {
138 if ((p = memchr((void *)fp->_p, '\n', (size_t)fp->_r)) == NULL)
149 fp->_r -= diff;
H A Dungetc.c136 if (fp->_r >= fp->_ub._size && __submore(fp))
139 fp->_r++;
152 fp->_r++;
160 fp->_ur = fp->_r;
166 fp->_r = 1;
H A Dvfscanf.c172 while ((fp->_r > 0 || __srefill(fp) == 0) && isspace(*fp->_p))
173 nread++, fp->_r--, fp->_p++;
188 if (fp->_r <= 0 && __srefill(fp))
192 fp->_r--, fp->_p++;
337 if (fp->_r <= 0 && __srefill(fp))
347 if (--fp->_r > 0)
381 fp->_r--;
397 if (fp->_r <= 0 && __srefill(fp)) {
410 if ((n = fp->_r) < width) {
421 fp->_r
[all...]
H A Dfpurge.c64 fp->_r = 0;
H A Dgetdelim.c126 if (fp->_r <= 0 && __srefill(fp)) {
136 while ((endp = memchr(fp->_p, delim, fp->_r)) == NULL) {
137 if (sappend(linep, &linelen, linecapp, fp->_p, fp->_r))
148 fp->_r -= endp - fp->_p;
H A Dftell.c117 if ((pos -= (HASUB(fp) ? fp->_ur : fp->_r)) < 0) {
123 pos -= fp->_r; /* Can be negative at this point. */
H A Dfseek.c235 curoff += fp->_r; /* kill off ungetc */
242 n += fp->_r;
254 fp->_r = n - o;
274 fp->_r = 0;
280 if (__srefill(fp) || fp->_r < n)
283 fp->_r -= n;
306 fp->_r = 0;
/freebsd-9.3-release/usr.sbin/mtree/test/
H A Dtest03.sh27 mtree -c -K $K -p .. > ${TMP}/_r
43 if mtree -f ${TMP}/_r -f ${TMP}/_r2 ; then
50 if mtree -f ${TMP}/_r -f ${TMP}/_t > ${TMP}/_ ; then
H A Dtest04.sh24 mtree -c -p ${TMP}/mr > ${TMP}/_r
27 if mtree -f ${TMP}/_r -f ${TMP}/_t > ${TMP}/_ ; then
38 if mtree -f ${TMP}/_t -f ${TMP}/_r > ${TMP}/_ ; then
/freebsd-9.3-release/sys/sys/
H A Drman.h146 void rman_set_bushandle(struct resource *_r, bus_space_handle_t _h);
147 void rman_set_bustag(struct resource *_r, bus_space_tag_t _t);
148 void rman_set_device(struct resource *_r, struct device *_dev);
149 void rman_set_end(struct resource *_r, u_long _end);
150 void rman_set_rid(struct resource *_r, int _rid);
151 void rman_set_start(struct resource *_r, u_long _start);
152 void rman_set_virtual(struct resource *_r, void *_v);
/freebsd-9.3-release/sys/dev/ath/ath_hal/
H A Dah_internal.h371 #define ath_hal_eepromDiag(_ah, _request, _a, _asize, _r, _rsize) \
372 AH_PRIVATE(_ah)->ah_eepromDiag(_ah, _request, _a, _asize, _r, _rsize)
466 #define OS_REG_RMW(_a, _r, _set, _clr) \
467 OS_REG_WRITE(_a, _r, (OS_REG_READ(_a, _r) & ~(_clr)) | (_set))
468 #define OS_REG_RMW_FIELD(_a, _r, _f, _v) \
469 OS_REG_WRITE(_a, _r, \
470 (OS_REG_READ(_a, _r) &~ (_f)) | (((_v) << _f##_S) & (_f)))
471 #define OS_REG_SET_BIT(_a, _r, _f) \
472 OS_REG_WRITE(_a, _r, OS_REG_REA
[all...]
/freebsd-9.3-release/contrib/gcc/config/soft-fp/
H A Dop-1.h205 _FP_W_TYPE _q, _r; \
209 doit(_q, _r, X##_f, Y##_f); \
210 R##_f = _q | (_r != 0); \
220 _FP_W_TYPE _nh, _nl, _q, _r, _y; \
238 udiv_qrnnd(_q, _r, _nh, _nl, _y); \
239 R##_f = _q | (_r != 0); \
244 _FP_W_TYPE _nh, _nl, _q, _r; \
256 udiv_qrnnd(_q, _r, _nh, _nl, Y##_f); \
257 R##_f = _q | (_r != 0); \

Completed in 110 milliseconds

123