Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/vm/
H A Dvm_swap.c1075 struct swapinfo **sipp, *nsip = NULL, *esip = NULL; in swapadd() local
1212 nsip = kmem_zalloc(sizeof (struct swapinfo), KM_SLEEP); in swapadd()
1213 nsip->si_vp = cvp; in swapadd()
1215 nsip->si_soff = soff; in swapadd()
1216 nsip->si_eoff = eoff; in swapadd()
1217 nsip->si_hint = 0; in swapadd()
1218 nsip->si_checkcnt = nsip->si_alloccnt = 0; in swapadd()
1220 nsip->si_pnamelen = (int)strlen(swapname) + 1; in swapadd()
1221 nsip->si_pname = (char *)kmem_zalloc(nsip->si_pnamelen, KM_SLEEP); in swapadd()
1222 bcopy(swapname, nsip->si_pname, nsip->si_pnamelen - 1); in swapadd()
[all …]
/titanic_41/usr/src/lib/scsi/plugins/ses/ses2/common/
H A Dses2_impl.h553 #define SES2_NVCACHE_SIZE(nsip) \ argument
554 ((uint64_t)SCSI_READ16(&(nsip)->snsi_nvcache_size) << \
555 (SES2_NVCACHE_SHIFT * (nsip)->snsi_size_multiplier))