/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/ |
H A D | ghd_queue.c | 38 L1_add(L1_t *lp, L1el_t *lep, void *datap) argument 41 lep->le_nextp = NULL; 42 lep->le_datap = datap; 46 lp->l1_headp = lep; 49 lp->l1_tailp->le_nextp = lep; 52 lp->l1_tailp = lep; 64 L1_delete(L1_t *lp, L1el_t *lep) argument 68 if (lp->l1_headp == lep) { 70 if ((lp->l1_headp = lep->le_nextp) == NULL) { 78 if (prevp->le_nextp == lep) { 98 L1el_t *lep; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfslogtab.c | 71 struct logtab_ent *lep = NULL; local 74 if ((lep = (struct logtab_ent *)malloc(sizeof (*lep))) == NULL) { 77 (void) memset((char *)lep, 0, sizeof (*lep)); 91 if ((lep->le_buffer = strdup(tmp)) == NULL) { 101 if ((lep->le_path = strdup(tmp)) == NULL) { 111 if ((lep->le_tag = strdup(tmp)) == NULL) { 121 lep->le_state = atoi(tmp); 123 *lepp = lep; 136 logtab_putent(FILE *fd, struct logtab_ent *lep) argument 213 struct logtab_ent *lep; local 297 struct logtab_ent *lep; local 389 logtab_ent_free(struct logtab_ent *lep) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | buffer_list.c | 108 struct logtab_ent *lep; local 131 while ((res = logtab_getent(fd, &lep)) > 0) { 132 if (bep = findbuffer(*be_head, lep->le_buffer)) { 137 lep->le_path, &se_tail)) { 142 sep->se_state = lep->le_state; 155 sep->se_name = strdup(lep->le_path); 160 sep->se_state = lep->le_state; 177 bep->be_name = strdup(lep->le_buffer); 198 bep->be_sharepnt->se_name = strdup(lep->le_path); 203 bep->be_sharepnt->se_state = lep [all...] |
/illumos-gate/usr/src/lib/libipmi/common/ |
H A D | ipmi_lancfg.c | 137 ipmi_lan_entry_t *lep; local 149 lep = &ipmi_lan_table[i]; 150 if (ipmi_lan_get_param(ihp, channel, lep->ile_param, 151 lep->ile_set, lep->ile_block, 152 (char *)cfgp + lep->ile_offset, lep->ile_len) != 0) 206 ipmi_lan_entry_t *lep; local 224 lep = &ipmi_lan_table[i]; 225 if (!(lep [all...] |
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | symtab.c | 683 struct entry *baseep, *lep; local 811 lep = (struct entry *)entry; 817 for (ep = &baseep[1]; ep < lep; ep++) {
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | lwpsys.c | 179 lwpent_t *lep; local 244 if ((lep = ldp->ld_entry) == NULL || 245 lep->le_thread != NULL) 258 tid = lep->le_lwpid; 259 if (lep->le_waiters != 0) { 260 if (lep->le_waiters - lep->le_dwaiters)
|
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf_notes.c | 198 lwpent_t *lep; local 460 if ((lep = ldp->ld_entry) == NULL) /* empty slot */ 463 if ((t = lep->le_thread) != NULL) { /* active lwp */ 474 bigwad->lwpsinfo.pr_lwpid = lep->le_lwpid; 477 bigwad->lwpsinfo.pr_start.tv_sec = lep->le_start;
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | fork.c | 168 lwpent_t *lep; local 406 if ((lep = ldp->ld_entry) == NULL) 409 if ((t = lep->le_thread) != NULL) { 434 clep->le_lwpid = lep->le_lwpid; 435 clep->le_start = lep->le_start; 627 if ((lep = ldp->ld_entry) != NULL) 628 kmem_free(lep, sizeof (*lep));
|
H A D | lwp.c | 110 lwpent_t *lep; local 284 lep = kmem_zalloc(sizeof (*lep), KM_SLEEP); 716 lep->le_thread = t; 717 lep->le_lwpid = t->t_tid; 718 lep->le_start = t->t_start; 719 lwp_hash_in(p, lep, p->p_tidhash, p->p_tidhash_sz, 1); 774 kmem_free(lep, sizeof (*lep)); 1769 lwpent_t *lep; local 1929 lwp_hash_in(proc_t *p, lwpent_t *lep, tidhash_t *tidhash, uint_t tidhash_sz, int do_lock) argument 1980 lwpent_t *lep; local [all...] |
H A D | sig.c | 854 lwpent_t *lep; local 1007 lep = p->p_lwpdir[tx->t_dslot].ld_entry; 1008 if (notify && lep->le_trace) 1009 prnotify(lep->le_trace); 1126 lep = p->p_lwpdir[t->t_dslot].ld_entry; 1127 if (lep->le_trace) /* /proc */ 1128 prnotify(lep->le_trace);
|
H A D | driver_lyr.c | 467 handle_event_add(ldi_event_t *lep) argument 469 struct ldi_handle *lhp = lep->le_lhp; 475 lhp->lh_events = lep; 480 lep->le_next = lhp->lh_events; 481 lhp->lh_events->le_prev = lep; 482 lhp->lh_events = lep; 487 handle_event_remove(ldi_event_t *lep) argument 489 struct ldi_handle *lhp = lep->le_lhp; 494 if (lep->le_prev) 495 lep 508 ldi_event_t *lep = (ldi_event_t *)arg; local 1675 struct ldi_event *lep; local 2818 struct ldi_event *lep; local 2870 ldi_event_t *lep = (ldi_event_t *)id; local [all...] |
H A D | exec.c | 153 lwpent_t *lep; local 461 lep = p->p_lwpdir[curthread->t_dslot].ld_entry; 463 lep = kmem_zalloc(sizeof (*lep), KM_SLEEP); 504 lep->le_thread = curthread; 505 lep->le_lwpid = curthread->t_tid; 506 lep->le_start = curthread->t_start; 507 lwp_hash_in(p, lep, tidhash, 2, 0);
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_dir.c | 1381 struct pcdir_lfn *lep; local 1431 lep = (struct pcdir_lfn *)&bpcdir[i]; 1432 set_long_fn_chunk(lep, nameend, nchars); 1433 lep->pcdl_attr = PCDL_LFN_BITS; 1434 lep->pcdl_checksum = cksum; 1435 lep->pcdl_ordinal = (uchar_t)(ndirentries - i - 1); 1439 lep = (struct pcdir_lfn *)&bpcdir[0]; 1440 lep->pcdl_ordinal |= 0x40;
|
H A D | pc_vnops.c | 2170 struct pcdir_lfn *lep = (struct pcdir_lfn *)ep; local 2192 cksum = lep->pcdl_checksum; 2195 for (i = (lep->pcdl_ordinal & ~0xc0); i > 0; i--) { 2209 lep = (struct pcdir_lfn *)ep; 2212 if (!PCDL_IS_LFN((struct pcdir *)lep)) { 2216 if (cksum != lep->pcdl_checksum) 2219 cs = get_long_fn_chunk(lep, buf); 2228 lep++; 2234 ep = (struct pcdir *)lep;
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sbd_mem.c | 826 sbderror_t *lep; local 874 lep = &devlist[d].dv_error; 875 if (SBD_GET_ERR(lep) != 0) { 877 (void) sbd_set_err_in_hdl(hp, lep); 892 SBD_SET_ERR(lep, ESBD_INVAL); 893 SBD_SET_ERRSTR(lep, sbp->sb_mempath[d]); 894 (void) sbd_set_err_in_hdl(hp, lep); 920 SBD_SET_ERR(lep, ESBD_INTERNAL); 921 SBD_SET_ERRSTR(lep, sbp->sb_mempath[d]); 922 (void) sbd_set_err_in_hdl(hp, lep); [all...] |
/illumos-gate/usr/src/lib/libshare/nfs/ |
H A D | libshare_nfs.c | 1564 struct logtab_ent lep; local 1618 lep.le_buffer = buffer; 1619 lep.le_path = dir; 1620 lep.le_tag = tag; 1621 lep.le_state = LES_ACTIVE; 1626 if (logtab_putent(f, &lep) < 0) {
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prsubr.c | 383 lwpent_t *lep = p->p_lwpdir[t->t_dslot].ld_entry; local 404 for (vp = lep->le_trace; vp != NULL; vp = pnp->pr_next) { 421 prlwpfree(proc_t *p, lwpent_t *lep) argument 436 vp = lep->le_trace; 437 lep->le_trace = NULL;
|
H A D | prvnops.c | 815 lwpent_t *lep; local 853 if ((lep = ldp->ld_entry) == NULL) 855 if ((t = lep->le_thread) != NULL) 859 sp->pr_lwpid = lep->le_lwpid; 862 sp->pr_start.tv_sec = lep->le_start; 1448 lwpent_t *lep; local 1475 lep = p->p_lwpdir[pnp->pr_common->prc_tslot].ld_entry; 1477 lwpsinfo.pr_lwpid = lep->le_lwpid; 1480 lwpsinfo.pr_start.tv_sec = lep->le_start; 1948 lwpent_t *lep; local 2521 lwpent_t *lep; local 3792 lwpent_t *lep; local 5128 lwpent_t *lep; local 5675 lwpent_t *lep = p->p_lwpdir[slot].ld_entry; local [all...] |