/illumos-gate/usr/src/cmd/mdb/tools/findfp/common/ |
H A D | findsym.c | 43 int symtabidx, nent, i; local 53 nent = shdr.sh_size / shdr.sh_entsize; 55 for (i = 0; i < nent; i++) {
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | nhash.h | 49 int nent; member in struct:bucket_t
|
H A D | ncgrpw.c | 417 int nent = 0; /* Number of entries in the member list. */ local 446 * First count the members. The nent variable will be 449 for (tp = grp->gr_mem; *tp; nent++, tp++); 452 memp = malloc(sizeof (char **)* (nent+1)); 457 (sizeof (char **)* (nent+1)), 468 for (nent = 0, tp = grp->gr_mem; *tp; tp++) { 469 if ((memp[nent++] = strdup(*tp)) == NULL) { 486 memp[nent++] = '\0';
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | event_port.c | 140 port_sendn(int ports[], int errors[], uint_t nent, int events, void *user) argument 146 if (nent <= PORT_MAX_LIST) { 148 (uintptr_t)ports, (uintptr_t)errors, nent, events, 155 for (offset = 0; offset < nent; ) { 156 lnent = nent - offset; 157 if (nent - offset > PORT_MAX_LIST) 160 lnent = nent - offset;
|
/illumos-gate/usr/src/cmd/mdb/tools/setdynflag/common/ |
H A D | setdynflag.c | 92 int fd, secidx, nent, i; local 114 nent = shdr.sh_size / shdr.sh_entsize; 115 for (i = 0; i < nent; i++) { 129 if (i == nent) {
|
/illumos-gate/usr/src/cmd/lvm/rpc.metamedd/ |
H A D | med_hash.h | 44 int nent; member in struct:bucket_t
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | gpt.c | 239 int entries_per_sec, nent, part; local 243 for (nent = 0, slba = hdr->hdr_lba_table; 245 slba++, nent += entries_per_sec) { 248 ent = &table[nent + part]; 262 bcopy(&table[nent], secbuf, DEV_BSIZE); 285 int part, nent; local 293 nent = 0; 302 bcopy(ent, &table[nent], sizeof(table[nent])); 303 if (++nent > [all...] |
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_realm.c | 329 int nent = 0; local 331 &nent)) != LDAP_SUCCESS)
|
/illumos-gate/usr/src/cmd/pbind/ |
H A D | pbind.c | 245 int nent, size; local 264 nent = header.pr_nent; 265 size = header.pr_entsize * nent; 284 for (i = 0; i < nent; i++, ptr += header.pr_entsize) {
|
/illumos-gate/usr/src/lib/libc/port/aio/ |
H A D | posix_aio.c | 123 int nent, struct sigevent *_RESTRICT_KYWD sigevp) 142 if (nent <= 0 || nent > aio_list_max) { 159 for (i = 0; i < nent; i++) { 182 error = (int)_kaio(AIOLIO, mode, list, nent, sigevp); 227 head->lio_nent = head->lio_refcnt = nent; 233 for (i = 0; i < nent; i++) { 285 if ((nent - aio_ufs) > 0) 286 (void) _kaio(AIOLIOWAIT, mode, list, nent, sigevp); 306 for (i = 0; i < nent; 122 lio_listio(int mode, aiocb_t *_RESTRICT_KYWD const *_RESTRICT_KYWD list, int nent, struct sigevent *_RESTRICT_KYWD sigevp) argument 341 __aio_suspend(void **list, int nent, const timespec_t *timo, int largefile) argument 625 aio_suspend(const aiocb_t * const list[], int nent, const timespec_t *timeout) argument 933 __aio_waitn(void **list, uint_t nent, uint_t *nwait, const timespec_t *utimo) argument 1200 aio_waitn(aiocb_t *list[], uint_t nent, uint_t *nwait, const timespec_t *timeout) argument 1319 lio_listio64(int mode, aiocb64_t *_RESTRICT_KYWD const *_RESTRICT_KYWD list, int nent, struct sigevent *_RESTRICT_KYWD sigevp) argument 1517 aio_suspend64(const aiocb64_t * const list[], int nent, const timespec_t *timeout) argument 1761 aio_waitn64(aiocb64_t *list[], uint_t nent, uint_t *nwait, const timespec_t *timeout) argument [all...] |
/illumos-gate/usr/src/cmd/plockstat/ |
H A D | plockstat.c | 736 uint_t nent = 0; local 738 process_aggregate, &nent) != 0)
|
/illumos-gate/usr/src/cmd/psrset/ |
H A D | psrset.c | 575 int nent, size; local 594 nent = header.pr_nent; 595 size = header.pr_entsize * nent; 614 for (i = 0; i < nent; i++, ptr += header.pr_entsize) {
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | restore.h | 226 int nent; /* maximum size of list */ member in struct:arglist
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/fstyp/ |
H A D | fstyp.c | 134 static boolean_t dir_find_label(fstyp_pcfs_t *h, struct pcdir *d, int nent); 359 int nent, resid; local 375 nent = secsize / sizeof (struct pcdir); 376 if (nent > resid) { 377 nent = resid; 379 if (dir_find_label(h, (struct pcdir *)buf, nent)) { 383 resid -= nent; 401 int nent; local 419 nent = clustersize / sizeof (struct pcdir); 420 if (dir_find_label(h, (struct pcdir *)buf, nent)) { 462 dir_find_label(fstyp_pcfs_t *h, struct pcdir *d, int nent) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/portfs/ |
H A D | port.c | 975 port_sendn(int ports[], int errors[], uint_t nent, int events, void *user, argument 988 if (nent == 0 || nent > port_max_list) 991 plist = kmem_alloc(nent * sizeof (int), KM_SLEEP); 992 if (copyin((void *)ports, plist, nent * sizeof (int))) { 993 kmem_free(plist, nent * sizeof (int)); 1006 for (count = 0; count < nent; count++) { 1009 elist = port_errorn(elist, nent, EBADF, count); 1017 elist = port_errorn(elist, nent, EBADFD, count); 1026 elist = port_errorn(elist, nent, erro 1053 port_errorn(int *elist, int nent, int error, int index) argument [all...] |
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | output.c | 236 Elf_Data *data, int nent, Elf_Data *strdata, 248 for (i = 0; i < nent; i++) { 337 int nent; local 349 nent = shdr.sh_size / shdr.sh_entsize; 354 iiburst = iiburst_new(td, nent); 356 for (i = 0; i < nent; i++) { 398 if (!check_for_weak(&sym, match.iim_file, data, nent, strdata, 235 check_for_weak(GElf_Sym *weak, char const *weakfile, Elf_Data *data, int nent, Elf_Data *strdata, GElf_Sym *retsym, char **curfilep) argument
|
/illumos-gate/usr/src/cmd/ps/ |
H A D | ucbps.c | 153 int nent; local 349 nent = 0; /* no active entries yet */ 495 if (nent >= entsize) { 504 if ((psent[nent].psinfo = malloc(sizeof (psinfo_t))) 509 *psent[nent].psinfo = info; 511 psent[nent].psargs = NULL; 513 if ((psent[nent].psargs = malloc(strlen(psargs)+1)) 518 (void) strcpy(psent[nent].psargs, psargs); 520 psent[nent].found = found; 521 nent [all...] |
/illumos-gate/usr/src/cmd/mdb/intel/modules/generic_cpu/ |
H A D | gcpu.c | 602 uint_t nent, i; local 612 sym.st_size != sizeof (uint_t) || mdb_vread(&nent, sizeof (uint_t), 620 mw->mw_tracenent = nent; 621 mw->mw_tracesz = nent * sizeof (gcpu_poll_trace_t);
|
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_cpu.c | 352 size_t nent = cpu->cpu_olduec.uec_nent + cpu->cpu_uec.uec_nent; local 353 uint64_t *new = fmd_hdl_alloc(hdl, sizeof (uint64_t) * nent, 367 cpu->cpu_olduec.uec_nent = nent;
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/ |
H A D | fsdb.c | 736 verify_dent(uint32_t i_addr, uint32_t nent) argument 754 if (ent == nent) { 765 print_dent(uint32_t i_addr, uint32_t nent) argument 775 if (verify_dent(i_addr, nent) == 0) { 778 if (ent == nent) { 800 int32_t i, d, nent; local 835 nent = SWAP_32(fe->fe_len_adesc) / elen; 836 de = malloc(nent * sizeof (struct ext)); 843 de_count = nent; 844 for (d = 0, i = 0; i < nent; [all...] |
/illumos-gate/usr/src/ucbcmd/ls/ |
H A D | ls.c | 265 size_t nent = 20; local 285 fp = *pfp0 = (struct afile *)calloc(nent, sizeof (struct afile)); 286 *pfplast = *pfp0 + nent; 301 2 * nent * sizeof (struct afile)); 306 fp = *pfp0 + nent; 307 *pfplast = fp + nent; 308 nent *= 2;
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | fasttrap.c | 2125 ulong_t nent; local 2159 nent = ddi_getprop(DDI_DEV_T_ANY, devi, DDI_PROP_DONTPASS, 2162 if (nent == 0 || nent > 0x1000000) 2163 nent = FASTTRAP_TPOINTS_DEFAULT_SIZE; 2165 if (ISP2(nent)) 2166 fasttrap_tpoints.fth_nent = nent; 2168 fasttrap_tpoints.fth_nent = 1 << fasttrap_highbit(nent); 2177 nent = FASTTRAP_PROVIDERS_DEFAULT_SIZE; 2178 if (ISP2(nent)) [all...] |
/illumos-gate/usr/src/cmd/prstat/ |
H A D | prstat.c | 903 long nlwps, nent, i; local 955 nent = header.pr_nent; 956 entsz = header.pr_entsize * nent; 967 for (i = 0; i < nent; i++, ptr += header.pr_entsize) { 1029 nent = header.pr_nent; 1030 entsz = header.pr_entsize * nent; 1040 for (i = 1, ptr = buf + header.pr_entsize; i < nent;
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | aio.c | 608 aiowaitn(void *uiocb, uint_t nent, uint_t *nwait, timespec_t *timout) argument 625 if (aiop == NULL || nent == 0 || nent > _AIO_LISTIO_MAX) 641 waitcnt = nent; 649 iocbsz = (sizeof (aiocb_t *) * nent); 652 iocbsz = (sizeof (caddr32_t) * nent); 726 cnt += aio_reqlist_concat(aiop, &reqlist, nent - cnt); 895 int nent, 921 if (aiop == NULL || nent <= 0 || nent > _AIO_LISTIO_MA 893 aiosuspend( void *aiocb, int nent, struct timespec *timout, int flag, long *rval, int run_mode) argument 1194 alio( int mode_arg, aiocb_t **aiocb_arg, int nent, struct sigevent *sigev) argument 1551 aliowait( int mode, void *aiocb, int nent, void *sigev, int run_mode) argument 1729 alio_cleanup(aio_t *aiop, aiocb_t **cbp, int nent, int run_mode) argument 2896 alioLF( int mode_arg, void *aiocb_arg, int nent, void *sigev) argument 3371 alio32( int mode_arg, void *aiocb_arg, int nent, void *sigev) argument [all...] |
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | trapstat.c | 1500 int nent; local 1538 for (nent = 0; nent < TSTAT_TOTAL_NENT; nent++) { 1539 if (tstat_enabled[nent]) { 1581 int nent; local 1661 for (nent = 0; nent < TSTAT_TOTAL_NENT; nent++) { 1670 nent < TSTAT_TLB_NEN [all...] |