Home
last modified time | relevance | path

Searched refs:lp (Results 126 – 150 of 636) sorted by relevance

12345678910>>...26

/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_rec.c171 __log_open_file(lp, argp) in __log_open_file() argument
172 DB_LOG *lp; in __log_open_file()
186 LOCK_LOGTHREAD(lp);
187 if (argp->id < lp->dbentry_cnt)
188 dbe = &lp->dbentry[argp->id];
197 UNLOCK_LOGTHREAD(lp);
200 UNLOCK_LOGTHREAD(lp);
207 (void)__log_rem_logid(lp, argp->id);
211 return (__log_do_open(lp,
222 __log_do_open(lp, uid, name, ftype, ndx) in __log_do_open() argument
[all …]
/illumos-gate/usr/src/uts/common/io/udmf/
H A Dudmf_usbgem.c210 struct udmf_dev *lp = dp->private; in udmf_init_chip() local
220 lp->rcr = RCR_RUNT; in udmf_init_chip()
249 struct udmf_dev *lp = dp->private; in udmf_start_chip() local
252 lp->rcr |= RCR_RXEN; in udmf_start_chip()
266 struct udmf_dev *lp = dp->private; in udmf_stop_chip() local
269 lp->rcr &= ~RCR_RXEN; in udmf_stop_chip()
308 if (lp->rcr & RCR_RXEN) { in udmf_set_rx_filter()
349 lp->rcr |= mode; in udmf_set_rx_filter()
651 lp->last_nsr = imp->im_nsr; in udmf_interrupt()
716 bzero(lp->mac_addr, sizeof (lp->mac_addr)); in udmf_attach_chip()
[all …]
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_netbios_util.c161 unsigned char *lp; in netbios_first_level_name_encode() local
179 lp = op++; in netbios_first_level_name_encode()
182 if ((*lp = len) != 0) in netbios_first_level_name_encode()
187 *lp = len; in netbios_first_level_name_encode()
188 lp = op++; in netbios_first_level_name_encode()
195 *lp = len; in netbios_first_level_name_encode()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dsubshell.c229 for(lp=sp->svar; lp; lp = lp->next) in nv_subsaved()
231 if(lp->node==np) in nv_subsaved()
270 for(lp=sp->svar; lp;lp = lp->next) in sh_assignok()
272 if(lp->node==np) in sh_assignok()
278 lp->node = np; in sh_assignok()
296 lp->child = mp; in sh_assignok()
300 lp->dict = dp; in sh_assignok()
325 for(lp=sp->svar; lp; lp=lq) in nv_restore()
328 lq = lp->next; in nv_restore()
329 mp = lp->node; in nv_restore()
[all …]
/illumos-gate/usr/src/cmd/fm/fmdump/common/
H A Dasru.c33 asru_short(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) in asru_short() argument
45 asru_verb1(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) in asru_verb1() argument
74 asru_verb23_cmn(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp, in asru_verb23_cmn() argument
110 asru_verb2(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) in asru_verb2() argument
112 return (asru_verb23_cmn(lp, rp, fp, NULL)); in asru_verb2()
116 asru_pretty(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) in asru_pretty() argument
126 rc = asru_verb23_cmn(lp, rp, fp, pctl); in asru_pretty()
H A Dfmdump.c224 fmd_log_errmsg(lp, fmd_log_errno(lp))); in error()
1035 fmd_log_errmsg(lp, fmd_log_errno(lp))); in pipeline_err()
1066 fmd_log_t *lp; in pipeline_process() local
1079 fmd_log_header(lp, &log); in pipeline_process()
1101 logpath, fmd_log_errmsg(lp, fmd_log_errno(lp))); in pipeline_process()
1103 fmd_log_close(lp); in pipeline_process()
1114 fmd_log_close(lp); in pipeline_process()
1288 fmd_log_t *lp; in main() local
1526 fmd_log_errmsg(lp, fmd_log_errno(lp))); in main()
1622 fmd_log_errmsg(lp, fmd_log_errno(lp))); in main()
[all …]
/illumos-gate/usr/src/cmd/vgrind/
H A Dvgrind.ksh24 lp=${LP:-/usr/bin/lp}
28 dpost=/usr/lib/lp/postscript/dpost
186 case $(/usr/bin/basename $lp) in
187 lp)
194 /usr/bin/printf "`/usr/bin/gettext TEXT_DOMAIN 'vgrind: unknown print program %s'`\n" $lp >&2
233 cmd="$cmd | $lp $lpopts"
250 cmd="$cmd | $lp $lpopts"
/illumos-gate/usr/src/cmd/refer/
H A Dhunt6.c41 long lp; in baddrop() local
61 lp = iflong ? master.b[i] : master.a[i]; in baddrop()
65 i, master.b[i], lp); in baddrop()
68 i, master.a[i], lp); in baddrop()
70 fseek(fc, lp, 0); in baddrop()
146 long lp, c; in auxil() local
152 sscanf(res, "%ld,%d", &lp, &len); in auxil()
153 fseek(fd, lp, 0); in auxil()
H A Dinv6.c32 long lp; in whash() local
41 lp = 0; in whash()
51 hpt[++hash] = lp; in whash()
54 hpt[hash] = lp += iflong ? sizeof (long) : sizeof (int); in whash()
63 lp += iflong ? sizeof (long) : sizeof (int); in whash()
70 hpt[++hash] = lp; in whash()
H A Dinv2.c30 long lp, ftell(); in newkeys() local
39 lp = ftell(recf); in newkeys()
69 fprintf(outf, "%04d %06ld\n", hash(keyv[i])%nhash, lp); in newkeys()
87 hash(key)%nhash, lp); in newkeys()
91 lp += (strlen(line)+lt+1); in newkeys()
94 *iflong = (lp >= 65536L); in newkeys()
/illumos-gate/usr/src/ucblib/libcurses/
H A Dbox.c34 char *fp, *lp; in box() local
39 lp = win->_y[endy]; in box()
41 fp[i] = lp[i] = hor; in box()
46 fp[0] = fp[endx] = lp[0] = lp[endx] = ' '; in box()
/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioLib.cc42 AudioList* lp; in Audio_OpenInputFile() local
56 lp = new AudioList; in Audio_OpenInputFile()
57 if (lp == 0) { in Audio_OpenInputFile()
61 lp->Insert(inf); in Audio_OpenInputFile()
62 ap = lp; in Audio_OpenInputFile()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/features/
H A Dlocale19 static struct lconv *lp;
20 …# define GETDECIMAL(x) (((lp=localeconv()) && lp->decimal_point && *lp->decimal_point) ? *lp->de…
/illumos-gate/usr/src/uts/common/io/
H A Dbofi.c1866 for (lp = hp->link; lp != NULL; ) { in bofi_errdef_free()
1878 lp = lp->link; in bofi_errdef_free()
2427 for (lp = hp->link; lp != NULL; lp = lp->link) { in do_pior_corrupt()
2543 for (lp = hp->link; lp != NULL; lp = lp->link) { in do_piow_corrupt()
3759 for (lp = hp->link; lp != NULL; lp = lp->link) { in bofi_dma_flush()
4258 for (lp = hp->link; lp != NULL; lp = lp->link) { in bofi_dvma_sync()
4314 for (lp = hp->link; lp != NULL; lp = lp->link) { in bofi_intercept_intr()
4396 for (lp = hp->link; lp != NULL; lp = lp->link) { in bofi_check_acc_hdl()
4437 for (lp = hp->link; lp != NULL; lp = lp->link) { in bofi_check_dma_hdl()
4481 for (lp = hp->link; lp != NULL; lp = lp->link) { in bofi_post_event()
[all …]
/illumos-gate/usr/src/cmd/lp/
H A DMakefile.lp35 LPROOT= $(SRC)/cmd/lp
39 ROOTETCLP= $(ROOTETC)/lp
40 ROOTLIBLP= $(ROOTLIB)/lp
41 ROOTBINLP= $(ROOTBIN)/lp
61 LPINC = $(SRC)/cmd/lp/include
62 LPLIB = $(SRC)/cmd/lp/lib
68 LIBLP = $(LPLIB)/lp/liblp.a
80 LINTLP = $(LPLIB)/lp/llib-llp.ln
/illumos-gate/usr/src/cmd/praudit/
H A Dprio.c99 pr_adr_int32(pr_context_t *context, int32_t *lp, int count) in pr_adr_int32() argument
106 err = adrf_int32(adrf, lp, count); in pr_adr_int32()
120 adrm_int32(adr, lp, count); in pr_adr_int32()
125 pr_adr_int64(pr_context_t *context, int64_t *lp, int count) in pr_adr_int64() argument
132 err = adrf_int64(adrf, lp, count); in pr_adr_int64()
146 adrm_int64(adr, lp, count); in pr_adr_int64()
163 pr_adr_u_int64(pr_context_t *context, uint64_t *lp, int count) in pr_adr_u_int64() argument
165 return (pr_adr_int64(context, (int64_t *)lp, count)); in pr_adr_u_int64()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dserver.c559 struct linkbuf *lp; in savelink() local
561 for (lp = ihead; lp != NULL; lp = lp->nextp) in savelink()
562 if (lp->inum == stp->st_ino && lp->devnum == stp->st_dev) { in savelink()
563 lp->count--; in savelink()
564 return (lp); in savelink()
566 lp = (struct linkbuf *)malloc(sizeof (*lp)); in savelink()
567 if (lp == NULL) in savelink()
571 ihead = lp; in savelink()
578 sizeof (lp->pathname)) >= sizeof (lp->pathname)) { in savelink()
584 sizeof (lp->target)) >= sizeof (lp->target)) in savelink()
[all …]
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_log.c42 inj_logfile_event(fmd_log_t *lp, const fmd_log_record_t *rp, void *data) in inj_logfile_event() argument
104 inj_logfile_read(fmd_log_t *lp) in inj_logfile_read() argument
106 const char *label = fmd_log_label(lp); in inj_logfile_read()
115 if (fmd_log_iter(lp, inj_logfile_event, &ilf) != 0) { in inj_logfile_read()
117 fmd_log_errmsg(lp, fmd_log_errno(lp))); in inj_logfile_read()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop.c617 char *lp = line; in show_pktinfo() local
621 (void) sprintf(lp, "%3d ", num); in show_pktinfo()
622 lp += strlen(lp); in show_pktinfo()
631 lp += strlen(lp); in show_pktinfo()
647 lp += strlen(lp); in show_pktinfo()
653 lp += strlen(lp); in show_pktinfo()
658 lp += strlen(lp); in show_pktinfo()
662 (void) sprintf(lp, "drops: %d ", drops); in show_pktinfo()
663 lp += strlen(lp); in show_pktinfo()
667 (void) sprintf(lp, "length: %4d ", len); in show_pktinfo()
[all …]
/illumos-gate/usr/src/cmd/print/scripts/
H A Dlpadmin37 LPADMIN=/usr/lib/lp/local/lpadmin
60 if [[ ! -f /etc/lp/filter.table ]] ; then
61 cd /etc/lp/fd ; for filter in *.fd ; do
227 if [[ ${lpget_class} -eq 0 && ! -r /etc/lp/classes/"${class}" ]] ; then
291 if [[ -n "${device}" || -f /etc/lp/printers/${printer}/configuration || \
292 -f /etc/lp/classes/${printer} ]] ; then
305 (/bin/ls /etc/lp/printers 2>/dev/null ; /bin/ls /etc/lp/classes \
349 (/bin/ls /etc/lp/printers 2>/dev/null ; /bin/ls /etc/lp/classes \
H A Dconv_lp57 if [ ! -d ${BASE_DIR}/etc/lp/printers ] ; then
62 if [ -f ${BASE_DIR}/etc/lp/default ] ; then
63 DEFAULT_PRINTER=`cat ${BASE_DIR}/etc/lp/default`
65 mv ${BASE_DIR}/etc/lp/default ${BASE_DIR}/etc/default.orig
68 cd ${BASE_DIR}/etc/lp/printers # get the list of locally configured printers
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_impl.h190 int skip_line(const grub_line_t *lp, grub_barg_t *barg);
191 int error_line(const grub_line_t *lp, grub_barg_t *barg);
192 int kernel(const grub_line_t *lp, grub_barg_t *barg);
193 int module(const grub_line_t *lp, grub_barg_t *barg);
194 int dollar_kernel(const grub_line_t *lp, grub_barg_t *barg);
195 int dollar_module(const grub_line_t *lp, grub_barg_t *barg);
196 int findroot(const grub_line_t *lp, grub_barg_t *barg);
197 int bootfs(const grub_line_t *lp, grub_barg_t *barg);
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Denv.c45 Elist *lp; in build_env_list() local
46 if ((lp = (Elist *)malloc(sizeof (Elist))) == NULL) { in build_env_list()
50 lp->l_libname = strdup(tok); in build_env_list()
51 lp->l_next = *list; in build_env_list()
52 *list = lp; in build_env_list()
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_tmpdir.c59 const char * const *lp, *p; local
106 for (lp = list; *lp != NULL; ++lp)
107 if (__os_exists(p = *lp, NULL) == 0)
/illumos-gate/usr/src/cmd/newform/
H A Dnewform.c704 for (lp = optl; lp < flp; lp++) { in process()
705 switch (lp->option) { in process()
707 append(lp->param); in process()
710 if (lp->param <= (plast - pfirst)) in process()
711 begtrunc(lp->param); in process()
719 chrnow = lp->param; in process()
724 endtrunc(lp->param); in process()
735 inputtabs(lp->param); in process()
738 effll = lp->param ? lp->param : 72; in process()
744 outputtabs(lp->param); in process()
[all …]

12345678910>>...26