/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | readbuf.c | 137 lbp->next = lbp; in nfslog_init_buf() 138 lbp->prev = lbp; in nfslog_init_buf() 184 if (fcntl(lbp->fd, F_SETLKW, &lbp->fl) == -1) { in nfslog_init_buf() 212 lbp->next_rec = lbp->mmap_addr; in nfslog_init_buf() 243 lbp->next_rec += lbp->bh.bh_offset; in nfslog_init_buf() 255 lbp->last_record_offset = lbp->next_rec; in nfslog_init_buf() 257 lbp->last_record_offset = lbp->next_rec - lbp->mmap_addr; in nfslog_init_buf() 281 lbp->prp->start_offset + lbp->prp->len; in nfslog_free_buf() 385 if (lbp->filesize <= lbp->next_rec - lbp->mmap_addr) { in nfslog_read_buffer() 448 lrp->lbp = lbp; in nfslog_read_buffer() [all …]
|
H A D | process_buffer.c | 83 struct nfslog_buf *lbp = NULL; in process_buffer() local 179 if ((lbp = nfslog_open_buf(bufferpath, &error)) == NULL) in process_buffer() 195 while ((lrp = nfslog_get_logrecord(lbp)) != NULL && keep_running) { in process_buffer() 266 ncp->nc_rpclogpath, &lbp->bh, &error); in process_buffer() 376 if (lbp != NULL) in process_buffer() 377 nfslog_close_buf(lbp, quick_cleaning); in process_buffer()
|
H A D | nfslogd.h | 145 struct nfslog_buf *lbp; member
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_log.c | 109 (lbp)->lb_refcnt++; \ 214 for (lbp = nfslog_buffer_list; lbp != NULL; lbp = lbp->lb_next) { in nfslog_setup() 217 lbp->lb_path)); in nfslog_setup() 245 for (lbp = nfslog_buffer_list; lbp != NULL; in nfslog_setup() 246 lbp = lbp->lb_next) { in nfslog_setup() 367 lbp->lb_refcnt++; in log_buffer_rele() 416 kmem_free(lbp, sizeof (*lbp)); in log_buffer_rele() 693 lbp->lb_num_recs++; in nfslog_record_put() 755 lbp->lb_num_recs = 0; in nfslog_records_flush_to_disk_nolock() 1031 for (nlbp = NULL; lbp != NULL; lbp = nlbp) { in nfslog_record_append2all() [all …]
|
/illumos-gate/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()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.dol.c | 643 tchar *lbp, *obp, *mbp; in heredoc() local 664 lbp = lbuf; lcnt = BUFSIZ - 4; in heredoc() 674 *lbp++ = c; in heredoc() 681 *lbp = 0; in heredoc() 696 *lbp++ = '\n'; *lbp = 0; in heredoc() 697 for (lbp = lbuf; c = *lbp++; ) { in heredoc()
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
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()
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | export.h | 381 #define LOG_BUFFER_HOLD(lbp) { \ argument 382 mutex_enter(&(lbp)->lb_lock); \ 383 (lbp)->lb_refcnt++; \ 384 mutex_exit(&(lbp)->lb_lock); \ 387 #define LOG_BUFFER_RELE(lbp) { \ argument 388 log_buffer_rele(lbp); \
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | refer5.c | 23 static char *lbp = bflab; variable 266 strcpy(labtab[nref] = lbp, t); in tokeytab() 267 while (*lbp++) in tokeytab() 282 if (lbp-bflab > NFLAB) in keylet() 287 fprintf(stderr, "lbp up to %d of %d\n", lbp-bflab, NFLAB); in keylet()
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/ |
H A D | ql_apps.h | 115 typedef struct lbp { struct 125 typedef struct lbp { argument
|
/illumos-gate/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()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | savemail.c | 863 char *lbp; local 866 lbp = translate_dollars(buf, buf, &lbs); 867 expand(lbp, lbp, lbs, e); 868 putok = putline(lbp, mci); 869 if (lbp != buf) 870 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);
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | arc_impl.h | 870 const l2arc_log_blkptr_t *lbp);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | streamio.c | 1730 mblk_t *lbp = q->q_last; in strrput() local 1731 unsigned char db_type = lbp->b_datap->db_type; in strrput() 1735 !(lbp->b_flag & (MSGDELIM|MSGMARK|MSGMARKNEXT))) { in strrput() 1736 rmvq_noenab(q, lbp); in strrput() 1753 lbp->b_flag |= MSGMARKNEXT; in strrput() 1754 lbp->b_flag &= ~MSGNOTMARKNEXT; in strrput() 1757 lbp->b_flag |= MSGNOTMARKNEXT; in strrput() 1761 linkb(lbp, bp); in strrput() 1762 bp = lbp; in strrput()
|
H A D | sunmdi.c | 2046 client_lb_t lbp; /* load balancing policy */ in mdi_select_path() local 2182 lbp = sb ? ct->ct_lb : LOAD_BALANCE_RR; in mdi_select_path() 2184 switch (lbp) { in mdi_select_path()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci.c | 1134 client_lb_t lbp; in vhci_scsi_start() local 1206 lbp = mdi_get_lb_policy(cdip); in vhci_scsi_start() 1207 if (lbp != LOAD_BALANCE_NONE) { in vhci_scsi_start() 1213 vlun->svl_lb_policy_save = lbp; in vhci_scsi_start() 1272 pkt_reserve_cmd, restore_lbp, lbp)); in vhci_scsi_start() 1274 (void) mdi_set_lb_policy(cdip, lbp); in vhci_scsi_start() 1313 (void) mdi_set_lb_policy(cdip, lbp); in vhci_scsi_start() 1383 (void) mdi_set_lb_policy(cdip, lbp); in vhci_scsi_start() 1514 (void) mdi_set_lb_policy(cdip, lbp); in vhci_scsi_start()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | arc.c | 2728 const l2arc_log_blkptr_t *lbp); 9732 l2arc_log_blk_fetch(vdev_t *vd, const l2arc_log_blkptr_t *lbp, in l2arc_log_blk_fetch() argument 9740 asize = L2BLK_GET_PSIZE((lbp)->lbp_prop); in l2arc_log_blk_fetch() 9748 (void) zio_nowait(zio_read_phys(pio, vd, lbp->lbp_daddr, asize, in l2arc_log_blk_fetch() 9933 l2arc_log_blkptr_valid(l2arc_dev_t *dev, const l2arc_log_blkptr_t *lbp) in l2arc_log_blkptr_valid() argument 9936 uint64_t asize = L2BLK_GET_PSIZE((lbp)->lbp_prop); in l2arc_log_blkptr_valid() 9937 uint64_t end = lbp->lbp_daddr + asize - 1; in l2arc_log_blkptr_valid() 9938 uint64_t start = lbp->lbp_payload_start; in l2arc_log_blkptr_valid()
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_vnops.c | 1312 struct pc_dirent lbp; in pcfs_readdir() local 1313 struct pc_dirent *ld = &lbp; in pcfs_readdir()
|