Searched defs:lbp (Results 1 - 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/cmd/sgs/rtld.4.x/
H A Drtsubrs.c137 register char *lbp; /* Pointer into stack buffer */ local
143 if (lbp >= &linebuf[128]) { \
144 _write(fd, linebuf, lbp - &linebuf[0]); \
145 lbp = &linebuf[0]; \
147 *lbp++ = (c); \
150 lbp = &linebuf[0];
154 _write(fd, linebuf, lbp - &linebuf[0]);
174 lbp = printn(fd, va_arg(adx, u_long), b, &linebuf[0], lbp,
204 printn(fd, n, b, linebufp, lbp, linebufen
[all...]
/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu_ioctl_uwp.c51 struct linkblk *lbp; local
66 lbp = (struct linkblk *)mp->b_cont->b_rptr;
109 lpath->lower_queue = lbp->l_qbot; /* Set lower queue pointer */
110 lpath->link_id = lbp->l_index; /* Set Link-ID */
127 struct linkblk *lbp; local
147 lbp = (struct linkblk *)mp->b_cont->b_rptr;
167 * lbp->l_qbot from the lower queue address.
172 if ((lpath->lower_queue == RD(lbp->l_qbot)) ||
173 (lpath->lower_queue == WR(lbp->l_qbot))) {
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_printf.c101 char localbuf[100], *lbp; local
106 bp = &lbp;
107 lbp = &localbuf[0];
120 lbp = &localbuf[0];
126 lbp = &localbuf[0];
202 lbp = &localbuf[0];
213 lbp = &localbuf[0];
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dprocess_buffer.c85 struct nfslog_buf *lbp = NULL; local
181 if ((lbp = nfslog_open_buf(bufferpath, &error)) == NULL)
197 while ((lrp = nfslog_get_logrecord(lbp)) != NULL && keep_running) {
268 ncp->nc_rpclogpath, &lbp->bh, &error);
378 if (lbp != NULL)
379 nfslog_close_buf(lbp, quick_cleaning);
H A Dreadbuf.c93 struct nfslog_buf *lbp = NULL; local
100 if ((lbp = malloc(sizeof (struct nfslog_buf))) == NULL) {
104 bzero(lbp, sizeof (struct nfslog_buf));
106 if (nfslog_init_buf(bufpath, lbp, error)) {
107 free(lbp);
110 return (lbp);
117 nfslog_close_buf(struct nfslog_buf *lbp, int close_quick) argument
119 nfslog_free_buf(lbp, close_quick);
120 free(lbp);
134 nfslog_init_buf(char *bufpath, struct nfslog_buf *lbp, in argument
269 nfslog_free_buf(struct nfslog_buf *lbp, int close_quick) argument
363 nfslog_read_buffer(struct nfslog_buf *lbp) argument
469 remove_lrp_from_lb(struct nfslog_buf *lbp, struct nfslog_lr *lrp) argument
494 insert_lrp_to_lb(struct nfslog_buf *lbp, struct nfslog_lr *lrp) argument
549 nfslog_rewrite_bufheader(struct nfslog_buf *lbp) argument
742 nfslog_get_logrecord(struct nfslog_buf *lbp) argument
[all...]
H A Dnfslogd.h145 struct nfslog_buf *lbp; member in struct:nfslog_lr
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsodirect.c259 mblk_t *lbp; local
277 lbp = NULL;
307 lbp = wbp;
336 if (lbp != NULL) {
338 lbp->b_cont = NULL;
349 bp->b_prev = lbp;
H A Dnl7clogd.c211 logd_log_write(kmutex_t *lock, log_buf_t *lbp) argument
213 nca_log_buf_hdr_t *hdr = (nca_log_buf_hdr_t *)lbp->buffer;
242 iov.iov_base = lbp->buffer;
373 log_buf_t *lbp; local
383 while ((lbp = logdp->head) == NULL) {
388 if ((logdp->head = lbp->next) == NULL)
392 logd_log_write(lock, lbp);
393 kmem_cache_free(log_buf_kmc, lbp);
603 log_buf_t *lbp = log; local
612 if (lbp !
[all...]
H A Dsockstr.c2003 mblk_t *lbp; local
2056 lbp = qp->q_last;
2080 if ((qp->q_first != NULL) && (DB_TYPE(lbp) == M_PROTO)) {
2081 tprp = (union T_primitives *)lbp->b_rptr;
/illumos-gate/usr/src/cmd/refer/
H A Drefer5.c25 static char *lbp = bflab; variable
268 strcpy(labtab[nref] = lbp, t);
269 while (*lbp++)
284 if (lbp-bflab > NFLAB)
289 fprintf(stderr, "lbp up to %d of %d\n", lbp-bflab, NFLAB);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dsavemail.c861 char *lbp; local
864 lbp = translate_dollars(buf, buf, &lbs);
865 expand(lbp, lbp, lbs, e);
866 putok = putline(lbp, mci);
867 if (lbp != buf)
868 sm_free(lbp);
H A Dmain.c4059 char *lbp; local
4071 lbp = NULL;
4091 lbp = translate_dollars(delimptr, lbuf, &lbs);
4092 macdefine(&e->e_macro, A_TEMP, mid, lbp);
4093 if (lbp != lbuf)
4094 SM_FREE(lbp);
4105 lbp = translate_dollars(delimptr, lbuf, &lbs);
4106 expand(lbp, exbuf, sizeof(exbuf), e);
4107 if (lbp != lbuf)
4108 SM_FREE(lbp);
[all...]
H A Dsrvrsmtp.c4946 char *lbp; local
4949 lbp = translate_dollars(p, p, &lbs);
4950 expand(lbp, inp, sizeof(inp), e);
4951 if (p != lbp)
4952 sm_free(lbp);
/illumos-gate/usr/src/cmd/csh/
H A Dsh.dol.c634 tchar *lbp, *obp, *mbp; local
655 lbp = lbuf; lcnt = BUFSIZ - 4;
665 *lbp++ = c;
672 *lbp = 0;
687 *lbp++ = '\n'; *lbp = 0;
688 for (lbp = lbuf; c = *lbp++; ) {
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/
H A Dql_apps.h115 typedef struct lbp { struct
125 typedef struct lbp { struct
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_log.c104 #define LOG_BUFFER_HOLD(lbp) { \
105 mutex_enter(&(lbp)->lb_lock); \
106 (lbp)->lb_refcnt++; \
107 mutex_exit(&(lbp)->lb_lock); \
197 struct log_buffer *lbp; local
211 for (lbp = nfslog_buffer_list; lbp != NULL; lbp = lbp->lb_next) {
214 lbp
327 log_buffer_rele(struct log_buffer *lbp) argument
658 struct log_buffer *lbp = lrp->lb; local
717 nfslog_records_flush_to_disk(struct log_buffer *lbp) argument
736 nfslog_records_flush_to_disk_nolock(struct log_buffer *lbp) argument
906 nfslog_logbuffer_rename(struct log_buffer *lbp) argument
1019 struct log_buffer *lbp, *nlbp; local
1183 struct log_buffer *lbp, *nlbp; local
[all...]
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vnops.c1311 struct pc_dirent lbp; local
1312 struct pc_dirent *ld = &lbp;
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dlufs_log.c78 lufs_buf_t *lbp; local
87 lbp = (lufs_buf_t *)cb;
88 sv = (lufs_save_t *)lbp->lb_ptr;
98 kmem_cache_free(lufs_bp, lbp);
105 kmem_cache_free(lufs_bp, lbp);
165 lufs_buf_t *lbp; local
190 lbp = kmem_cache_alloc(lufs_bp, KM_SLEEP);
191 bioinit(&lbp->lb_buf);
192 lbp->lb_ptr = sv;
195 pblkno, ldl_strategy_done, &lbp
[all...]
/illumos-gate/usr/src/uts/sun4u/starfire/io/
H A Didn_xf.c544 board_desc_t *lbp; local
547 lbp = pda_get_board_info(ph, lboard);
549 ASSERT(lbp);
550 ASSERT((lbp->bda_board & BDAN_MASK) == BDAN_GOOD);
552 procset = lbp->bda_proc;
553 iocset = lbp->bda_ioc;
742 board_desc_t *lbp; local
744 lbp = pda_get_board_info(ph, lboard);
746 ASSERT(lbp);
747 ASSERT((lbp
1639 board_desc_t *lbp; local
[all...]
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_statconcise.c1712 mddb_lb_t *lbp,
1728 for (dbblk = lbp->lb_dbfirstblk;
1834 mddb_lb_t *lbp,
1849 rval = read_all_mdrecords(&mdimp, mb, lbp, nm, rsp, fd, lastaccess,
1709 read_all_mdrecords( md_im_rec_t **mdimpp, mddb_mb_t *mbp, mddb_lb_t *lbp, mddb_rb_t *nm, mdname_t *rsp, int fd, md_timeval32_t *lastaccess, md_error_t *ep ) argument
1832 report_metastat_info( mddb_mb_t *mb, mddb_lb_t *lbp, mddb_rb_t *nm, pnm_rec_t **pnm, mdname_t *rsp, int fd, md_timeval32_t *lastaccess, md_error_t *ep ) argument
H A Dmeta_import.c386 mddb_lb_t *lbp,
402 for (indx = 0; indx < lbp->lb_loccnt; indx++) {
405 if ((lbp->lb_locators[indx].l_flags == 0) ||
406 (lbp->lb_locators[indx].l_flags & MDDB_F_DELETED))
532 flags = lbp->lb_locators[indx].l_flags;
533 offset = lbp->lb_locators[indx].l_blkno;
1007 mddb_lb_t *lbp,
1037 get_replica_disks(misp, did_listp, mb, lbp, ep);
1301 mddb_lb_t *lbp = bp; local
1311 return ((lbp
382 get_replica_disks( md_im_set_desc_t *misp, did_list_t *did_listp, mddb_mb_t *mb, mddb_lb_t *lbp, md_error_t *ep ) argument
1003 set_append( md_im_set_desc_t **mispp, did_list_t *did_listp, mddb_mb_t *mb, mddb_lb_t *lbp, mddb_rb_t *nm, mddb_rb_t *shrnm, pnm_rec_t **pnm, mddb_rb_t *did_nm, mddb_rb_t *did_shrnm, uint_t imp_flags, md_error_t *ep ) argument
1348 read_locator_block_did( md_error_t *ep, int fd, mddb_mb_t *mbp, mddb_lb_t *lbp, void *bp, int bsize ) argument
1378 read_locator_names( md_error_t *ep, int fd, mddb_mb_t *mbp, mddb_lb_t *lbp, void *bp, int bsize ) argument
1511 read_nm_rec( md_error_t *ep, int fd, mddb_mb_t *mbp, mddb_lb_t *lbp, char **nm, mddb_type_t rectype, char *diskname ) argument
1860 build_did_list( md_error_t *ep, int fd, mddb_mb_t *mb, mddb_lb_t *lbp, mddb_did_blk_t *lbdidp, mddb_ln_t *lnp, did_list_t **did_listp, int replicated ) argument
2240 report_set_info( md_im_set_desc_t *misp, mddb_mb_t *mb, mddb_lb_t *lbp, mddb_rb_t *nm, pnm_rec_t **pnm, mdname_t *rsp, int fd, uint_t imp_flags, int set_count, int overlap, md_im_drive_info_t *overlap_disks, md_error_t *ep ) argument
2515 mddb_lb_t *lbp = (mddb_lb_t *)lb; local
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/md/
H A Dmd.c901 mddb_lb_t *lbp; local
923 lbp = s->s_lbp;
925 for (li = 0; li < lbp->lb_loccnt; li++) {
926 if (lbp->lb_locators[li].l_flags & MDDB_F_DELETED)
936 slp = &lbp->lb_sidelocators[s->s_sideno][li];
953 name, lbp->lb_drvnm[drv_index].dn_data,
954 slp->l_mnum, lbp->lb_locators[li].l_blkno,
H A Dmd_subr.c624 mddb_lb_t *lbp; local
662 lbp = s->s_lbp;
717 lbp->lb_locators[i].l_flags;
/illumos-gate/usr/src/uts/common/os/
H A Dstreamio.c1661 mblk_t *lbp = q->q_last; local
1662 unsigned char db_type = lbp->b_datap->db_type;
1666 !(lbp->b_flag & (MSGDELIM|MSGMARK|MSGMARKNEXT))) {
1667 rmvq_noenab(q, lbp);
1684 lbp->b_flag |= MSGMARKNEXT;
1685 lbp->b_flag &= ~MSGNOTMARKNEXT;
1688 lbp->b_flag |= MSGNOTMARKNEXT;
1692 linkb(lbp, bp);
1693 bp = lbp;
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c1131 client_lb_t lbp; local
1203 lbp = mdi_get_lb_policy(cdip);
1204 if (lbp != LOAD_BALANCE_NONE) {
1210 vlun->svl_lb_policy_save = lbp;
1268 "lbp %x", instance, rval, (void *)vlun,
1269 pkt_reserve_cmd, restore_lbp, lbp));
1271 (void) mdi_set_lb_policy(cdip, lbp);
1310 (void) mdi_set_lb_policy(cdip, lbp);
1380 (void) mdi_set_lb_policy(cdip, lbp);
1511 (void) mdi_set_lb_policy(cdip, lbp);
[all...]

Completed in 229 milliseconds

12