Home
last modified time | relevance | path

Searched refs:nsip (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/vm/
H A Dvm_swap.c1102 struct swapinfo **sipp, *nsip = NULL, *esip = NULL; in swapadd() local
1239 nsip = kmem_zalloc(sizeof (struct swapinfo), KM_SLEEP); in swapadd()
1240 nsip->si_vp = cvp; in swapadd()
1242 nsip->si_soff = soff; in swapadd()
1243 nsip->si_eoff = eoff; in swapadd()
1244 nsip->si_hint = 0; in swapadd()
1245 nsip->si_checkcnt = nsip->si_alloccnt = 0; in swapadd()
1247 nsip->si_pnamelen = (int)strlen(swapname) + 1; in swapadd()
1248 nsip->si_pname = (char *)kmem_zalloc(nsip->si_pnamelen, KM_SLEEP); in swapadd()
1249 bcopy(swapname, nsip->si_pname, nsip->si_pnamelen - 1); in swapadd()
[all …]
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/
H A Dses2_impl.h556 #define SES2_NVCACHE_SIZE(nsip) \ argument
557 ((uint64_t)SCSI_READ16(&(nsip)->snsi_nvcache_size) << \
558 (SES2_NVCACHE_SHIFT * (nsip)->snsi_size_multiplier))