Home
last modified time | relevance | path

Searched refs:nmap (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/lib/libproc/common/
H A DPscantext.c59 unsigned nmap; /* number of map descriptors */ in Pscantext() local
89 nmap = 50; in Pscantext()
93 prbuf = malloc(nmap * sizeof (prmap_t)); in Pscantext()
99 nmappings = pread(mapfd, prbuf, nmap * sizeof (prmap_t), 0L); in Pscantext()
108 if (nmappings < nmap) /* we read them all */ in Pscantext()
112 nmap *= 2; in Pscantext()
H A DPsymtab.c477 ssize_t nmap; in Pupdate_maps() local
488 if (Preadmaps(P, &Pmap, &nmap) != 0) in Pupdate_maps()
491 if ((newmap = calloc(1, nmap * sizeof (map_info_t))) == NULL) in Pupdate_maps()
502 for (i = 0; i < nmap; i++, pmap++, newp++) { in Pupdate_maps()
574 P->map_count = P->map_alloc = nmap; in Pupdate_maps()
H A DPcontrol.c111 ssize_t nmap; in Pread_maps_live() local
120 (nmap = pread(mapfd, Pmap, statb.st_size, 0L)) <= 0 || in Pread_maps_live()
121 (nmap /= sizeof (prmap_t)) == 0) { in Pread_maps_live()
132 *nmapp = nmap; in Pread_maps_live()
/illumos-gate/usr/src/cmd/ptools/pmap/
H A Dpmap.c588 int mapfd, nmap, i, rc; in rmapping_iter() local
602 nmap = st.st_size / sizeof (prmap_t); in rmapping_iter()
603 prmapp = malloc((nmap + 1) * sizeof (prmap_t)); in rmapping_iter()
612 nmap = n / sizeof (prmap_t); in rmapping_iter()
629 int mapfd, nmap, i, rc; in xmapping_iter() local
643 nmap = st.st_size / sizeof (prxmap_t); in xmapping_iter()
644 nmap *= 2; in xmapping_iter()
646 prmapp = malloc((nmap + 1) * sizeof (prxmap_t)); in xmapping_iter()
654 if (nmap < n / sizeof (prxmap_t)) { in xmapping_iter()
656 nmap *= 2; in xmapping_iter()
[all …]
/illumos-gate/usr/src/cmd/truss/
H A Dfcall.c57 int nmap; member
234 int nmap = 0; in establish_stacks() local
242 (nmap = pread(mapfd, Pmap, statb.st_size, 0L)) <= 0 || in establish_stacks()
243 (nmap /= sizeof (prmap_t)) == 0) { in establish_stacks()
247 nmap = 0; in establish_stacks()
256 ph_map.nmap = nmap; in establish_stacks()
690 for (; nmap; nmap--, Pmap++) { in make_lwp_stack()
765 int nmap = 0; in find_lwp_stack() local
777 (nmap /= sizeof (prmap_t)) == 0) { in find_lwp_stack()
786 for (pmap = Pmap; nmap--; pmap++) { in find_lwp_stack()
[all …]
/illumos-gate/usr/src/uts/sun4v/os/
H A Dlpad.c131 lpd->nmap = 3; in lpad_setup()
135 datasz += (lpd->nmap - 1) * sizeof (lpad_map_t); in lpad_setup()
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_idmap.c147 smb_idmap_batch_create(smb_idmap_batch_t *sib, uint16_t nmap, int flags) in smb_idmap_batch_create() argument
163 sib->sib_nmap = nmap; in smb_idmap_batch_create()
164 sib->sib_size = nmap * sizeof (smb_idmap_t); in smb_idmap_batch_create()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_idmap.c184 smb_idmap_batch_create(smb_idmap_batch_t *sib, uint16_t nmap, int flags) in smb_idmap_batch_create() argument
193 sib->sib_nmap = nmap; in smb_idmap_batch_create()
194 sib->sib_size = nmap * sizeof (smb_idmap_t); in smb_idmap_batch_create()
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfksmb_idmap.c151 smb_idmap_batch_create(smb_idmap_batch_t *sib, uint16_t nmap, int flags) in smb_idmap_batch_create() argument
166 sib->sib_nmap = nmap; in smb_idmap_batch_create()
167 sib->sib_size = nmap * sizeof (smb_idmap_t); in smb_idmap_batch_create()
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dlpad.h69 uint64_t nmap; /* number of mappings */ member
/illumos-gate/usr/src/uts/sun4v/ml/
H A Dmach_offsets.in296 nmap LPAD_NMAP
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfssubr.c839 vdev_raidz_matrix_init(raidz_map_t *rm __unused, int n, int nmap, int *map, in vdev_raidz_matrix_init() argument
850 for (i = 0; i < nmap; i++) { in vdev_raidz_matrix_init()
/illumos-gate/usr/src/cmd/stat/fsstat/
H A Dfsstat.c249 PRINTSTAT(niceflag, "%5s ", "%lld:", DELTA(nmap), buf); in vm_display()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_raidz.c1142 vdev_raidz_matrix_init(raidz_map_t *rm, int n, int nmap, int *map, in vdev_raidz_matrix_init() argument
1153 for (i = 0; i < nmap; i++) { in vdev_raidz_matrix_init()
/illumos-gate/usr/src/cmd/fm/dicts/
H A DAMD.po325 msgstr "The BIOS has not configured the affected rank(s) into the system memory\nmap.\n"
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/sys/
H A Dvnode.h110 kstat_named_t nmap; /* VOP_MAP */ member
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/sys/
H A Dvnode.h113 kstat_named_t nmap; /* VOP_MAP */ member
/illumos-gate/usr/src/uts/common/sys/
H A Dvnode.h112 kstat_named_t nmap; /* VOP_MAP */ member
/illumos-gate/usr/src/uts/common/fs/
H A Dvnode.c516 kstat_named_init(&vsp->nmap, "nmap", KSTAT_DATA_UINT64); in create_vopstats_template()