Home
last modified time | relevance | path

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

/titanic_50/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()
/titanic_50/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()
/titanic_50/usr/src/cmd/cpc/common/
H A Dcpustat.c62 uint_t nsets; member
252 (opts->nsets = cpc_setgrp_numsets(opts->master)) == 0) { in main()
281 (opts->mseconds * opts->nsets)); in main()
285 opts->nsamples *= opts->nsets; in main()
338 if (opts->nsets > 1) in print_sample()
399 if (opts->nsets > 1) in print_total()
482 if (opts->nsets == 1) { in gtick()
533 (sample_cnt % opts->nsets) == 0) { in gtick()
H A Dcputrack.c53 uint_t nsets; member
205 (opts->nsets = cpc_setgrp_numsets(opts->master)) == 0) { in main()
312 if (opts->nsets > 1) in print_sample()
406 if (opts->nsets == 1) { in pfini_lwp()
586 if (opts->nsets == 1) { in ptick()
/titanic_50/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);
/titanic_50/usr/src/uts/common/inet/sctp/
H A Dsctp_output.c1343 uint_t *nsets, uint32_t *slen) in sctp_add_ftsn_set() argument
1351 ASSERT(s != NULL && nsets != NULL); in sctp_add_ftsn_set()
1352 ASSERT((*nsets == 0 && *s == NULL) || (*nsets > 0 && *s != NULL)); in sctp_add_ftsn_set()
1362 *nsets = 1; in sctp_add_ftsn_set()
1388 (*nsets)++; in sctp_add_ftsn_set()
1402 uint_t nsets, uint32_t seglen) in sctp_make_ftsn_chunk() argument
1436 while (nsets > 0) { in sctp_make_ftsn_chunk()
1442 nsets--; in sctp_make_ftsn_chunk()
1465 uint_t nsets = 0; in sctp_make_ftsns() local
1485 !sctp_add_ftsn_set(&sets, fp, meta, &nsets, seglen)) { in sctp_make_ftsns()
[all …]
H A Dsctp_input.c1974 uint_t nsets = 0; in sctp_check_abandoned_msg() local
1983 !sctp_add_ftsn_set(&sets, fp, meta, &nsets, &seglen)) { in sctp_check_abandoned_msg()
1987 nmp = sctp_make_ftsn_chunk(sctp, fp, sets, nsets, seglen); in sctp_check_abandoned_msg()
/titanic_50/usr/src/uts/common/io/vr/
H A Dvr.c563 int n, nsets, rc; in vr_bus_config() local
575 nsets = (elem * sizeof (uint_t)) / sizeof (pci_regspec_t); in vr_bus_config()
580 vrp->nsets = nsets; in vr_bus_config()
581 vrp->regset = kmem_zalloc(nsets * sizeof (vr_acc_t), KM_SLEEP); in vr_bus_config()
582 for (n = 0; n < nsets; n++) { in vr_bus_config()
592 kmem_free(vrp->regset, nsets * sizeof (vr_acc_t)); in vr_bus_config()
603 for (n = 0; n < nsets; n++) { in vr_bus_config()
619 for (n = 0; n < nsets; n++) in vr_bus_config()
621 kmem_free(vrp->regset, nsets * sizeof (vr_acc_t)); in vr_bus_config()
704 for (n = 0; n < vrp->nsets; n++) in vr_bus_unconfig()
[all …]
H A Dvr.h460 int nsets; member
/titanic_50/usr/src/uts/common/syscall/
H A Dpoll.c1092 pcache_alloc_fd(int nsets) in pcache_alloc_fd() argument
1097 if (nsets > 0) { in pcache_alloc_fd()
1098 pdp->pd_ref = kmem_zalloc(sizeof (xref_t) * nsets, KM_SLEEP); in pcache_alloc_fd()
1099 pdp->pd_nsets = nsets; in pcache_alloc_fd()
3006 pcacheset_create(int nsets) in pcacheset_create() argument
3008 return (kmem_zalloc(sizeof (pollcacheset_t) * nsets, KM_SLEEP)); in pcacheset_create()
3012 pcacheset_destroy(pollcacheset_t *pcsp, int nsets) in pcacheset_destroy() argument
3016 for (i = 0; i < nsets; i++) { in pcacheset_destroy()
3022 kmem_free(pcsp, sizeof (pollcacheset_t) * nsets); in pcacheset_destroy()
/titanic_50/usr/src/cmd/sgs/elfdump/common/
H A Dcorenote.c1557 Word nsets; in dump_prpriv() local
1566 nsets = extract_as_word(state, &layout->pr_nsets); in dump_prpriv()
1567 print_array(state, &layout->pr_sets, SL_FMT_NUM_ZHEX, nsets, in dump_prpriv()
/titanic_50/usr/src/cmd/lp/lib/oam/
H A Dmsg.source515 …rm/character\nset name. Use the lpstat -f -S command\nto list all known forms and character\nsets."