Home
last modified time | relevance | path

Searched refs:nsets (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/os/
H A Dppage.c73 static int nsets; /* number of sets */ variable
111 nsets = mmu_btop(PPMAPSIZE); in ppmapinit()
114 for (nset = 0; nset < nsets; nset++) { in ppmapinit()
156 for (nset = 0; nset < nsets; nset++) { in ppmapin()
204 nset = ((uintptr_t)va >> ppmap_shift) & (nsets - 1); in ppmapout()
/illumos-gate/usr/src/uts/sun4u/os/
H A Dppage.c68 #define clsettoarray(color, set) ((color * nsets) + set)
76 static int nsets; /* number of sets */ variable
109 nsets = PPMAPSIZE / shm_alignment; in ppmapinit()
121 nsets = mmu_btop(PPMAPSIZE); in ppmapinit()
126 for (nset = 0; nset < nsets; nset++) { in ppmapinit()
183 for (nset = 0; nset < nsets; nset++) { in ppmapin()
241 nset = ((uintptr_t)va >> ppmap_shift) & (nsets - 1); in ppmapout()
/illumos-gate/usr/src/cmd/cpc/common/
H A Dcpustat.c66 uint_t nsets; member
256 (opts->nsets = cpc_setgrp_numsets(opts->master)) == 0) { in main()
285 (opts->mseconds * opts->nsets)); in main()
289 opts->nsamples *= opts->nsets; in main()
357 if (opts->nsets > 1) in print_sample()
418 if (opts->nsets > 1) in print_total()
501 if (opts->nsets == 1) { in gtick()
552 (sample_cnt % opts->nsets) == 0) { in gtick()
H A Dcputrack.c53 uint_t nsets; member
201 (opts->nsets = cpc_setgrp_numsets(opts->master)) == 0) { in main()
308 if (opts->nsets > 1) in print_sample()
398 if (opts->nsets == 1) { in pfini_lwp()
578 if (opts->nsets == 1) { in ptick()
/illumos-gate/usr/src/cmd/gencat/
H A Dgencat.c1032 int nsets; local
1048 nsets = 0;
1052 ++nsets;
1059 mem = nsets * _CAT_SET_HDR_SIZE + nmsgs * _CAT_MSG_HDR_SIZE + text_size;
1070 hdrp->__nsets = nsets;
1072 hdrp->__msg_hdr_offset = nsets * _CAT_SET_HDR_SIZE;
1073 hdrp->__msg_text_offset = nsets * _CAT_SET_HDR_SIZE +
1077 msg = (struct _cat_msg_hdr *) (set + nsets);
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_output.c1345 uint_t *nsets, uint32_t *slen) in sctp_add_ftsn_set() argument
1353 ASSERT(s != NULL && nsets != NULL); in sctp_add_ftsn_set()
1354 ASSERT((*nsets == 0 && *s == NULL) || (*nsets > 0 && *s != NULL)); in sctp_add_ftsn_set()
1364 *nsets = 1; in sctp_add_ftsn_set()
1390 (*nsets)++; in sctp_add_ftsn_set()
1404 uint_t nsets, uint32_t seglen) in sctp_make_ftsn_chunk() argument
1438 while (nsets > 0) { in sctp_make_ftsn_chunk()
1444 nsets--; in sctp_make_ftsn_chunk()
1467 uint_t nsets = 0; in sctp_make_ftsns() local
1487 !sctp_add_ftsn_set(&sets, fp, meta, &nsets, seglen)) { in sctp_make_ftsns()
[all …]
H A Dsctp_input.c1975 uint_t nsets = 0; in sctp_check_abandoned_msg() local
1984 !sctp_add_ftsn_set(&sets, fp, meta, &nsets, &seglen)) { in sctp_check_abandoned_msg()
1988 nmp = sctp_make_ftsn_chunk(sctp, fp, sets, nsets, seglen); in sctp_check_abandoned_msg()
/illumos-gate/usr/src/uts/common/io/vr/
H A Dvr.c567 int n, nsets, rc; in vr_bus_config() local
579 nsets = (elem * sizeof (uint_t)) / sizeof (pci_regspec_t); in vr_bus_config()
584 vrp->nsets = nsets; in vr_bus_config()
585 vrp->regset = kmem_zalloc(nsets * sizeof (vr_acc_t), KM_SLEEP); in vr_bus_config()
586 for (n = 0; n < nsets; n++) { in vr_bus_config()
596 kmem_free(vrp->regset, nsets * sizeof (vr_acc_t)); in vr_bus_config()
607 for (n = 0; n < nsets; n++) { in vr_bus_config()
623 for (n = 0; n < nsets; n++) in vr_bus_config()
625 kmem_free(vrp->regset, nsets * sizeof (vr_acc_t)); in vr_bus_config()
708 for (n = 0; n < vrp->nsets; n++) in vr_bus_unconfig()
[all …]
H A Dvr.h460 int nsets; member
/illumos-gate/usr/src/uts/common/syscall/
H A Dpoll.c1101 pcache_alloc_fd(int nsets) in pcache_alloc_fd() argument
1106 if (nsets > 0) { in pcache_alloc_fd()
1107 pdp->pd_ref = kmem_zalloc(sizeof (xref_t) * nsets, KM_SLEEP); in pcache_alloc_fd()
1108 pdp->pd_nsets = nsets; in pcache_alloc_fd()
3014 pcacheset_create(int nsets) in pcacheset_create() argument
3016 return (kmem_zalloc(sizeof (pollcacheset_t) * nsets, KM_SLEEP)); in pcacheset_create()
3020 pcacheset_destroy(pollcacheset_t *pcsp, int nsets) in pcacheset_destroy() argument
3024 for (i = 0; i < nsets; i++) { in pcacheset_destroy()
3030 kmem_free(pcsp, sizeof (pollcacheset_t) * nsets); in pcacheset_destroy()
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dcorenote.c1671 Word nsets; in dump_prpriv() local
1680 nsets = extract_as_word(state, &layout->pr_nsets); in dump_prpriv()
1681 print_array(state, &layout->pr_sets, SL_FMT_NUM_ZHEX, nsets, in dump_prpriv()
/illumos-gate/usr/src/cmd/lp/lib/oam/
H A Dmsg.source513 …rm/character\nset name. Use the lpstat -f -S command\nto list all known forms and character\nsets."