Home
last modified time | relevance | path

Searched refs:resv (Results 1 – 25 of 33) sorted by relevance

12

/titanic_50/usr/src/uts/common/fs/ufs/
H A Dufs_trans.c642 int resv; in ufs_log_amt() local
654 resv = SIZECG(ip) * 2 + INODESIZE + 1024; in ufs_log_amt()
718 resv += niblk * (fs->fs_bsize + sizeof (struct delta)); in ufs_log_amt()
730 resv += (ncg - 2) * SIZECG(ip); in ufs_log_amt()
732 return (resv); in ufs_log_amt()
747 ulong_t resv; in ufs_trans_trunc_resv() local
760 resv = SIZECG(ip) * 2 + INODESIZE + 1024; in ufs_trans_trunc_resv()
778 for (; (resv = ufs_log_amt(ip, offset, resid, 1)) > ufs_trans_max_resv; in ufs_trans_trunc_resv()
781 nchunks = roundup(resv, ufs_trans_max_resv) / in ufs_trans_trunc_resv()
794 *resvp = resv; in ufs_trans_trunc_resv()
[all …]
H A Dufs_alloc.c1555 int berr, err, resv, issync; in ufs_allocsp() local
1627 &resv, &resid); in ufs_allocsp()
1628 TRANS_BEGIN_CSYNC(ufsvfsp, issync, TOP_ALLOCSP, resv); in ufs_allocsp()
1649 TOP_ALLOCSP, resv); in ufs_allocsp()
1665 TRANS_END_CSYNC(ufsvfsp, err, issync, TOP_ALLOCSP, resv); in ufs_allocsp()
1673 blkroundup(fs, ufsvfsp->vfs_iotransz), &resv, &resid); in ufs_allocsp()
1674 TRANS_BEGIN_CSYNC(ufsvfsp, issync, TOP_ALLOCSP, resv); in ufs_allocsp()
1688 TOP_ALLOCSP, resv); in ufs_allocsp()
1724 TOP_ALLOCSP, resv); in ufs_allocsp()
1736 TOP_ALLOCSP, resv); in ufs_allocsp()
[all …]
H A Dlufs_top.c261 ulong_t resv; in top_begin_sync() local
283 resv = size + ul->un_resv_wantin + ul->un_resv; in top_begin_sync()
284 if (resv > ul->un_maxresv) { in top_begin_sync()
/titanic_50/usr/src/uts/common/avs/ns/nsctl/
H A Dnsctl.c606 int rc, resv; in nscread() local
614 resv = (nsc_held(fd) == 0); in nscread()
616 if (resv && (rc = nsc_reserve(fd, NSC_PCATCH)) != 0) { in nscread()
623 if (resv) in nscread()
637 int rc, resv; in nscwrite() local
645 resv = (nsc_held(fd) == 0); in nscwrite()
647 if (resv && (rc = nsc_reserve(fd, NSC_PCATCH)) != 0) { in nscwrite()
654 if (resv) in nscwrite()
722 int rc, resv; in _nscpartsize() local
730 resv = (nsc_held(fd) == 0); in _nscpartsize()
[all …]
/titanic_50/usr/src/cmd/sgs/liblddbg/common/
H A Dtls.c71 Dbg_tls_static_block(Lm_list *lml, void *list, ulong_t size, ulong_t resv) in Dbg_tls_static_block() argument
92 EC_XWORD(resv)); in Dbg_tls_static_block()
96 Dbg_tls_static_resv(Rt_map *lmp, ulong_t size, ulong_t resv) in Dbg_tls_static_resv() argument
105 EC_XWORD(size), EC_XWORD(resv)); in Dbg_tls_static_resv()
/titanic_50/usr/src/uts/sun4v/sys/
H A Dvio_mailbox.h192 uint16_t resv; /* padding */ member
235 uint64_t resv[VIO_PAYLOAD_ELEMS - 1]; member
247 uint64_t resv[VIO_PAYLOAD_ELEMS]; member
H A Dvio_common.h46 uint16_t resv[3]; member
H A Ddds.h126 uint16_t resv; member
/titanic_50/usr/src/uts/i86xpv/io/
H A Dprivcmd_hcall.c713 struct xen_memory_reservation resv; in privcmd_HYPERVISOR_memory_op() member
729 if (import_buffer(&op_ie, arg, &op_arg, sizeof (op_arg.resv), in privcmd_HYPERVISOR_memory_op()
733 error = import_handle(&sub_ie, &op_arg.resv.extent_start, in privcmd_HYPERVISOR_memory_op()
734 (op_arg.resv.nr_extents * sizeof (ulong_t)), IE_IMPEXP); in privcmd_HYPERVISOR_memory_op()
738 get_xen_guest_handle(taddr, op_arg.resv.extent_start); in privcmd_HYPERVISOR_memory_op()
745 domid_t, op_arg.resv.domid, in privcmd_HYPERVISOR_memory_op()
746 ulong_t, op_arg.resv.nr_extents, in privcmd_HYPERVISOR_memory_op()
747 uint_t, op_arg.resv.extent_order, in privcmd_HYPERVISOR_memory_op()
752 domid_t, op_arg.resv.domid, in privcmd_HYPERVISOR_memory_op()
753 ulong_t, op_arg.resv.nr_extents, in privcmd_HYPERVISOR_memory_op()
[all …]
/titanic_50/usr/src/uts/common/sys/1394/
H A Dixl1394.h228 uint16_t resv; member
275 uint16_t resv; member
387 uint16_t resv; member
/titanic_50/usr/src/uts/common/sys/fibre-channel/
H A Dfc_appif.h288 uchar_t resv[3]; member
299 uchar_t resv; member
/titanic_50/usr/src/uts/common/sys/nxge/
H A Dnxge_rxdma_hw.h1728 uint8_t resv:2; member
1738 uint8_t resv:2;
1758 uint8_t resv:4; member
1762 uint8_t resv:4;
1804 uint8_t resv:4; member
1808 uint8_t resv:4;
1828 uint8_t resv:4; member
1832 uint8_t resv:4;
/titanic_50/usr/src/uts/common/os/
H A Dvmem.c946 int hb, flist, resv; in vmem_xalloc() local
1090 resv = VMEM_SEGS_PER_SPAN_CREATE + in vmem_xalloc()
1094 resv = VMEM_SEGS_PER_SPAN_CREATE + in vmem_xalloc()
1097 resv = VMEM_SEGS_PER_ALLOC_MAX; in vmem_xalloc()
1099 ASSERT(vmp->vm_nsegfree >= resv); in vmem_xalloc()
1100 vmp->vm_nsegfree -= resv; /* reserve our segs */ in vmem_xalloc()
1117 vmp->vm_nsegfree += resv; /* claim reservation */ in vmem_xalloc()
1132 ASSERT(resv >= in vmem_xalloc()
1148 ASSERT(resv >= VMEM_SEGS_PER_MIDDLE_ALLOC); in vmem_xalloc()
H A Dclock.c835 pgcnt_t maxswap, resv, free; in clock() local
844 resv = k_anoninfo.ani_phys_resv + in clock()
847 vminfo.swap_resv += resv; in clock()
852 if (maxswap < resv) in clock()
856 vminfo.swap_avail += maxswap - resv; in clock()
/titanic_50/usr/src/cmd/sgs/rtld/common/
H A Dtls.c174 ulong_t resv = tls_static_resv; in tls_assign() local
249 if (resv != tls_static_resv) in tls_assign()
/titanic_50/usr/src/uts/common/io/hxge/
H A Dhxge_txdma_hw.h107 uint8_t resv[TXDMA_MAILBOX_UNUSED]; member
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_dfclib.h578 uint32_t resv:3; member
583 uint32_t resv:3; member
629 uint32_t resv:28; member
632 uint32_t resv:28; member
1385 uint32_t resv; member
H A Demlxs_hw.h1718 uint8_t resv[32]; /* optional association hdr */ member
1731 uint8_t resv; member
1740 uint8_t resv; member
H A Demlxs_iocb.h444 ULP_BDL resv; member
/titanic_50/usr/src/uts/common/fs/zfs/
H A Ddsl_pool.c617 uint64_t space, resv; in dsl_pool_adjustedsize() local
625 resv = spa_get_slop_space(dp->dp_spa); in dsl_pool_adjustedsize()
627 resv >>= 1; in dsl_pool_adjustedsize()
629 return (space - resv); in dsl_pool_adjustedsize()
/titanic_50/usr/src/uts/common/sys/
H A Dkstat.h698 uchar_t resv; /* reserved */ member
/titanic_50/usr/src/uts/common/sys/fs/
H A Dufs_trans.h339 #define TRANS_WRITE(ip, uiop, ioflag, err, ulp, cr, resv, resid) \ argument
341 err = ufs_trans_write(ip, uiop, ioflag, cr, resv, resid); \
/titanic_50/usr/src/lib/libumem/common/
H A Dvmem.c822 int hb, flist, resv; in vmem_xalloc() local
953 resv = (size == asize) ? in vmem_xalloc()
957 ASSERT(vmp->vm_nsegfree >= resv); in vmem_xalloc()
958 vmp->vm_nsegfree -= resv; /* reserve our segs */ in vmem_xalloc()
963 vmp->vm_nsegfree += resv; /* claim reservation */ in vmem_xalloc()
/titanic_50/usr/src/uts/common/sys/sata/
H A Dsata_hba.h121 uint32_t resv[4]; /* Reseved */ member
/titanic_50/usr/src/uts/common/io/rtw/
H A Drtwvar.h267 uint8_t resv; member

12