Home
last modified time | relevance | path

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

12345678910>>...56

/titanic_51/usr/src/boot/sys/boot/common/linenoise/
H A Dlinenoise.c148 CTRL_L = 12, /* Ctrl+l */
159 static void refreshLine(struct linenoiseState *l);
180 /* Clear the screen. Used to handle ctrl+l */
337 static void refreshSingleLine(struct linenoiseState *l) { in refreshSingleLine() argument
339 size_t plen = strlen(l->prompt); in refreshSingleLine()
340 char *buf = l->buf; in refreshSingleLine()
341 size_t len = l->len; in refreshSingleLine()
342 size_t pos = l->pos; in refreshSingleLine()
345 while((plen+pos) >= l->cols) { in refreshSingleLine()
350 while (plen+len > l in refreshSingleLine()
376 refreshMultiLine(struct linenoiseState * l) refreshMultiLine() argument
450 refreshLine(struct linenoiseState * l) refreshLine() argument
461 linenoiseEditInsert(struct linenoiseState * l,char c) linenoiseEditInsert() argument
489 linenoiseEditMoveLeft(struct linenoiseState * l) linenoiseEditMoveLeft() argument
498 linenoiseEditMoveRight(struct linenoiseState * l) linenoiseEditMoveRight() argument
507 linenoiseEditMoveHome(struct linenoiseState * l) linenoiseEditMoveHome() argument
516 linenoiseEditMoveEnd(struct linenoiseState * l) linenoiseEditMoveEnd() argument
528 linenoiseEditHistoryNext(struct linenoiseState * l,int dir) linenoiseEditHistoryNext() argument
553 linenoiseEditDelete(struct linenoiseState * l) linenoiseEditDelete() argument
564 linenoiseEditBackspace(struct linenoiseState * l) linenoiseEditBackspace() argument
577 linenoiseEditDeletePrevWord(struct linenoiseState * l) linenoiseEditDeletePrevWord() argument
601 struct linenoiseState l; linenoiseEdit() local
[all...]
/titanic_51/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_rwlock.c59 smbfs_rw_enter_sig(smbfs_rwlock_t *l, krw_t rw, int intr) in smbfs_rw_enter_sig() argument
62 mutex_enter(&l->lock); in smbfs_rw_enter_sig()
68 if (l->owner == curthread) { in smbfs_rw_enter_sig()
71 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()
88 mutex_exit(&l->lock); in smbfs_rw_enter_sig()
94 cv_wait(&l in smbfs_rw_enter_sig()
149 smbfs_rw_tryenter(smbfs_rwlock_t * l,krw_t rw) smbfs_rw_tryenter() argument
192 smbfs_rw_exit(smbfs_rwlock_t * l) smbfs_rw_exit() argument
225 smbfs_rw_lock_held(smbfs_rwlock_t * l,krw_t rw) smbfs_rw_lock_held() argument
236 smbfs_rw_init(smbfs_rwlock_t * l,char * name,krw_type_t type,void * arg) smbfs_rw_init() argument
247 smbfs_rw_destroy(smbfs_rwlock_t * l) smbfs_rw_destroy() argument
[all...]
/titanic_51/usr/src/lib/libc/sparc/fp/
H A D_Q_fcc.c51 if ((QUAD_ISNAN(*x) && !(x->l.msw & 0x8000)) || in _Q_feq()
52 (QUAD_ISNAN(*y) && !(y->l.msw & 0x8000))) { in _Q_feq()
67 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 in _Q_feq()
[all...]
H A D_Q_qtou.c45 xm = x->l.msw & 0x7fffffff; in _Q_qtou()
51 if (x->l.msw < 0x401f0000) { in _Q_qtou()
53 (x->l.frac2 >> 17); in _Q_qtou()
54 if ((x->l.frac2 & 0x1ffff) | x->l.frac3 | x->l.frac4) { in _Q_qtou()
59 x->l.frac2 & 0xffff0000) { in _Q_qtou()
60 z.l.msw = xm & 0xffff; in _Q_qtou()
61 z.l.frac2 = x->l in _Q_qtou()
[all...]
H A D_Q_qtod.c45 xm = x->l.msw & 0x7fffffff; in _Q_qtod()
51 if (x->l.msw & 0x80000000) in _Q_qtod()
57 if ((xm & 0xffff) | x->l.frac2 | x->l.frac3 | in _Q_qtod()
58 x->l.frac4) { in _Q_qtod()
60 u.l.hi = (x->l.msw & 0x80000000) | 0x7ff80000; in _Q_qtod()
61 u.l.hi |= ((xm & 0x7fff) << 4) | in _Q_qtod()
62 (x->l.frac2 >> 28); in _Q_qtod()
63 u.l in _Q_qtod()
[all...]
H A D_Q_qtos.c43 unsigned int l; in _Q_qtos() member
48 xm = x->l.msw & 0x7fffffff; in _Q_qtos()
54 if (x->l.msw & 0x80000000) in _Q_qtos()
60 if ((xm & 0xffff) | x->l.frac2 | x->l.frac3 | in _Q_qtos()
61 x->l.frac4) { in _Q_qtos()
63 u.l = (x->l.msw & 0x80000000) | 0x7fc00000; in _Q_qtos()
64 u.l |= ((xm & 0x7fff) << 7) | in _Q_qtos()
65 (x->l in _Q_qtos()
[all...]
H A D__quad_mag.c53 ex = (x->l.msw & 0x7fffffff) >> 16; in __quad_mag_add()
54 lx = x->l.msw & 0xffff; in __quad_mag_add()
60 ey = (y->l.msw & 0x7fffffff) >> 16; in __quad_mag_add()
61 ly = y->l.msw & 0xffff; in __quad_mag_add()
71 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 in __quad_mag_add()
[all...]
H A D_Q_mul.c94 xm = x->l.msw & 0x7fffffff; in _Qp_mul()
95 ym = y->l.msw & 0x7fffffff; in _Qp_mul()
96 sign = (x->l.msw ^ y->l.msw) & ~0x7fffffff; in _Qp_mul()
104 if (!(y->l.msw & 0x8000)) { in _Qp_mul()
110 Z.l.msw |= 0x8000; in _Qp_mul()
116 } else if (QUAD_ISNAN(*x) && !(x->l.msw & 0x8000)) { in _Qp_mul()
122 Z.l.msw |= 0x8000; in _Qp_mul()
133 if (!(x->l.msw & 0x8000)) { in _Qp_mul()
139 Z.l in _Qp_mul()
[all...]
H A D_Q_cmp.c45 if ((QUAD_ISNAN(*x) && !(x->l.msw & 0x8000)) || in _Q_cmp()
46 (QUAD_ISNAN(*y) && !(y->l.msw & 0x8000))) { in _Q_cmp()
61 xm = x->l.msw; in _Q_cmp()
64 ym = y->l.msw; in _Q_cmp()
76 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 in _Q_cmp()
[all...]
H A D_Q_sub.c57 xm = ox->l.msw & 0x7fffffff; in _Qp_sub()
58 ym = oy->l.msw & 0x7fffffff; in _Qp_sub()
59 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 in _Qp_sub()
[all...]
H A D_Q_add.c56 xm = ox->l.msw & 0x7fffffff; in _Qp_add()
57 ym = oy->l.msw & 0x7fffffff; in _Qp_add()
58 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 in _Qp_add()
[all...]
H A D_Q_div.c112 xm = x->l.msw & 0x7fffffff; in _Qp_div()
113 ym = y->l.msw & 0x7fffffff; in _Qp_div()
114 sign = (x->l.msw ^ y->l.msw) & ~0x7fffffff; in _Qp_div()
122 if (!(y->l.msw & 0x8000)) { in _Qp_div()
128 Z.l.msw |= 0x8000; in _Qp_div()
134 } else if (QUAD_ISNAN(*x) && !(x->l.msw & 0x8000)) { in _Qp_div()
140 Z.l.msw |= 0x8000; in _Qp_div()
151 if (!(x->l.msw & 0x8000)) { in _Qp_div()
157 Z.l in _Qp_div()
[all...]
H A D_Q_cmpe.c58 xm = x->l.msw; in _Q_cmpe()
61 ym = y->l.msw; in _Q_cmpe()
73 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 in _Q_cmpe()
[all...]
H A D_Q_dtoq.c58 m = ((u.l.hi & 0x7ff00000) >> 4) + 0x3c000000; in _Qp_dtoq()
61 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 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 in _Q_lltoq()
[all...]
/titanic_51/usr/src/uts/common/os/
H A Drwstlock.c61 rwst_enter_common(rwstlock_t *l, krw_t rw, int flags) in rwst_enter_common() argument
67 mutex_enter(&l->rwst_lock); in rwst_enter_common()
69 while (RWST_WRITE_HELD(l) || in rwst_enter_common()
70 (rw != RW_READER_STARVEWRITER && RWST_WRITE_WANTED(l))) { in rwst_enter_common()
73 mutex_exit(&l->rwst_lock); in rwst_enter_common()
79 if (RWST_WRITE_HELD(l)) { in rwst_enter_common()
84 readers = l->rwst_count; in rwst_enter_common()
87 if (!RWST_READ_WAIT(l, flags)) { in rwst_enter_common()
88 mutex_exit(&l->rwst_lock); in rwst_enter_common()
92 LOCKSTAT_RECORD4(LS_RW_ENTER_BLOCK, l, sleep_tim in rwst_enter_common()
133 rwst_exit(rwstlock_t * l) rwst_exit() argument
152 rwst_enter(rwstlock_t * l,krw_t rw) rwst_enter() argument
158 rwst_enter_sig(rwstlock_t * l,krw_t rw) rwst_enter_sig() argument
164 rwst_tryenter(rwstlock_t * l,krw_t rw) rwst_tryenter() argument
170 rwst_lock_held(rwstlock_t * l,krw_t rw) rwst_lock_held() argument
180 rwst_init(rwstlock_t * l,char * name,krw_type_t krw_t,void * arg) rwst_init() argument
189 rwst_destroy(rwstlock_t * l) rwst_destroy() argument
198 rwst_owner(rwstlock_t * l) rwst_owner() argument
[all...]
/titanic_51/usr/src/lib/libc/sparcv9/fp/
H A D_Qp_qtoux.c41 xm = x->l.msw & 0x7fffffff; in _Qp_qtoux()
47 if (x->l.msw < 0x403f0000) { in _Qp_qtoux()
50 ((long) x->l.frac2 << 15) | (x->l.frac3 >> 17); in _Qp_qtoux()
51 if ((x->l.frac3 & 0x1ffff) | x->l.frac4) { in _Qp_qtoux()
56 x->l.frac2 & 0xffff0000) { in _Qp_qtoux()
57 z.l.msw = xm & 0xffff; in _Qp_qtoux()
58 z.l.frac2 = x->l in _Qp_qtoux()
[all...]
H A D_Qp_xtoq.c44 Z.l.msw = 0xc03e0000; in _Qp_xtoq()
45 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_xtoq()
51 Z.l.msw = Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_xtoq()
56 for (e = 62; (x & (1l << e)) == 0; e--) in _Qp_xtoq()
60 Z.l in _Qp_xtoq()
[all...]
/titanic_51/usr/src/uts/common/sys/tsol/
H A Dlabel_macro.h110 #define _MTYPE(l, t) \ argument
111 (((_mac_label_impl_t *)(l))->id == (t))
113 #define _MSETTYPE(l, t) \ argument
114 (((_mac_label_impl_t *)(l))->id = (t))
116 #define _MGETTYPE(l) (((_mac_label_impl_t *)(l))->id) argument
145 #define LCLASS_SET(slp, l) ((slp)->_lclass.class_u.class_chunk = (l)) argument
150 #define LCLASS_SET(slp, l) \ argument
151 ((slp)->_lclass.class_u.class_ar[0] = (uint8_t)((l)>>
161 ICLASS_SET(ilp,l) global() argument
166 ICLASS_SET(ilp,l) global() argument
183 _LOW_LABEL(l,t) global() argument
189 _HIGH_LABEL(l,t) global() argument
198 BLTYPE(l,t) global() argument
239 BLINRANGE(l,r) global() argument
278 BCLLOW(l) global() argument
281 BSLLOW(l) global() argument
283 _BSLLOW(l) global() argument
290 BSLHIGH(l) global() argument
292 _BSLHIGH(l) global() argument
299 BILLOW(l) global() argument
301 _BILLOW(l) global() argument
313 BCLEARLOW(l) global() argument
323 BCLEARHIGH(l) global() argument
333 BSLUNDEF(l) global() argument
339 BCLTOSL(l) global() argument
342 BCLTOIL(l) global() argument
353 SETBLTYPE(l,t) global() argument
355 GETBLTYPE(l) global() argument
[all...]
/titanic_51/usr/src/tools/pmodes/
H A Dbinsearch.c62 item_add(itemlist l, char *s) in item_add() argument
64 if (l->nallocated < 0) { in item_add()
66 l->nallocated = l->nused + ALLOCCHUNK; in item_add()
67 new = malloc(sizeof (char *) * l->nused); in item_add()
68 memcpy(new, l->items, l->nused * sizeof (char *)); in item_add()
69 l->items = new; in item_add()
70 } else if (l->nallocated == l in item_add()
82 item_add_list(itemlist l,char ** s,int n,int alloc) item_add_list() argument
101 item_addfile(itemlist l,const char * fname) item_addfile() argument
128 item_search(itemlist l,const char * s) item_search() argument
153 item_get(itemlist l,int i) item_get() argument
[all...]
/titanic_51/usr/src/uts/common/sys/
H A Drwstlock.h60 #define RWST_HELD(l) ((l)->rwst_count != 0) argument
61 #define RWST_READ_HELD(l) ((l)->rwst_count > 0) argument
62 #define RWST_WRITE_HELD(l) ((l)->rwst_count < 0) argument
63 #define RWST_WRITE_OWNER(l) \ argument
64 ((l)->rwst_count == (LONG_MIN | (intptr_t)curthread))
65 #define RWST_OWNER(l) (RWST_WRITE_HELD(l) argument
67 RWST_READ_WANTED(l) global() argument
68 RWST_WRITE_WANTED(l) global() argument
71 RWST_READ_WAIT(l,f) global() argument
72 RWST_WRITE_WAIT(l,f) global() argument
73 RWST_READ_WAKE_ALL(l) global() argument
74 RWST_WRITE_WAKE_ONE(l) global() argument
75 RWST_READ_ENTER(l) global() argument
76 RWST_WRITE_ENTER(l) global() argument
77 RWST_READ_EXIT(l) global() argument
78 RWST_WRITE_EXIT(l) global() argument
[all...]
/titanic_51/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
141 #define HPET_GCAP_LEG_ROUTE_CAP(l) BITX(l, 15, 15) argument
142 #define HPET_GCAP_CNT_SIZE_CAP(l) BITX(l, 13, 13) argument
143 #define HPET_GCAP_NUM_TIM_CAP(l) BITX(l, 1 argument
144 HPET_GCAP_REV_ID(l) global() argument
175 HPET_GCFR_LEG_RT_CNF_BITX(l) global() argument
176 HPET_GCFR_ENABLE_CNF_BITX(l) global() argument
181 HPET_GIS_T2_INT_STS(l) global() argument
182 HPET_GIS_T1_INT_STS(l) global() argument
183 HPET_GIS_T0_INT_STS(l) global() argument
184 HPET_GIS_TN_INT_STS(l,n) global() argument
211 HPET_TIMER_N_INT_ROUTE_CAP(l) global() argument
212 HPET_TIMER_N_INT_TYPE_CNF(l) global() argument
213 HPET_TIMER_N_INT_ENB_CNF(l) global() argument
214 HPET_TIMER_N_TYPE_CNF(l) global() argument
215 HPET_TIMER_N_PER_INT_CAP(l) global() argument
216 HPET_TIMER_N_SIZE_CAP(l) global() argument
217 HPET_TIMER_N_VAL_SET_CNF(l) global() argument
218 HPET_TIMER_N_MODE32_CNF(l) global() argument
219 HPET_TIMER_N_INT_ROUTE_CNF(l) global() argument
220 HPET_TIMER_N_FSB_EN_CNF(l) global() argument
221 HPET_TIMER_N_FSB_INT_DEL_CAP(l) global() argument
[all...]
/titanic_51/usr/src/stand/lib/fs/ufs/
H A Dlufsboot.c83 * | l +-------------------------+
195 #define inslist(lh, l) if ((*(lh))) { \ argument
196 (*(lh))->l_prev->l_next = (l); \
197 (l)->l_next = (*(lh)); \
198 (l)->l_prev = (*(lh))->l_prev; \
199 (*(lh))->l_prev = (l); \
201 (l)->l_next = (l); \
202 (l)->l_prev = (l); \
206 remlist(lh,l) global() argument
314 lb_me_t *l; lufs_alloc_from_logbuf() local
641 lb_me_t **lh, *l, *lnext; lufs_logscan_freecancel() local
684 lb_me_t **lh, *l; lufs_logscan_addmap() local
906 lb_me_t **lh, *l, *lnext; lufs_logscan_postscan() local
1005 lb_me_t **lh, *l; lufs_merge_deltas() local
[all...]
/titanic_51/usr/src/uts/common/fs/zfs/
H A Dzap_leaf.c42 static uint16_t *zap_leaf_rehash_entry(zap_leaf_t *l, uint16_t entry);
49 #define LEAF_HASH(l, h) \ argument
50 ((ZAP_LEAF_HASH_NUMENTRIES(l)-1) & \
52 (64 - ZAP_LEAF_HASH_SHIFT(l) - zap_leaf_phys(l)->l_hdr.lh_prefix_len)))
54 #define LEAF_HASH_ENTPTR(l, h) (&zap_leaf_phys(l)->l_hash[LEAF_HASH(l, h)]) argument
56 extern inline zap_leaf_phys_t *zap_leaf_phys(zap_leaf_t *l);
109 zap_leaf_t l; in zap_leaf_byteswap() local
161 zap_leaf_init(zap_leaf_t * l,boolean_t sort) zap_leaf_init() argument
187 zap_leaf_chunk_alloc(zap_leaf_t * l) zap_leaf_chunk_alloc() argument
206 zap_leaf_chunk_free(zap_leaf_t * l,uint16_t chunk) zap_leaf_chunk_free() argument
226 zap_leaf_array_create(zap_leaf_t * l,const char * buf,int integer_size,int num_integers) zap_leaf_array_create() argument
266 zap_leaf_array_free(zap_leaf_t * l,uint16_t * chunkp) zap_leaf_array_free() argument
283 zap_leaf_array_read(zap_leaf_t * l,uint16_t chunk,int array_int_len,int array_len,int buf_int_len,uint64_t buf_len,void * buf) zap_leaf_array_read() argument
342 zap_leaf_array_match(zap_leaf_t * l,zap_name_t * zn,int chunk,int array_numints) zap_leaf_array_match() argument
399 zap_leaf_lookup(zap_leaf_t * l,zap_name_t * zn,zap_entry_handle_t * zeh) zap_leaf_lookup() argument
454 zap_leaf_lookup_closest(zap_leaf_t * l,uint64_t h,uint32_t cd,zap_entry_handle_t * zeh) zap_leaf_lookup_closest() argument
541 zap_leaf_t *l = zeh->zeh_leaf; zap_entry_update() local
563 zap_leaf_t *l = zeh->zeh_leaf; zap_entry_remove() local
581 zap_entry_create(zap_leaf_t * l,zap_name_t * zn,uint32_t cd,uint8_t integer_size,uint64_t num_integers,const void * buf,zap_entry_handle_t * zeh) zap_entry_create() argument
720 zap_leaf_rehash_entry(zap_leaf_t * l,uint16_t entry) zap_leaf_rehash_entry() argument
744 zap_leaf_transfer_array(zap_leaf_t * l,uint16_t chunk,zap_leaf_t * nl) zap_leaf_transfer_array() argument
772 zap_leaf_transfer_entry(zap_leaf_t * l,int entry,zap_leaf_t * nl) zap_leaf_transfer_entry() argument
800 zap_leaf_split(zap_leaf_t * l,zap_leaf_t * nl,boolean_t sort) zap_leaf_split() argument
842 zap_leaf_stats(zap_t * zap,zap_leaf_t * l,zap_stats_t * zs) zap_leaf_stats() argument
[all...]
/titanic_51/usr/src/lib/libm/common/Q/
H A Dsqrtl.c59 } l; member
86 } l; member
133 unsigned int l[2]; in __q_unpack() member
140 ex = (int) ((x->l.msw & 0x7fffffff) >> 16); in __q_unpack()
141 lx = x->l.msw & 0xffff; in __q_unpack()
145 w[0] = x->l.frac2; in __q_unpack()
146 w[1] = x->l.frac3; in __q_unpack()
147 w[2] = x->l.frac4; in __q_unpack()
151 if (lx | (x->l.frac2 & 0xfffe0000)) in __q_unpack()
153 w[0] = x->l in __q_unpack()
237 unsigned int l[2]; __q_pack() member
[all...]

12345678910>>...56