/titanic_41/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | readbuf.c | 93 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 D | process_buffer.c | 85 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 D | nfslogd.h | 145 struct nfslog_buf *lbp; member
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs_log.c | 104 #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_41/usr/src/cmd/sgs/rtld.4.x/ |
H A D | rtsubrs.c | 137 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_41/usr/src/uts/common/io/lvm/md/ |
H A D | md_mddb.c | 610 mddb_lb_t *lbp; in computefreeblks() local 616 lbp = s->s_lbp; in computefreeblks() 622 nblks = (lbp->lb_flags & MDDB_MNSET) ? MDDB_MN_MAXBLKS : MDDB_MAXBLKS; in computefreeblks() 635 for (i = 0; i < lbp->lb_loccnt; i++) { in computefreeblks() 636 mddb_locator_t *lp = &lbp->lb_locators[i]; in computefreeblks() 683 if (lbp->lb_flags & MDDB_DEVID_STYLE) { in computefreeblks() 699 if (!(lbp->lb_flags & MDDB_MNSET)) { in computefreeblks() 1189 mddb_devid_icp_free(mddb_did_ic_t **did_icp, mddb_lb_t *lbp) in mddb_devid_icp_free() argument 1198 dbtob(lbp->lb_didblkcnt)); in mddb_devid_icp_free() 1319 mddb_lb_t *lbp = s->s_lbp; in wrtblklst() local [all …]
|
H A D | md.c | 901 mddb_lb_t *lbp; in md_print_block_usage() local 923 lbp = s->s_lbp; in md_print_block_usage() 925 for (li = 0; li < lbp->lb_loccnt; li++) { in md_print_block_usage() 926 if (lbp->lb_locators[li].l_flags & MDDB_F_DELETED) in md_print_block_usage() 936 slp = &lbp->lb_sidelocators[s->s_sideno][li]; in md_print_block_usage() 953 name, lbp->lb_drvnm[drv_index].dn_data, in md_print_block_usage() 954 slp->l_mnum, lbp->lb_locators[li].l_blkno, in md_print_block_usage()
|
/titanic_41/usr/src/uts/common/fs/sockfs/ |
H A D | nl7clogd.c | 211 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 D | sodirect.c | 259 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 D | sockstr.c | 2003 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_41/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_printf.c | 101 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_41/usr/src/uts/sun4u/opl/io/oplmsu/ |
H A D | oplmsu_ioctl_uwp.c | 51 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_41/usr/src/uts/sun4u/starfire/io/ |
H A D | idn_xf.c | 544 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_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_import.c | 386 mddb_lb_t *lbp, in get_replica_disks() argument 402 for (indx = 0; indx < lbp->lb_loccnt; indx++) { in get_replica_disks() 405 if ((lbp->lb_locators[indx].l_flags == 0) || in get_replica_disks() 406 (lbp->lb_locators[indx].l_flags & MDDB_F_DELETED)) in get_replica_disks() 532 flags = lbp->lb_locators[indx].l_flags; in get_replica_disks() 533 offset = lbp->lb_locators[indx].l_blkno; in get_replica_disks() 1007 mddb_lb_t *lbp, in set_append() argument 1037 get_replica_disks(misp, did_listp, mb, lbp, ep); in set_append() 1301 mddb_lb_t *lbp = bp; in read_locator_block() local 1311 return ((lbp->lb_magic == MDDB_MAGIC_LB) ? 1 : 0); in read_locator_block() [all …]
|
H A D | meta_statconcise.c | 1714 mddb_lb_t *lbp, in read_all_mdrecords() argument 1730 for (dbblk = lbp->lb_dbfirstblk; in read_all_mdrecords() 1836 mddb_lb_t *lbp, in report_metastat_info() argument 1851 rval = read_all_mdrecords(&mdimp, mb, lbp, nm, rsp, fd, lastaccess, in report_metastat_info()
|
/titanic_41/usr/src/uts/common/nfs/ |
H A D | export.h | 375 #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_41/usr/src/cmd/csh/ |
H A D | sh.dol.c | 634 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_41/usr/src/cmd/refer/ |
H A D | refer5.c | 25 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_41/usr/src/uts/common/sys/fibre-channel/fca/qlc/ |
H A D | ql_apps.h | 115 typedef struct lbp { struct 125 typedef struct lbp { struct
|
/titanic_41/usr/src/uts/common/fs/ufs/ |
H A D | lufs_log.c | 78 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_41/usr/src/cmd/sendmail/src/ |
H A D | savemail.c | 861 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 D | main.c | 4059 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 D | srvrsmtp.c | 4946 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_41/usr/src/uts/common/os/ |
H A D | streamio.c | 1660 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()
|
/titanic_41/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci.c | 1131 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()
|