Home
last modified time | relevance | path

Searched refs:lbp (Results 1 – 24 of 24) sorted by relevance

/titanic_44/usr/src/cmd/fs.d/nfs/nfslog/
H A Dreadbuf.c93 struct nfslog_buf *lbp = NULL; in nfslog_open_buf() local
100 if ((lbp = malloc(sizeof (struct nfslog_buf))) == NULL) { in nfslog_open_buf()
104 bzero(lbp, sizeof (struct nfslog_buf)); in nfslog_open_buf()
106 if (nfslog_init_buf(bufpath, lbp, error)) { in nfslog_open_buf()
107 free(lbp); in nfslog_open_buf()
110 return (lbp); in nfslog_open_buf()
117 nfslog_close_buf(struct nfslog_buf *lbp, int close_quick) in nfslog_close_buf() argument
119 nfslog_free_buf(lbp, close_quick); in nfslog_close_buf()
120 free(lbp); in nfslog_close_buf()
134 nfslog_init_buf(char *bufpath, struct nfslog_buf *lbp, int *error) in nfslog_init_buf() argument
[all …]
H A Dprocess_buffer.c85 struct nfslog_buf *lbp = NULL; in process_buffer() local
181 if ((lbp = nfslog_open_buf(bufferpath, &error)) == NULL) in process_buffer()
197 while ((lrp = nfslog_get_logrecord(lbp)) != NULL && keep_running) { in process_buffer()
268 ncp->nc_rpclogpath, &lbp->bh, &error); in process_buffer()
378 if (lbp != NULL) in process_buffer()
379 nfslog_close_buf(lbp, quick_cleaning); in process_buffer()
H A Dnfslogd.h145 struct nfslog_buf *lbp; member
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs_log.c104 #define LOG_BUFFER_HOLD(lbp) { \ argument
105 mutex_enter(&(lbp)->lb_lock); \
106 (lbp)->lb_refcnt++; \
107 mutex_exit(&(lbp)->lb_lock); \
197 struct log_buffer *lbp; in nfslog_setup() local
211 for (lbp = nfslog_buffer_list; lbp != NULL; lbp = lbp->lb_next) { in nfslog_setup()
214 lbp->lb_path)); in nfslog_setup()
215 if (strcmp(lbp->lb_path, kex->ex_log_buffer) == 0) { in nfslog_setup()
217 LOG_BUFFER_HOLD(lbp); in nfslog_setup()
218 exi->exi_logbuffer = lbp; in nfslog_setup()
[all …]
/titanic_44/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, linebufend) in printn() argument
209 register char *lbp; /* Current offset in buffer */
[all …]
/titanic_44/usr/src/uts/common/fs/sockfs/
H A Dnl7clogd.c211 logd_log_write(kmutex_t *lock, log_buf_t *lbp) in logd_log_write() argument
213 nca_log_buf_hdr_t *hdr = (nca_log_buf_hdr_t *)lbp->buffer; in logd_log_write()
242 iov.iov_base = lbp->buffer; in logd_log_write()
373 log_buf_t *lbp; in logd_worker() local
383 while ((lbp = logdp->head) == NULL) { in logd_worker()
388 if ((logdp->head = lbp->next) == NULL) in logd_worker()
392 logd_log_write(lock, lbp); in logd_worker()
393 kmem_cache_free(log_buf_kmc, lbp); in logd_worker()
603 log_buf_t *lbp = log; in logit_flush() local
612 if (lbp != NULL && lbp->cur_pos > (sizeof (nca_log_buf_hdr_t)) && in logit_flush()
[all …]
H A Dsodirect.c259 mblk_t *lbp; in sod_uioa_so_init() local
277 lbp = NULL; in sod_uioa_so_init()
307 lbp = wbp; in sod_uioa_so_init()
336 if (lbp != NULL) { in sod_uioa_so_init()
338 lbp->b_cont = NULL; in sod_uioa_so_init()
349 bp->b_prev = lbp; in sod_uioa_so_init()
H A Dsockstr.c2003 mblk_t *lbp; in strsock_proto() local
2056 lbp = qp->q_last; in strsock_proto()
2080 if ((qp->q_first != NULL) && (DB_TYPE(lbp) == M_PROTO)) { in strsock_proto()
2081 tprp = (union T_primitives *)lbp->b_rptr; in strsock_proto()
/titanic_44/usr/src/psm/promif/ieee1275/common/
H A Dprom_printf.c101 char localbuf[100], *lbp; in _doprint() local
106 bp = &lbp; in _doprint()
107 lbp = &localbuf[0]; in _doprint()
120 lbp = &localbuf[0]; in _doprint()
126 lbp = &localbuf[0]; in _doprint()
202 lbp = &localbuf[0]; in _doprint()
213 lbp = &localbuf[0]; in _doprint()
/titanic_44/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu_ioctl_uwp.c51 struct linkblk *lbp; in oplmsu_uwioctl_iplink() local
66 lbp = (struct linkblk *)mp->b_cont->b_rptr; in oplmsu_uwioctl_iplink()
109 lpath->lower_queue = lbp->l_qbot; /* Set lower queue pointer */ in oplmsu_uwioctl_iplink()
110 lpath->link_id = lbp->l_index; /* Set Link-ID */ in oplmsu_uwioctl_iplink()
127 struct linkblk *lbp; in oplmsu_uwioctl_ipunlink() local
147 lbp = (struct linkblk *)mp->b_cont->b_rptr; in oplmsu_uwioctl_ipunlink()
172 if ((lpath->lower_queue == RD(lbp->l_qbot)) || in oplmsu_uwioctl_ipunlink()
173 (lpath->lower_queue == WR(lbp->l_qbot))) { in oplmsu_uwioctl_ipunlink()
/titanic_44/usr/src/uts/sun4u/starfire/io/
H A Didn_xf.c544 board_desc_t *lbp; in pc_write_madr() local
547 lbp = pda_get_board_info(ph, lboard); in pc_write_madr()
549 ASSERT(lbp); in pc_write_madr()
550 ASSERT((lbp->bda_board & BDAN_MASK) == BDAN_GOOD); in pc_write_madr()
552 procset = lbp->bda_proc; in pc_write_madr()
553 iocset = lbp->bda_ioc; in pc_write_madr()
742 board_desc_t *lbp; in pc_read_madr() local
744 lbp = pda_get_board_info(ph, lboard); in pc_read_madr()
746 ASSERT(lbp); in pc_read_madr()
747 ASSERT((lbp->bda_board & BDAN_MASK) == BDAN_GOOD); in pc_read_madr()
[all …]
/titanic_44/usr/src/uts/common/nfs/
H A Dexport.h375 #define LOG_BUFFER_HOLD(lbp) { \ argument
376 mutex_enter(&(lbp)->lb_lock); \
377 (lbp)->lb_refcnt++; \
378 mutex_exit(&(lbp)->lb_lock); \
381 #define LOG_BUFFER_RELE(lbp) { \ argument
382 log_buffer_rele(lbp); \
/titanic_44/usr/src/cmd/csh/
H A Dsh.dol.c634 tchar *lbp, *obp, *mbp; in heredoc() local
655 lbp = lbuf; lcnt = BUFSIZ - 4; in heredoc()
665 *lbp++ = c; in heredoc()
672 *lbp = 0; in heredoc()
687 *lbp++ = '\n'; *lbp = 0; in heredoc()
688 for (lbp = lbuf; c = *lbp++; ) { in heredoc()
/titanic_44/usr/src/cmd/refer/
H A Drefer5.c25 static char *lbp = bflab; variable
268 strcpy(labtab[nref] = lbp, t); in tokeytab()
269 while (*lbp++) in tokeytab()
284 if (lbp-bflab > NFLAB) in keylet()
289 fprintf(stderr, "lbp up to %d of %d\n", lbp-bflab, NFLAB); in keylet()
/titanic_44/usr/src/uts/common/sys/fibre-channel/fca/qlc/
H A Dql_apps.h115 typedef struct lbp { struct
125 typedef struct lbp { argument
/titanic_44/usr/src/uts/common/fs/ufs/
H A Dlufs_log.c78 lufs_buf_t *lbp; in ldl_strategy_done() local
87 lbp = (lufs_buf_t *)cb; in ldl_strategy_done()
88 sv = (lufs_save_t *)lbp->lb_ptr; in ldl_strategy_done()
98 kmem_cache_free(lufs_bp, lbp); in ldl_strategy_done()
105 kmem_cache_free(lufs_bp, lbp); in ldl_strategy_done()
165 lufs_buf_t *lbp; in ldl_strategy() local
190 lbp = kmem_cache_alloc(lufs_bp, KM_SLEEP); in ldl_strategy()
191 bioinit(&lbp->lb_buf); in ldl_strategy()
192 lbp->lb_ptr = sv; in ldl_strategy()
195 pblkno, ldl_strategy_done, &lbp->lb_buf, KM_SLEEP); in ldl_strategy()
/titanic_44/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);
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);
/titanic_44/usr/src/uts/common/os/
H A Dstreamio.c1660 mblk_t *lbp = q->q_last; in strrput() local
1661 unsigned char db_type = lbp->b_datap->db_type; in strrput()
1665 !(lbp->b_flag & (MSGDELIM|MSGMARK|MSGMARKNEXT))) { in strrput()
1666 rmvq_noenab(q, lbp); in strrput()
1683 lbp->b_flag |= MSGMARKNEXT; in strrput()
1684 lbp->b_flag &= ~MSGNOTMARKNEXT; in strrput()
1687 lbp->b_flag |= MSGNOTMARKNEXT; in strrput()
1691 linkb(lbp, bp); in strrput()
1692 bp = lbp; in strrput()
H A Dsunmdi.c2048 client_lb_t lbp; /* load balancing policy */ in mdi_select_path() local
2184 lbp = sb ? ct->ct_lb : LOAD_BALANCE_RR; in mdi_select_path()
2186 switch (lbp) { in mdi_select_path()
/titanic_44/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c1131 client_lb_t lbp; in vhci_scsi_start() local
1203 lbp = mdi_get_lb_policy(cdip); in vhci_scsi_start()
1204 if (lbp != LOAD_BALANCE_NONE) { in vhci_scsi_start()
1210 vlun->svl_lb_policy_save = lbp; in vhci_scsi_start()
1269 pkt_reserve_cmd, restore_lbp, lbp)); in vhci_scsi_start()
1271 (void) mdi_set_lb_policy(cdip, lbp); in vhci_scsi_start()
1310 (void) mdi_set_lb_policy(cdip, lbp); in vhci_scsi_start()
1380 (void) mdi_set_lb_policy(cdip, lbp); in vhci_scsi_start()
1511 (void) mdi_set_lb_policy(cdip, lbp); in vhci_scsi_start()
/titanic_44/usr/src/uts/common/fs/zfs/
H A Darc.c7621 l2arc_log_blk_prefetch(vdev_t *vd, const l2arc_log_blkptr_t *lbp, in l2arc_log_blk_prefetch() argument
7627 psize = LBP_GET_PSIZE(lbp); in l2arc_log_blk_prefetch()
7632 (void) zio_nowait(zio_read_phys(pio, vd, lbp->lbp_daddr, psize, in l2arc_log_blk_prefetch()
7767 l2arc_log_blkptr_valid(l2arc_dev_t *dev, const l2arc_log_blkptr_t *lbp) in l2arc_log_blkptr_valid() argument
7769 uint64_t psize = LBP_GET_PSIZE(lbp); in l2arc_log_blkptr_valid()
7770 uint64_t end = lbp->lbp_daddr + psize; in l2arc_log_blkptr_valid()
7777 return (lbp->lbp_daddr >= dev->l2ad_start && end <= dev->l2ad_end && in l2arc_log_blkptr_valid()
/titanic_44/usr/src/uts/common/fs/pcfs/
H A Dpc_vnops.c1311 struct pc_dirent lbp; in pcfs_readdir() local
1312 struct pc_dirent *ld = &lbp; in pcfs_readdir()