Home
last modified time | relevance | path

Searched refs:lp (Results 1 – 25 of 636) sorted by relevance

12345678910>>...26

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dlex.c121 #define pushlevel(lp,c,s) ((lp->lexd.level>=lp->lexd.lex_max?stack_grow(lp):1) &&\ argument
122 ((lp->lexd.lex_match[lp->lexd.level++]=lp->lexd.lastc),\
127 #define poplevel(lp) (lp->lexd.lastc=lp->lexd.lex_match[--lp->lexd.level]) argument
153 …r=kiaentity(lp,lp->lexd.first+lp->lexd.kiaoff+type,off-lp->lexd.kiaoff,'v',-1,-1,lp->current,'v',0… in refvar()
276 lp->lex.intest = lp->lex.incase = lp->lex.skipword = lp->lexd.warn = 0; in sh_lexopen()
283 lp->lexd.noarg = lp->lexd.level= lp->lexd.dolparen = lp->lexd.balance = 0; in sh_lexopen()
284 lp->lexd.nocopy = lp->lexd.docword = lp->lexd.nest = lp->lexd.paren = 0; in sh_lexopen()
490 if(here_copy(lp,lp->heredoc)<=0 && lp->lasttok) in sh_lex()
2094 if(lp->lex.intest && lp->arg && *lp->arg->argval) in fmttoken()
2497 lp = ap->lp; in alias_exceptf()
[all …]
/illumos-gate/usr/src/cmd/sgs/common/
H A Dalist.c123 *lpp = lp; in alist_insert()
128 if (lp->al_nitems >= lp->al_arritems) { in alist_insert()
135 bsize = lp->al_size * lp->al_arritems * 2; in alist_insert()
138 if ((lp = realloc(lp, (size_t)bsize)) == NULL) in alist_insert()
151 addr = (idx * lp->al_size) + (char *)lp->al_data; in alist_insert()
160 (lp->al_nitems - idx) * lp->al_size); in alist_insert()
163 lp->al_next += lp->al_size; in alist_insert()
209 } else if (lp->apl_nitems >= lp->apl_arritems) { in aplist_insert()
218 if ((lp = realloc(lp, (size_t)bsize)) == NULL) in aplist_insert()
317 (lp->al_nitems - idx) * lp->al_size); in alist_delete()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dwinlockio.c708 SegLock *lp = sdp->lp; in winlockmap_dup() local
837 for (lp = lock_list; lp != NULL; lp = lp->next) { in seglock_findlock()
861 for (lp = lock_list; lp != NULL; lp = lp->next) { in seglock_findkey()
1033 sdp->lp = lp; in seglock_alloc_specific()
1194 lp->key, lp->cookie, lp->alloccount)); in seglock_grabfree()
1612 for (lp = lock_list; lp != NULL; lp = lp->next) { in seglock_dump_all()
1615 lp->cookie, lp->key, lp->alloccount, in seglock_dump_all()
1623 for (lp = lock_free_list; lp != NULL; lp = lp->next) { in seglock_dump_all()
1626 lp->cookie, lp->key, lp->alloccount, in seglock_dump_all()
1640 for (lp = lock_list; lp != NULL; lp = lp->next) { in seglock_dump_all()
[all …]
H A Diwscons.c173 return (lp); in srrm()
193 lp = kmem_zalloc(sizeof (*lp), KM_SLEEP); in srpush()
267 return (lp); in srhold()
292 srrele(lp); in iwscnread()
307 srrele(lp); in iwscnwrite()
323 srrele(lp); in iwscnpoll()
419 srrele(lp); in iwscnioctl()
452 srrele(lp); in iwscnioctl()
460 srrele(lp); in iwscnioctl()
558 for (lp = iwscn_list; lp != NULL; lp = lp->wl_next) { in iwscnopen()
[all …]
/illumos-gate/usr/src/lib/libuutil/common/
H A Duu_list.c199 lp = uu_zalloc(sizeof (*lp)); in uu_list_create()
213 lp->ul_null_node.uln_next = &lp->ul_null_node; in uu_list_create()
214 lp->ul_null_node.uln_prev = &lp->ul_null_node; in uu_list_create()
216 lp->ul_null_walk.ulw_next = &lp->ul_null_walk; in uu_list_create()
217 lp->ul_null_walk.ulw_prev = &lp->ul_null_walk; in uu_list_create()
237 if (lp->ul_null_node.uln_next != &lp->ul_null_node || in uu_list_destroy()
238 lp->ul_null_node.uln_prev != &lp->ul_null_node) { in uu_list_destroy()
246 if (lp->ul_null_walk.ulw_next != &lp->ul_null_walk || in uu_list_destroy()
277 (void *)lp, NODE_TO_ELEM(lp, np), (void *)np); in list_insert()
282 lp->ul_index = INDEX_NEXT(lp->ul_index); in list_insert()
[all …]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_log.c185 lp->log_toc = lp->log_off + hdr_size; in fmd_log_write_hdr()
288 lp->log_uuidlen = strlen(lp->log_uuid); in fmd_log_check_hdr()
317 lp->log_off = lseek64(lp->log_fd, 0, SEEK_END); in fmd_log_check_hdr()
320 if (lp->log_skip > lp->log_off) { in fmd_log_check_hdr()
379 fstat64(lp->log_fd, &lp->log_stat) == -1) { in fmd_log_xopen()
466 fmd_free(lp->log_uuid, lp->log_uuidlen + 1); in fmd_log_close()
659 (void) ftruncate64(lp->log_fd, lp->log_off); in fmd_log_append()
869 if (lp->log_off == lp->log_beg) { in fmd_log_replay()
883 off = MAX(lp->log_beg, lp->log_skip); in fmd_log_replay()
947 if (lseek64(lp->log_fd, lp->log_off, SEEK_SET) != lp->log_off) { in fmd_log_replay()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dmutex.c248 panic_mutex = *lp; in mutex_panic()
358 lock_set_spl(&lp->m_spin.m_spinlock, lp->m_spin.m_minspl, in mutex_vector_enter()
513 lock_clear_splx(&lp->m_spin.m_spinlock, lp->m_spin.m_oldspl); in mutex_vector_exit()
525 turnstile_exit(lp); in mutex_vector_exit()
550 if (MUTEX_TYPE_ADAPTIVE(lp) && (t = MUTEX_OWNER(lp)) != MUTEX_NO_OWNER) in mutex_owner()
623 if (lp->m_owner == 0 && !MUTEX_HAS_WAITERS(lp)) { in mutex_destroy()
624 MUTEX_DESTROY(lp); in mutex_destroy()
627 MUTEX_DESTROY(lp); in mutex_destroy()
638 MUTEX_DESTROY(lp); in mutex_destroy()
662 while (LOCK_HELD(lp) || !lock_spin_try(lp)) { in lock_set_spin()
[all …]
H A Drwlock.c221 panic_rwlock = *lp; in rw_panic()
239 if (lp->rw_wwwh != 0) { in rw_destroy()
325 ts = turnstile_lookup(lp); in rw_enter_sleep()
337 turnstile_exit(lp); in rw_enter_sleep()
370 ASSERT(rw_locked(lp, rw)); in rw_enter_sleep()
416 old = lp->rw_wwwh; in rw_exit_wakeup()
420 lp->rw_wwwh = 0; in rw_exit_wakeup()
437 old = lp->rw_wwwh; in rw_exit_wakeup()
490 lp->rw_wwwh = new; in rw_exit_wakeup()
512 lp->rw_wwwh = new; in rw_exit_wakeup()
[all …]
H A Dmem_cage.c335 lp != NULL; lp = lp->next) { in kcage_next_range()
502 for (lp = kcage_glist; lp != NULL; lp = lp->next) { in kcage_range_delete_internal()
507 if ((lp->decr == 0 && lp->curr == lp->base) || in kcage_range_delete_internal()
508 (lp->decr != 0 && lp->curr == lp->lim)) in kcage_range_delete_internal()
522 if (lp->decr != 0 && base < lp->lim && lim >= lp->curr) { in kcage_range_delete_internal()
674 lp->curr == lp->lim) in kcage_glist_delete()
723 lp = lp->next; in kcage_get_pfn()
802 lp = lp->next; in kcage_walk_cage()
814 lp = lp->next; in kcage_walk_cage()
1039 for (lp = kcage_glist; lp != NULL; lp = lp->next) { in kcage_kstat_update()
[all …]
/illumos-gate/usr/src/lib/fm/libfmd_log/common/
H A Dfmd_log.c371 if (lp != NULL) in fmd_log_open_err()
381 fmd_log_t *lp; in fmd_log_open() local
396 fstat64(lp->log_fd, &lp->log_stat) == -1 || in fmd_log_open()
473 if (lp->log_version == NULL || lp->log_label == NULL) in fmd_log_open()
495 return (lp); in fmd_log_open()
503 if (lp == NULL) in fmd_log_close()
525 free(lp); in fmd_log_close()
542 hp->log_label = lp->log_label ? lp->log_label : ""; in fmd_log_header()
543 hp->log_version = lp->log_version ? lp->log_version : ""; in fmd_log_header()
546 hp->log_platform = lp->log_platform ? lp->log_platform : ""; in fmd_log_header()
[all …]
/illumos-gate/usr/src/cmd/krb5/kadmin/ktutil/
H A Dktutil_funcs.c60 lp = lp->next;
78 for (lp = *list, i = 1; lp; prev = lp, lp = lp->next, i++) {
138 for (lp = *list; lp->next; lp = lp->next);
157 lp = lp->next;
257 for (lp = *list; lp->next; lp = lp->next);
289 lp = lp->next;
336 for (lp = list; lp; lp = lp->next) {
390 for (lp = *list; lp->next; lp = lp->next);
483 for (lp = list; lp; lp = lp->next) {
536 for (lp = pruned; lp; lp = lp->next) {
[all …]
/illumos-gate/usr/src/lib/libgen/common/
H A Dreg_step.c252 lp += n; in _advance()
263 lp++; in _advance()
290 rp = lp; in _advance()
294 lp = rp; in _advance()
339 lp++; in _advance()
349 lp++; in _advance()
359 lp++; in _advance()
369 lp++; in _advance()
413 lp++; in _advance()
532 lp--; in _advance()
[all …]
/illumos-gate/usr/src/pkg/manifests/
H A Dprint-lp.p5m34 dir path=etc/lp owner=lp group=lp mode=0775
35 dir path=etc/lp/classes owner=lp group=lp mode=0775
46 dir path=etc/lp/forms owner=lp group=lp mode=0775
49 dir path=etc/lp/ppd owner=lp group=lp mode=0775
50 dir path=etc/lp/printers owner=lp group=lp mode=0775
51 dir path=etc/lp/pwheels owner=lp group=lp mode=0775
81 file path=usr/lib/lp/bin/lp.cat group=lp mode=0555
82 file path=usr/lib/lp/bin/lp.set group=lp mode=0555
83 file path=usr/lib/lp/bin/lp.tell group=lp mode=0555
143 dir path=var/lp owner=lp group=lp mode=0775
[all …]
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_list.c47 lp->l_head = lp->l_tail = NULL; in av1394_list_init()
48 lp->l_cnt = 0; in av1394_list_init()
74 lp->l_head = lp->l_tail = item; in av1394_list_put_tail()
77 lp->l_tail = item; in av1394_list_put_tail()
79 lp->l_cnt++; in av1394_list_put_tail()
94 lp->l_head = lp->l_tail = item; in av1394_list_put_head()
97 lp->l_head = item; in av1394_list_put_head()
99 lp->l_cnt++; in av1394_list_put_head()
111 item = lp->l_head; in av1394_list_get_head()
118 lp->l_cnt = 0; in av1394_list_get_head()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_put.c83 lp = dblp->lp;
211 lp = dblp->lp;
268 lp = dblp->lp;
277 t_lsn.offset = lp->lsn.offset - lp->len;
339 lp->s_lsn = lp->f_lsn;
343 lp->s_lsn.offset = lp->persist.lg_max;
367 for (lp = dblp->lp; len > 0;) {
392 remain = sizeof(lp->buf) - lp->b_off;
394 memcpy(lp->buf + lp->b_off, addr, nw);
400 if (lp->b_off == sizeof(lp->buf)) {
[all …]
/illumos-gate/usr/src/uts/common/disp/
H A Ddisp_lock.c58 DISP_LOCK_INIT(lp); in disp_lock_init()
71 lock_set(lp); in disp_lock_enter_high()
80 lock_clear(lp); in disp_lock_exit_high()
131 lock_clear(lp); in thread_lock()
141 while (lp == *tlpp && LOCK_HELD(lp)) { in thread_lock()
172 lock_clear(lp); in thread_lock_high()
176 while (lp == *tlpp && LOCK_HELD(lp)) { in thread_lock_high()
194 disp_lock_t *lp; in thread_transition() local
199 lp = t->t_lockp; in thread_transition()
213 disp_lock_t *lp; in thread_stop() local
[all …]
/illumos-gate/usr/src/cmd/filesync/
H A Dignore.c128 for (lp = expr_list; lp; lp = lp->l_next) { in ignore_check()
179 lp = malloc(sizeof (*lp)); in ignore_expr()
180 if (lp == 0) in ignore_expr()
267 for (lp = *pp; lp; lp = *pp) { in ign_hash()
275 lp = malloc(sizeof (*lp)); in ign_hash()
280 *pp = lp; in ign_hash()
283 return (lp); in ign_hash()
349 for (lp = file_list[i]; lp; lp = np) { in ignore_reset()
352 free(lp); in ignore_reset()
358 for (lp = expr_list; lp; lp = np) { in ignore_reset()
[all …]
/illumos-gate/usr/src/uts/common/refhash/
H A Drefhash.c83 lp->rhl_flags = 0; in refhash_insert()
121 for (lp = list_head(&hp->rh_buckets[bucket]); lp != NULL; in refhash_lookup()
122 lp = list_next(&hp->rh_buckets[bucket], lp)) { in refhash_lookup()
139 for (lp = list_head(&hp->rh_objs); lp != NULL; in refhash_linear_search()
140 lp = list_next(&hp->rh_objs, lp)) { in refhash_linear_search()
154 ++lp->rhl_refcnt; in refhash_hold()
164 if (--lp->rhl_refcnt == 0 && (lp->rhl_flags & RHL_F_DEAD)) in refhash_rele()
174 if (lp == NULL) in refhash_first()
177 ++lp->rhl_refcnt; in refhash_first()
188 while ((lp = list_next(&hp->rh_objs, lp)) != NULL) { in refhash_next()
[all …]
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dsbp2_driver.c83 scsa1394_lun_t *lp; in scsa1394_sbp2_attach() local
103 lp = &sp->s_lun[i]; in scsa1394_sbp2_attach()
110 lp->l_sp = sp; in scsa1394_sbp2_attach()
123 scsa1394_lun_t *lp; in scsa1394_sbp2_detach() local
126 lp = &sp->s_lun[i]; in scsa1394_sbp2_detach()
307 if (sbp2_lun_login(lp->l_lun, &lp->l_ses, in scsa1394_sbp2_login()
322 (void) sbp2_lun_logout(lp->l_lun, &lp->l_ses, &berr, phys); in scsa1394_sbp2_logout()
331 if (lp != NULL) { in scsa1394_sbp2_req()
381 (void) sbp2_lun_logout(lp->l_lun, &lp->l_ses, &berr, B_FALSE); in scsa1394_sbp2_req_bus_reset()
399 (void) sbp2_lun_logout(lp->l_lun, &lp->l_ses, &berr, B_FALSE); in scsa1394_sbp2_req_bus_reset()
[all …]
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_menu.c56 mp->gm_end = lp; in append_line()
93 for (i = 0, lp = ent->ge_start; lend != lp; lp = lp->gl_next, ++i) { in check_entry()
139 if (lp != NULL && lp->gl_flags == GRUB_LINE_GLOBAL && in default_entry()
163 free(lp); in free_line()
175 lp = line; in free_linelist()
208 lp = NULL; in grub_menu_append_line()
209 if ((lp = calloc(1, sizeof (*lp))) == NULL || in grub_menu_append_line()
211 free(lp); in grub_menu_append_line()
473 for (lp = mp->gm_start; lp != NULL && num != lp->gl_line_num; in grub_menu_get_line()
474 lp = lp->gl_next) in grub_menu_get_line()
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Dpro_alloc.c92 if (lp == NULL) { in _dwarf_p_get_alloc()
102 lp->next = lp->prev = lp; in _dwarf_p_get_alloc()
150 memory_list_t *lp; in _dwarf_p_dealloc() local
159 if (lp == lp->next) { in _dwarf_p_dealloc()
161 lp->prev = 0; in _dwarf_p_dealloc()
162 lp->next = 0; in _dwarf_p_dealloc()
163 } else if (lp->next == lp->prev) { in _dwarf_p_dealloc()
171 lp->prev->next = lp->next; in _dwarf_p_dealloc()
172 lp->next->prev = lp->prev; in _dwarf_p_dealloc()
173 lp->prev = lp->next = 0; in _dwarf_p_dealloc()
[all …]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dpcnet32.c408 lp->tx_full = 0; in pcnet32_init_ring()
409 lp->cur_rx = lp->cur_tx = 0; in pcnet32_init_ring()
464 i = ((lp->a. in pcnet32_reset()
481 if (lp->mii && !(lp->options & PCNET32_PORT_ASEL)) { in pcnet32_reset()
569 lp->cur_rx++; in pcnet32_poll()
810 lp = &lpx; in pcnet32_probe()
854 lp->mii = mii; in pcnet32_probe()
870 lp->a = *a; in pcnet32_probe()
929 lp->mii_if.phy_id = lp->phys[0]; in pcnet32_probe()
960 if (!lp->mii) in mdio_read()
[all …]
/illumos-gate/usr/src/lib/libeti/form/common/
H A Dregex.c156 lp = alp; in __advance()
182 if (*lp++) in __advance()
189 lp++; in __advance()
208 if (!(lp = (char *)__advance(lp, ep))) in __advance()
223 curlp = lp; in __advance()
234 curlp = lp; in __advance()
246 curlp = lp; in __advance()
282 curlp = lp; in __advance()
292 curlp = lp; in __advance()
302 if (!(lp = (char *)__advance(lp, ep+1))) in __advance()
[all …]
/illumos-gate/usr/src/head/
H A Dregexp.h360 if (*lp++) in advance()
390 c = *lp++; in advance()
414 curlp = lp; in advance()
419 lp++; in advance()
429 curlp = lp; in advance()
434 lp++; in advance()
453 lp++; in advance()
476 lp++; in advance()
486 lp += ct; in advance()
497 lp += ct; in advance()
[all …]
/illumos-gate/usr/src/cmd/lp/
H A DMakefile29 include ./Makefile.lp
50 $(ROOTVAR)/lp \
51 $(ROOTVAR)/lp/logs \
52 $(ROOTVARSP)/lp \
53 $(ROOTVARSP)/lp/admins \
54 $(ROOTVARSP)/lp/requests \
55 $(ROOTVARSP)/lp/system
57 SYMDIR1 = $(ROOTVARSP)/lp/admins/lp
58 SYMDIR2 = $(ROOTVARSP)/lp/bin
59 SYMDIR3 = $(ROOTVARSP)/lp/logs
[all …]

12345678910>>...26