Home
last modified time | relevance | path

Searched refs:l (Results 1 – 25 of 1381) sorted by relevance

12345678910>>...56

/illumos-gate/usr/src/boot/common/linenoise/
H A Dlinenoise.c442 l->oldpos = l->pos; in refreshMultiLine()
476 memmove(l->buf+l->pos+1,l->buf+l->pos,l->len-l->pos); in linenoiseEditInsert()
545 l->len = l->pos = strlen(l->buf); in linenoiseEditHistoryNext()
554 if (l->len > 0 && l->pos < l->len) { in linenoiseEditDelete()
555 memmove(l->buf+l->pos,l->buf+l->pos+1,l->len-l->pos-1); in linenoiseEditDelete()
566 memmove(l->buf+l->pos-1,l->buf+l->pos,l->len-l->pos); in linenoiseEditBackspace()
581 while (l->pos > 0 && l->buf[l->pos-1] == ' ') in linenoiseEditDeletePrevWord()
583 while (l->pos > 0 && l->buf[l->pos-1] != ' ') in linenoiseEditDeletePrevWord()
586 memmove(l->buf+l->pos,l->buf+old_pos,l->len-old_pos+1); in linenoiseEditDeletePrevWord()
664 if (l.pos > 0 && l.pos < l.len) { in linenoiseEdit()
[all …]
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfksmbfs_rwlock.c71 l->count--; in smbfs_rw_enter_sig()
79 while (l->count < 0 || l->waiters > 0) { in smbfs_rw_enter_sig()
82 (void) cv_wait_sig(&l->cv, &l->lock); in smbfs_rw_enter_sig()
84 cv_wait(&l->cv, &l->lock); in smbfs_rw_enter_sig()
90 "rwlock @ %p\n", l->count, (void *)&l); in smbfs_rw_enter_sig()
103 while (l->count > 0 || l->owner != NULL) { in smbfs_rw_enter_sig()
107 if (!cv_wait_sig(&l->cv, &l->lock)) { in smbfs_rw_enter_sig()
114 cv_wait(&l->cv, &l->lock); in smbfs_rw_enter_sig()
149 if (l->count < 0 || l->waiters > 0) { in smbfs_rw_tryenter()
161 if (l->count > 0 || l->owner != NULL) { in smbfs_rw_tryenter()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_rwlock.c71 l->count--; in smbfs_rw_enter_sig()
79 while (l->count < 0 || l->waiters > 0) { in smbfs_rw_enter_sig()
85 if (!cv_wait_sig(&l->cv, &l->lock)) { in smbfs_rw_enter_sig()
94 cv_wait(&l->cv, &l->lock); in smbfs_rw_enter_sig()
100 "rwlock @ %p\n", l->count, (void *)&l); in smbfs_rw_enter_sig()
113 while (l->count > 0 || l->owner != NULL) { in smbfs_rw_enter_sig()
120 if (!cv_wait_sig(&l->cv, &l->lock)) { in smbfs_rw_enter_sig()
131 cv_wait(&l->cv, &l->lock); in smbfs_rw_enter_sig()
166 if (l->count < 0 || l->waiters > 0) { in smbfs_rw_tryenter()
178 if (l->count > 0 || l->owner != NULL) { in smbfs_rw_tryenter()
[all …]
/illumos-gate/usr/src/lib/libc/sparc/fp/
H A D_Q_fcc.c67 return ((x->l.msw ^ y->l.msw | x->l.frac2 ^ y->l.frac2 | in _Q_feq()
68 x->l.frac3 ^ y->l.frac3 | x->l.frac4 ^ y->l.frac4) == 0); in _Q_feq()
98 return ((x->l.msw ^ y->l.msw | x->l.frac2 ^ y->l.frac2 | in _Q_fne()
99 x->l.frac3 ^ y->l.frac3 | x->l.frac4 ^ y->l.frac4) != 0); in _Q_fne()
137 x->l.frac2 == y->l.frac2 && (x->l.frac3 > y->l.frac3 || in _Q_flt()
138 x->l.frac3 == y->l.frac3 && x->l.frac4 > y->l.frac4))); in _Q_flt()
141 x->l.frac2 == y->l.frac2 && (x->l.frac3 < y->l.frac3 || in _Q_flt()
142 x->l.frac3 == y->l.frac3 && x->l.frac4 < y->l.frac4))); in _Q_flt()
181 x->l.frac2 == y->l.frac2 && (x->l.frac3 > y->l.frac3 || in _Q_fle()
185 x->l.frac2 == y->l.frac2 && (x->l.frac3 < y->l.frac3 || in _Q_fle()
[all …]
H A D_Q_qtou.c54 if ((x->l.frac2 & 0x1ffff) | x->l.frac3 | x->l.frac4) { in _Q_qtou()
61 z.l.frac2 = x->l.frac2; in _Q_qtou()
62 z.l.frac3 = x->l.frac3; in _Q_qtou()
63 z.l.frac4 = x->l.frac4; in _Q_qtou()
66 z.l.msw = x->l.frac2; in _Q_qtou()
67 z.l.frac2 = x->l.frac3; in _Q_qtou()
68 z.l.frac3 = x->l.frac4; in _Q_qtou()
72 z.l.msw = x->l.frac3; in _Q_qtou()
73 z.l.frac2 = x->l.frac4; in _Q_qtou()
76 z.l.msw = x->l.frac4; in _Q_qtou()
[all …]
H A D_Q_qtod.c57 if ((xm & 0xffff) | x->l.frac2 | x->l.frac3 | in _Q_qtod()
63 u.l.lo = (x->l.frac2 << 4) | in _Q_qtod()
78 u.l.hi = (x->l.msw & 0x80000000) | 0x7ff00000; in _Q_qtod()
90 u.l.hi |= (x->l.msw & 0x80000000); in _Q_qtod()
105 u.l.hi = (x->l.msw & 0x80000000); in _Q_qtod()
110 u.l.hi = (x->l.msw & 0x80000000); in _Q_qtod()
125 u.l.lo = (x->l.frac2 << 3) | (x->l.frac3 >> 29); in _Q_qtod()
132 u.l.lo = u.l.hi; in _Q_qtod()
139 u.l.lo = (u.l.lo >> e) | (u.l.hi << (32 - e)); in _Q_qtod()
145 u.l.lo = (x->l.frac2 << 4) | (x->l.frac3 >> 28); in _Q_qtod()
[all …]
H A D_Q_qtos.c43 unsigned int l; in _Q_qtos() member
60 if ((xm & 0xffff) | x->l.frac2 | x->l.frac3 | in _Q_qtos()
63 u.l = (x->l.msw & 0x80000000) | 0x7fc00000; in _Q_qtos()
79 u.l = (x->l.msw & 0x80000000) | 0x7f800000; in _Q_qtos()
87 u.l |= (x->l.msw & 0x80000000); in _Q_qtos()
102 u.l = (x->l.msw & 0x80000000); in _Q_qtos()
107 u.l |= (x->l.msw & 0x80000000); in _Q_qtos()
124 x->l.frac3 | x->l.frac4; in _Q_qtos()
128 u.l = ((xm - 0x3f800000) << 7) | (x->l.frac2 >> 25); in _Q_qtos()
130 sticky = (x->l.frac2 & 0xffffff) | x->l.frac3 | x->l.frac4; in _Q_qtos()
[all …]
H A D__quad_mag.c71 frac2 = x->l.frac2; in __quad_mag_add()
72 frac3 = x->l.frac3; in __quad_mag_add()
73 frac4 = x->l.frac4; in __quad_mag_add()
74 sticky = ly | y->l.frac2 | y->l.frac3 | y->l.frac4; in __quad_mag_add()
76 frac2 = y->l.frac2; in __quad_mag_add()
149 if (z->l.msw) in __quad_mag_add()
175 z->l.frac2 = z->l.frac3 = z->l.frac4 = 0; in __quad_mag_add()
178 z->l.frac2 = z->l.frac3 = z->l.frac4 = 0xffffffff; in __quad_mag_add()
231 sticky = ly | y->l.frac2 | y->l.frac3 | y->l.frac4; in __quad_mag_sub()
323 z->l.frac2 = z->l.frac3 = z->l.frac4 = 0; in __quad_mag_sub()
[all …]
H A D_Q_mul.c96 sign = (x->l.msw ^ y->l.msw) & ~0x7fffffff; in _Qp_mul()
157 Z.l.frac2 = Z.l.frac3 = in _Qp_mul()
167 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_mul()
177 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0xffffffff; in _Qp_mul()
185 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_mul()
193 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_mul()
215 } else if (x->l.frac2 | (x->l.frac3 & 0xfffe0000)) { in _Qp_mul()
221 } else if (x->l.frac3 | (x->l.frac4 & 0xfffe0000)) { in _Qp_mul()
254 } else if (y->l.frac2 | (y->l.frac3 & 0xfffe0000)) { in _Qp_mul()
431 z.l.frac2 = z.l.frac3 = z.l.frac4 = 0; in _Qp_mul()
[all …]
H A D_Q_sub.c59 if (ym > xm || ym == xm && (oy->l.frac2 > ox->l.frac2 || in _Qp_sub()
60 oy->l.frac2 == ox->l.frac2 && (oy->l.frac3 > ox->l.frac3 || in _Qp_sub()
61 oy->l.frac3 == ox->l.frac3 && oy->l.frac4 > ox->l.frac4))) { in _Qp_sub()
82 if ((ym & 0xffff) | y->l.frac2 | y->l.frac3 | in _Qp_sub()
103 if (!((xm & 0xffff) | x->l.frac2 | x->l.frac3 | in _Qp_sub()
106 if (!((x->l.msw ^ y->l.msw) & 0x80000000)) { in _Qp_sub()
112 Z.l.frac2 = Z.l.frac3 = in _Qp_sub()
126 if ((xm & 0xffff) | x->l.frac2 | x->l.frac3 | x->l.frac4) { in _Qp_sub()
146 Z.l.msw ^= flip; in _Qp_sub()
152 z.l.msw = (x->l.msw & 0x80000000) ^ flip; in _Qp_sub()
[all …]
H A D_Q_cmp.c76 if (x->l.frac2 > y->l.frac2) in _Q_cmp()
78 if (x->l.frac2 < y->l.frac2) in _Q_cmp()
80 if (x->l.frac3 > y->l.frac3) in _Q_cmp()
82 if (x->l.frac3 < y->l.frac3) in _Q_cmp()
84 if (x->l.frac4 > y->l.frac4) in _Q_cmp()
94 if (x->l.frac2 < y->l.frac2) in _Q_cmp()
96 if (x->l.frac2 > y->l.frac2) in _Q_cmp()
98 if (x->l.frac3 < y->l.frac3) in _Q_cmp()
100 if (x->l.frac3 > y->l.frac3) in _Q_cmp()
102 if (x->l.frac4 < y->l.frac4) in _Q_cmp()
[all …]
H A D_Q_div.c114 sign = (x->l.msw ^ y->l.msw) & ~0x7fffffff; in _Qp_div()
175 Z.l.frac2 = Z.l.frac3 = in _Qp_div()
185 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_div()
190 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_div()
203 Z.l.frac2 = Z.l.frac3 = in _Qp_div()
213 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_div()
222 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_div()
247 } else if (x->l.frac2 | (x->l.frac3 & 0xfffe0000)) { in _Qp_div()
253 } else if (x->l.frac3 | (x->l.frac4 & 0xfffe0000)) { in _Qp_div()
518 z.l.frac2 = z.l.frac3 = z.l.frac4 = 0; in _Qp_div()
[all …]
H A D_Q_add.c58 if (ym > xm || ym == xm && (oy->l.frac2 > ox->l.frac2 || in _Qp_add()
59 oy->l.frac2 == ox->l.frac2 && (oy->l.frac3 > ox->l.frac3 || in _Qp_add()
60 oy->l.frac3 == ox->l.frac3 && oy->l.frac4 > ox->l.frac4))) { in _Qp_add()
79 if ((ym & 0xffff) | y->l.frac2 | y->l.frac3 | in _Qp_add()
80 y->l.frac4) { in _Qp_add()
100 if (!((xm & 0xffff) | x->l.frac2 | x->l.frac3 | in _Qp_add()
103 if ((x->l.msw ^ y->l.msw) & 0x80000000) { in _Qp_add()
109 Z.l.frac2 = Z.l.frac3 = in _Qp_add()
122 if ((xm & 0xffff) | x->l.frac2 | x->l.frac3 | x->l.frac4) { in _Qp_add()
147 z.l.msw = (x->l.msw & 0x80000000); in _Qp_add()
[all …]
H A D_Q_cmpe.c73 if (x->l.frac2 > y->l.frac2) in _Q_cmpe()
75 if (x->l.frac2 < y->l.frac2) in _Q_cmpe()
77 if (x->l.frac3 > y->l.frac3) in _Q_cmpe()
79 if (x->l.frac3 < y->l.frac3) in _Q_cmpe()
81 if (x->l.frac4 > y->l.frac4) in _Q_cmpe()
91 if (x->l.frac2 < y->l.frac2) in _Q_cmpe()
93 if (x->l.frac2 > y->l.frac2) in _Q_cmpe()
95 if (x->l.frac3 < y->l.frac3) in _Q_cmpe()
97 if (x->l.frac3 > y->l.frac3) in _Q_cmpe()
99 if (x->l.frac4 < y->l.frac4) in _Q_cmpe()
[all …]
H A D_Q_dtoq.c61 if ((u.l.hi & 0xfffff) | u.l.lo) { in _Qp_dtoq()
64 lhi = u.l.hi & 0xfffff; in _Qp_dtoq()
65 llo = u.l.lo; in _Qp_dtoq()
71 u.l.hi = (u.l.hi & 0x80000000) | lhi; in _Qp_dtoq()
72 u.l.lo = llo; in _Qp_dtoq()
79 if (((u.l.hi & 0x7ffff) | u.l.lo) && (u.l.hi & 0x80000) == 0) { in _Qp_dtoq()
89 u.l.hi |= 0x80000; in _Qp_dtoq()
92 Z.l.msw = m | (u.l.hi & 0x80000000) | ((u.l.hi & 0xffff0) >> 4); in _Qp_dtoq()
93 Z.l.frac2 = (u.l.hi << 28) | (u.l.lo >> 4); in _Qp_dtoq()
94 Z.l.frac3 = u.l.lo << 28; in _Qp_dtoq()
[all …]
H A D_Q_lltoq.c45 Z.l.msw = 0xc03e0000; in _Q_lltoq()
46 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Q_lltoq()
52 Z.l.msw = Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Q_lltoq()
61 Z.l.msw = ((unsigned long long) x >> (e - 16)) & 0xffff; in _Q_lltoq()
62 Z.l.frac2 = (unsigned long long) x >> (e - 48); in _Q_lltoq()
63 Z.l.frac3 = (unsigned long long) x << (80 - e); in _Q_lltoq()
66 Z.l.frac2 = (unsigned long long) x << (48 - e); in _Q_lltoq()
67 Z.l.frac3 = 0; in _Q_lltoq()
70 Z.l.frac2 = Z.l.frac3 = 0; in _Q_lltoq()
72 Z.l.frac4 = 0; in _Q_lltoq()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Drwstlock.c95 RWST_READ_ENTER(l); in rwst_enter_common()
99 while (RWST_HELD(l)) { in rwst_enter_common()
125 RWST_WRITE_ENTER(l); in rwst_enter_common()
133 rwst_exit(rwstlock_t *l) in rwst_exit() argument
138 RWST_WRITE_EXIT(l); in rwst_exit()
142 RWST_READ_EXIT(l); in rwst_exit()
145 RWST_READ_WAKE_ALL(l); in rwst_exit()
146 else if (!RWST_HELD(l)) in rwst_exit()
147 RWST_WRITE_WAKE_ONE(l); in rwst_exit()
182 l->rwst_count = 0; in rwst_init()
[all …]
/illumos-gate/usr/src/lib/libc/sparcv9/fp/
H A D_Qp_qtoux.c58 z.l.frac2 = x->l.frac2; in _Qp_qtoux()
59 z.l.frac3 = x->l.frac3; in _Qp_qtoux()
60 z.l.frac4 = x->l.frac4; in _Qp_qtoux()
63 z.l.msw = x->l.frac2; in _Qp_qtoux()
64 z.l.frac2 = x->l.frac3; in _Qp_qtoux()
65 z.l.frac3 = x->l.frac4; in _Qp_qtoux()
69 z.l.msw = x->l.frac3; in _Qp_qtoux()
70 z.l.frac2 = x->l.frac4; in _Qp_qtoux()
73 z.l.msw = x->l.frac4; in _Qp_qtoux()
74 z.l.frac2 = z.l.frac3 = in _Qp_qtoux()
[all …]
/illumos-gate/usr/src/uts/common/sys/tsol/
H A Dlabel_macro.h185 (l)->_comps.c1 = (l)->_comps.c2 = (l)->_comps.c3 = (l)->_comps.c4 = \
186 (l)->_comps.c5 = (l)->_comps.c6 = (l)->_comps.c7 = (l)->_comps.c8 = \
191 (l)->_comps.c1 = (l)->_comps.c2 = (l)->_comps.c3 = (l)->_comps.c4 = \
192 (l)->_comps.c5 = (l)->_comps.c6 = (l)->_comps.c7 = (l)->_comps.c8 = \
285 (l)->_comps.c1 = (l)->_comps.c2 = (l)->_comps.c3 = (l)->_comps.c4 = \
286 (l)->_comps.c5 = (l)->_comps.c6 = (l)->_comps.c7 = (l)->_comps.c8 = \
294 (l)->_comps.c1 = (l)->_comps.c2 = (l)->_comps.c3 = (l)->_comps.c4 = \
295 (l)->_comps.c5 = (l)->_comps.c6 = (l)->_comps.c7 = (l)->_comps.c8 = \
304 (l)->_icomps.c1 = (l)->_icomps.c2 = (l)->_icomps.c3 = \
305 (l)->_icomps.c4 = (l)->_icomps.c5 = (l)->_icomps.c6 = \
[all …]
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dhpet_acpi.h139 #define HPET_GCAP_CNTR_CLK_PERIOD(l) (l >> 32) argument
140 #define HPET_GCAP_VENDOR_ID(l) BITX(l, 31, 16) argument
143 #define HPET_GCAP_NUM_TIM_CAP(l) BITX(l, 12, 8) argument
144 #define HPET_GCAP_REV_ID(l) BITX(l, 7, 0) argument
181 #define HPET_GIS_T2_INT_STS(l) BITX(l, 2, 2) argument
182 #define HPET_GIS_T1_INT_STS(l) BITX(l, 1, 1) argument
183 #define HPET_GIS_T0_INT_STS(l) BITX(l, 0, 0) argument
184 #define HPET_GIS_TN_INT_STS(l, n) BITX(l, n, n) argument
211 #define HPET_TIMER_N_INT_ROUTE_CAP(l) (l >> 32) argument
214 #define HPET_TIMER_N_TYPE_CNF(l) BITX(l, 3, 3) argument
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Drwstlock.h58 #define RWST_HELD(l) ((l)->rwst_count != 0) argument
59 #define RWST_READ_HELD(l) ((l)->rwst_count > 0) argument
60 #define RWST_WRITE_HELD(l) ((l)->rwst_count < 0) argument
63 #define RWST_OWNER(l) (RWST_WRITE_HELD(l) ? \ argument
65 #define RWST_READ_WANTED(l) CV_HAS_WAITERS(&(l)->rwst_rcv) argument
69 #define RWST_READ_WAIT(l, f) RWST_WAIT(&(l)->rwst_rcv, &(l)->rwst_lock, f) argument
70 #define RWST_WRITE_WAIT(l, f) RWST_WAIT(&(l)->rwst_wcv, &(l)->rwst_lock, f) argument
72 #define RWST_WRITE_WAKE_ONE(l) cv_signal(&(l)->rwst_wcv) argument
73 #define RWST_READ_ENTER(l) (l)->rwst_count++ argument
75 #define RWST_READ_EXIT(l) (l)->rwst_count-- argument
[all …]
/illumos-gate/usr/src/tools/smatch/src/Documentation/sphinx/
H A Dcdoc.py131 l = l[3:] ## strip leading '// '
133 l = l[2:] ## strip leading '//'
152 l = readline_multi(lines, l)
198 l = re.sub(r"@(\w+)", "**\\1**", l)
226 l = '.. c:function:: ' + l
230 l = l[0].capitalize() + l[1:].strip('.')
231 l = '\t' + l + '.'
237 l = decorate(l)
238 l = '\t:%s: %s' % (name, l)
239 l = '\n\t\t'.join(l.split('\n'))
[all …]
/illumos-gate/usr/src/stand/lib/fs/ufs/
H A Dlufsboot.c199 (l)->l_next = (l); \
200 (l)->l_prev = (l); \
205 if ((l)->l_next == (l)) { \
206 if (*(lh) != (l) || (l)->l_prev != (l)) \
212 (l)->l_prev->l_next = (l)->l_next; \
213 (l)->l_next->l_prev = (l)->l_prev; \
783 l->l_mof, l->l_nb)) { in lufs_logscan_addmap()
820 l = l->l_next; in lufs_logscan_addmap()
1028 l = l->l_prev; in lufs_merge_deltas()
1049 MIN(l->l_mof + l->l_nb, bof + nb) - in lufs_merge_deltas()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzap_leaf.c51 #define LEAF_HASH(l, h) \ argument
54 (64 - ZAP_LEAF_HASH_SHIFT(l) - zap_leaf_phys(l)->l_hdr.lh_prefix_len)))
56 #define LEAF_HASH_ENTPTR(l, h) (&zap_leaf_phys(l)->l_hash[LEAF_HASH(l, h)]) argument
110 zap_leaf_t l; in zap_leaf_byteswap() local
115 l.l_dbuf = &l_dbuf; in zap_leaf_byteswap()
164 l->l_bs = highbit64(l->l_dbuf->db_size) - 1; in zap_leaf_init()
173 ZAP_LEAF_CHUNK(l, ZAP_LEAF_NUMCHUNKS(l)-1).l_free.lf_next = CHAIN_END; in zap_leaf_init()
176 zap_leaf_phys(l)->l_hdr.lh_nfree = ZAP_LEAF_NUMCHUNKS(l); in zap_leaf_init()
206 ASSERT3U(zap_leaf_phys(l)->l_hdr.lh_nfree, <, ZAP_LEAF_NUMCHUNKS(l)); in zap_leaf_chunk_free()
421 zeh->zeh_leaf = l; in zap_leaf_lookup()
[all …]
/illumos-gate/usr/src/lib/libm/common/Q/
H A Dsqrtl.c59 } l; member
86 } l; member
158 else if (x->l.frac2 | (x->l.frac3 & 0xfffe0000)) in __q_unpack()
166 else if (x->l.frac3 | (x->l.frac4 & 0xfffe0000)) in __q_unpack()
191 u.l[LOWORD] = 0; in __q_unpack()
197 u.l[LOWORD] = 0; in __q_unpack()
203 u.l[LOWORD] = 0; in __q_unpack()
210 u.l[LOWORD] = 0; in __q_unpack()
411 if (!((x.l.msw & 0x7fffffff) | x.l.frac2 | x.l.frac3 | x.l.frac4)) in sqrtl()
417 if ((x.l.msw & 0xffff) | x.l.frac2 | x.l.frac3 | x.l.frac4) in sqrtl()
[all …]

12345678910>>...56