Searched defs:nent (Results 1 - 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/cmd/mdb/tools/findfp/common/
H A Dfindsym.c43 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 Dnhash.h49 int nent; member in struct:bucket_t
H A Dncgrpw.c417 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 Devent_port.c140 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 Dsetdynflag.c92 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 Dmed_hash.h44 int nent; member in struct:bucket_t
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dgpt.c239 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 Dldap_realm.c329 int nent = 0; local
331 &nent)) != LDAP_SUCCESS)
/illumos-gate/usr/src/cmd/pbind/
H A Dpbind.c245 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 Dposix_aio.c123 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 Dplockstat.c736 uint_t nent = 0; local
738 process_aggregate, &nent) != 0)
/illumos-gate/usr/src/cmd/psrset/
H A Dpsrset.c575 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 Drestore.h226 int nent; /* maximum size of list */ member in struct:arglist
/illumos-gate/usr/src/cmd/fs.d/pcfs/fstyp/
H A Dfstyp.c134 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 Dport.c975 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 Doutput.c236 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 Ducbps.c153 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 Dgcpu.c602 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 Dcmd_cpu.c352 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 Dfsdb.c736 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 Dls.c265 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 Dfasttrap.c2125 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 Dprstat.c903 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 Daio.c608 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 Dtrapstat.c1500 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...]

Completed in 114 milliseconds

12