/illumos-gate/usr/src/cmd/spell/ |
H A D | hash.c | 72 long *lp; local 74 for (lp = pow2; (c = *s++) != 0; ) { 76 h += (c&LOCHMASK) * *lp++; 77 h += (c>>LOCHWIDTH) * *lp++;
|
/illumos-gate/usr/src/lib/libc/amd64/gen/ |
H A D | lock.s | 31 / _lock_try(lp) 42 / _lock_clear(lp)
|
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_netbios_util.c | 161 unsigned char *lp; local 179 lp = op++; 182 if ((*lp = len) != 0) 187 *lp = len; 188 lp = op++; 195 *lp = len;
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | lcl_ng.c | 238 struct linelist *lp, *olp; local 241 lp = pvt->linehead; 242 while (lp) { 243 olp = lp; 244 lp = lp->l_next; 279 struct linelist *lp = pvt->linehead; local 284 while (lp) { 285 if (!strcmp(group, lp->l_groupname)) 287 lp 361 struct linelist *lp; local [all...] |
/illumos-gate/usr/src/cmd/fm/modules/sun4v/generic-mem/ |
H A D | gmem_util.c | 86 gmem_list_append(gmem_list_t *lp, void *new) argument 88 gmem_list_t *p = lp->l_prev; /* p = tail list element */ 91 lp->l_prev = q; 98 lp->l_next = q; 102 gmem_list_prepend(gmem_list_t *lp, void *new) argument 105 gmem_list_t *q = lp->l_next; /* q = head list element */ 107 lp->l_next = p; 114 lp->l_prev = p; 118 gmem_list_insert_before(gmem_list_t *lp, void *before_me, void *new) argument 124 gmem_list_prepend(lp, ne 135 gmem_list_insert_after(gmem_list_t *lp, void *after_me, void *new) argument 152 gmem_list_delete(gmem_list_t *lp, void *existing) argument [all...] |
/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 44 if (!lp->l1_tailp) { 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) { 72 lp->l1_tailp = NULL; 77 for (prevp = lp 96 L1_remove(L1_t *lp) argument [all...] |
/illumos-gate/usr/src/cmd/sendmail/db/log/ |
H A D | log_get.c | 97 LOG *lp; local 105 lp = dblp->lp; 111 nlsn = lp->chkpt_lsn; 160 nlsn.file = lp->lsn.file; 161 nlsn.offset = lp->lsn.offset - lp->len; 170 if (nlsn.file > lp->lsn.file || 171 (nlsn.file == lp->lsn.file && nlsn.offset >= lp [all...] |
/illumos-gate/usr/src/lib/print/mod_ipp/ |
H A D | Makefile | 42 IPPCONFDIR = $(ROOT)/etc/lp/ipp 43 IPPLIBDIR = $(ROOT)/usr/lib/lp/ipp 44 LISTENERDIR = $(ROOT)/var/lp/ipp-listener 46 ROOTDIRS = $(ROOT)/etc/lp $(IPPCONFDIR) \ 47 $(ROOT)/usr/lib/lp $(IPPLIBDIR) \ 48 $(ROOT)/var/lp $(LISTENERDIR) 50 $(ROOT)/etc/lp:= DIRMODE = 775 51 $(ROOT)/var/lp:= DIRMODE = 775 52 $(ROOT)/var/lp:= FILEMODE = 775 92 $(ROOT)/var/lp [all...] |
/illumos-gate/usr/src/lib/libdll/common/ |
H A D | dllnext.c | 66 register void* lp; local 83 if (strcmp(vp, "MAIN") && (lp = dllopen(vp, flags))) 85 if (xr = (Write_f)dlsym(lp, "write")) 95 if (lp = dllopen(strcmp(vp, "MAIN") ? vp : (char*)0, flags)) 129 if (dlsym(lp, dummy)) 131 dlclose(lp); 132 lp = 0; 135 if (lp) 141 return lp; 148 else if ((_DLL_RLD_SYM_TYPE*)dlsym(lp, _DLL_RLD_SYM_ST [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_cred.c | 143 ksidlist_t *lp; local 145 lp = kmem_zalloc(KSIDLIST_MEM(token_grps->i_cnt), KM_SLEEP); 146 lp->ksl_ref = 1; 147 lp->ksl_nsid = token_grps->i_cnt; 148 lp->ksl_neid = 0; 150 for (i = 0; i < lp->ksl_nsid; i++) { 151 smb_cred_set_sid(&token_grps->i_ids[i], &lp->ksl_sids[i]); 152 if (lp->ksl_sids[i].ks_id > IDMAP_WK__MAX_GID) 153 lp->ksl_neid++; 156 return (lp); [all...] |
/illumos-gate/usr/src/cmd/filesync/ |
H A D | anal.c | 649 { struct file *lp; local 683 for (lp = changes; lp; lp = lp->f_rnext) { 685 if (fp == lp) 688 tgtp = &lp->f_info[tgtside]; 689 chgp = &lp->f_info[chgside]; 727 if ((fp->f_base != lp->f_base) && same_name(fp, lp, chgsid 833 { struct file *lp; local 909 { struct file *lp; local [all...] |
/illumos-gate/usr/src/cmd/audio/audioconvert/ |
H A D | convert.cc | 123 struct conv_list *lp; local 125 for (lp = list; lp != NULL; lp = lp->next) { 126 if (lp->next == NULL) 129 return (lp); 171 struct conv_list *lp; local 199 lp = get_last_conv(list); 200 lp 350 struct conv_list *lp; local 419 struct conv_list *lp; local 479 struct conv_list *lp; local 675 struct conv_list *lp; local [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | xdr_stdio.c | 84 xdrstdio_getint32(XDR *xdrs, int32_t *lp) argument 86 if (fread((caddr_t)lp, sizeof (int32_t), 1, 90 *lp = ntohl(*lp); 95 xdrstdio_putint32(XDR *xdrs, int32_t *lp) argument 98 int32_t mycopy = htonl(*lp); 99 lp = &mycopy; 101 if (fwrite((caddr_t)lp, sizeof (int32_t), 1, 109 xdrstdio_getlong(XDR *xdrs, long *lp) argument 115 *lp 120 xdrstdio_putlong(XDR *xdrs, long *lp) argument [all...] |
/illumos-gate/usr/src/cmd/streams/log/ |
H A D | strace.c | 51 static void prlog(FILE *log, struct log_ctl *lp, char *dp); 182 struct log_ctl *lp = (struct log_ctl *)cbuf; local 231 lp = (struct log_ctl *)cbuf; 232 prlog(stdout, lp, dbuf); 239 prlog(FILE *log, struct log_ctl *lp, char *dp) argument 244 time_t t = (time_t)lp->ttime; 249 lp->seq_no, (ts+11), lp->ltime, lp->level, 250 ((lp [all...] |
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | adr.c | 91 adr_long(adr_t *adr, int32_t *lp, int count); 93 adr_int32(adr_t *adr, int32_t *lp, int count) argument 98 for (; count-- > 0; lp++) { 99 for (i = 0, l = *(uint32_t *)lp; i < 4; i++) { 130 adr_int64(adr_t *adr, int64_t *lp, int count) argument 135 for (; count-- > 0; lp++) { 136 for (i = 0, l = *(uint64_t *)lp; i < 8; i++) {
|
/illumos-gate/usr/src/cmd/fm/fmdump/common/ |
H A D | error.c | 32 err_short(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument 44 err_verb1(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument 59 err_verb23_cmn(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp, argument 77 err_verb2(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument 79 return (err_verb23_cmn(lp, rp, fp, NULL)); 83 err_pretty(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument 93 rc = err_verb23_cmn(lp, rp, fp, pctl);
|
H A D | info.c | 32 info_short(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument 44 info_verb1(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument 59 info_verb23_cmn(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp, argument 80 info_verb2(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument 82 return (info_verb23_cmn(lp, rp, fp, NULL)); 86 info_pretty(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) argument 96 rc = info_verb23_cmn(lp, rp, fp, pctl);
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | ses_sen.c | 122 Uscmd local, *lp = &local; local 134 lp->uscsi_flags = USCSI_READ|USCSI_RQENABLE; 135 lp->uscsi_timeout = ses_io_time; 136 lp->uscsi_cdb = cdb; 137 lp->uscsi_bufaddr = sdata; 138 lp->uscsi_buflen = SENPGINSIZE; 139 lp->uscsi_cdblen = sizeof (cdb); 140 lp->uscsi_rqbuf = rqbuf; 141 lp->uscsi_rqlen = sizeof (rqbuf); 142 err = ses_runcmd(ssc, lp); 329 Uscmd local, *lp = &local; local [all...] |
/illumos-gate/usr/src/lib/libast/common/tm/ |
H A D | tmxmake.c | 43 register Tm_leap_t* lp; local 59 for (lp = &tm_data.leap[0]; n < lp->time; lp++); 60 if (lp->total) 62 if (n == lp->time && (leapsec = (lp->total - (lp+1)->total)) < 0) 64 t = tmxsns(n - lp->total, tmxnsec(t));
|
H A D | tmxtime.c | 49 register Tm_leap_t* lp; local 130 for (lp = &tm_data.leap[0]; t < lp->time - (lp+1)->total; lp++); 131 t += lp->total; 132 n = lp->total - (lp+1)->total; 133 if (t <= (lp->time + n) && (n > 0 && sec > 59 || n < 0 && sec > (59 + n) && sec <= 59))
|
/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_tmpdir.c | 61 const char * const *lp, *p; local 108 for (lp = list; *lp != NULL; ++lp) 109 if (__os_exists(p = *lp, NULL) == 0)
|
/illumos-gate/usr/src/cmd/sgs/link_audit/common/ |
H A D | env.c | 45 Elist *lp; local 46 if ((lp = (Elist *)malloc(sizeof (Elist))) == NULL) { 50 lp->l_libname = strdup(tok); 51 lp->l_next = *list; 52 *list = lp;
|
/illumos-gate/usr/src/cmd/sendmail/db/lock/ |
H A D | lock.c | 94 struct __db_lock *lp; local 117 list[i].obj, list[i].mode, &lp); 119 list[i].lock = LOCK_TO_OFFSET(lt, lp); 142 for (lp = SH_LIST_FIRST(&sh_locker->heldby, __db_lock); 143 lp != NULL; 144 lp = SH_LIST_FIRST(&sh_locker->heldby, __db_lock)) { 145 SH_LIST_REMOVE(lp, locker_links, __db_lock); 146 SH_LIST_INSERT_HEAD(&sh_parent->heldby, lp, 148 lp->holder = txn->parent->txnid; 154 lp 442 struct __db_lock *newl, *lp; local 676 struct __db_lock *lp; local [all...] |
/illumos-gate/usr/src/cmd/refer/ |
H A D | inv2.c | 32 long lp, ftell(); local 41 lp = ftell(recf); 71 fprintf(outf, "%04d %06ld\n", hash(keyv[i])%nhash, lp); 89 hash(key)%nhash, lp); 93 lp += (strlen(line)+lt+1); 96 *iflong = (lp >= 65536L);
|
H A D | inv6.c | 34 long lp; local 43 lp = 0; 53 hpt[++hash] = lp; 56 hpt[hash] = lp += iflong ? sizeof (long) : sizeof (int); 65 lp += iflong ? sizeof (long) : sizeof (int); 72 hpt[++hash] = lp;
|