Searched defs:entries (Results 1 - 25 of 93) sorted by relevance

1234

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dfriendly.c48 int i, entries; local
65 entries = 0;
68 entries++;
72 if ( (*map = (FriendlyMap)NSLDAPI_MALLOC( (entries + 1) *
79 while ( fgets( buf, sizeof(buf), fp ) != NULL && i < entries ) {
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/
H A Dview.c165 int error, entries, total; local
171 error = smb_netshareenum(ctx, &entries, &total, &share_info);
177 print_shares(entries, total, share_info);
182 print_shares(int entries, int total, argument
191 for (ep = share_info, i = 0; i < entries; i++, ep++) {
202 entries, total);
/illumos-gate/usr/src/lib/sun_fc/common/
H A DSun_fcGetFcpTargetMapping.cc74 HBA_UINT32 entries = 0; local
86 entries = mapping->NumberOfEntries;
101 mappingV2->NumberOfEntries = mapping->NumberOfEntries < entries ?
102 entries - mapping->NumberOfEntries : 0 ;
115 limit = (mapping->NumberOfEntries < entries) ? mapping->NumberOfEntries : entries;
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_search.c354 size_t entries; local
357 entries = cp->esp - cp->sp;
359 if ((ret = __os_calloc(entries * 2, sizeof(EPG), &p)) != 0)
361 memcpy(p, cp->sp, entries * sizeof(EPG));
363 __os_free(cp->sp, entries * sizeof(EPG));
365 cp->csp = p + entries;
366 cp->esp = p + entries * 2;
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_error.c108 int entries[SBDP_IE_MAX_ENTRIES]; member in struct:error_matrix
227 sbdp_error_matrix[index].entries[entry] = value;
235 * Reset all entries to 0.
247 sbdp_error_matrix[i].entries[j] = 0;
295 value = sbdp_error_matrix[index].entries[entry];
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dnetshareenum.c85 int error, i, entries;
195 entries = share_info.share_union.tagged_union.share1->share_count;
197 entry_list = calloc(entries, sizeof (struct share_info));
202 for (share = shares, elp = entry_list, i = 0; i < entries;
213 *entriesp = entries;
221 for (elp = entry_list, i = 0; i < entries; i++, elp++) {
226 * to any entries after this one.
238 for (share = shares, i = 0; i < entries; i++, share++) {
302 int error, bufsize, i, entries, total, nreturned; local
313 error = smb_rap_NetShareEnum(ctx, 1, rpbuf, &bufsize, &entries,
[all...]
H A Drap.c334 int error, rdatacnt, rparamcnt, entries, done, dlen, buffer_oflow; local
375 rap->r_entries = entries = 0;
388 rap->r_entries = entries = letohs(*tmp);
407 * In general, unpacking entries we may need to relocate
408 * entries for proper aligning. For now use them as is.
411 while (entries--) {
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dshim.h48 DBM *entries; /* NIS entry DBM file */ member in struct:__anon3661
/illumos-gate/usr/src/cmd/refer/
H A Daddbib.c39 int entries = 10; /* total number of entries in bibskel */ variable
109 addbib(FILE *fp, char *argv) /* add entries to a bibliographic database */
121 for (i = 0; i < entries; i++) {
278 "Too many entries in promptfile.\n"));
282 entries = entry;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_mount.c85 "Return mount entries", /* 2 */
87 "Remove all mount entries", /* 4 */
445 int entries = 0; local
448 (void) sprintf(buff, "%d+ entries", entries);
457 entries++;
460 (void) sprintf(buff, "%d entries", entries);
467 int entries = 0; local
473 " %d+ entries
492 int entries = 0; local
513 int entries = 0; local
[all...]
H A Dsnoop_nfs.c637 int entries = 0; local
640 (void) sprintf(buff, " %d+ entries (incomplete)", entries);
644 entries++;
650 (void) sprintf(buff, " %d entries (%s)",
651 entries,
660 int entries = 0; local
668 " %d+ entries. (Frame is incomplete)",
669 entries);
673 entries
[all...]
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drpc.rusersd.c180 * "limit" specifies the maximum number of entries to be processed.
183 * For RUSERSVERS_IDLE, this routine mallocs entries in a vector as it
184 * processed each utmpx entry. These malloc'd entries must be freed after the
186 * For RUSERSVERS_3, this routine uses array entries that are malloc'd prior
209 * XXX modified to exclude cmdtool style window entries.
345 int entries, alloc_array_len; local
353 entries = (rqstp->rq_proc == RUSERSPROC_ALLNAMES);
354 cnt = getutmpx_3(entries, 0, 0); /* get cnt */
368 cnt = getutmpx_3(entries, RUSERSVERS_3, cnt);
/illumos-gate/usr/src/cmd/avs/rdc/
H A Dsndrsubr.c276 int entries, rc; local
289 entries = cfg_get_section(cfg, &entry, "sndr");
292 for (setnumber = 1; setnumber <= entries; setnumber++) {
330 while (setnumber < entries)
332 if (entries)
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_rcm.c50 info_entry_t *entries; member in struct:__anon643
342 /* Stop if no valid entries were inserted in table */
422 /* Initialize new entries */
475 for (entry = slot->entries; entry != NULL; entry = entry->next) {
596 entry->next = slot->entries;
597 slot->entries = entry;
609 /* Check if valid entries were inserted in table */
639 while (table[index].entries != NULL) {
640 entry = table[index].entries;
641 table[index].entries
[all...]
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dcryptoadm.c243 crypto_dev_list_entry_t *entries; local
252 if (crypto_get_dev_list(&count, &entries) != 0) {
264 crypto_free_dev_list(entries, count);
278 crypto_free_dev_list(entries, count);
282 /* copyout entries */
284 if (count > 0 && copyout(entries, arg + offset, copyout_size) != 0) {
285 crypto_free_dev_list(entries, count);
288 crypto_free_dev_list(entries, count);
361 crypto_mech_name_t *entries; local
383 &count, &entries)) !
432 crypto_mech_name_t *entries; local
499 crypto_mech_name_t *entries; local
575 crypto_mech_name_t *entries; local
655 crypto_mech_name_t *entries; local
[all...]
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhpi_txdma.c362 hpi_txdma_desc_set_zero(hpi_handle_t handle, uint16_t entries) argument
371 for (i = 0; i < entries; i++) {
/illumos-gate/usr/src/uts/common/sys/fibre-channel/ulp/
H A Dfcp_util.h97 fc_hba_mapping_entry_t entries[1]; member in struct:fc_hba_target_mappings
/illumos-gate/usr/src/lib/krb5/kdb/
H A Dkdb_convert.c286 * log (ulog) entry format. Space for the update log entries should
290 ulog_conv_2logentry(krb5_context context, krb5_db_entry *entries, argument
305 if ((updates == NULL) || (entries == NULL))
309 ent = entries;
594 * This routine converts one or more update log (ulog) entries into
600 ulog_conv_2dbentry(krb5_context context, krb5_db_entry *entries, argument
608 if ((updates == NULL) || (entries == NULL))
611 ent = entries;
852 * This routine frees up memory associated with the bunched ulog entries.
996 * Finally, free up the pointer to the bunched ulog entries
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_principal.c129 krb5_ldap_free_principal(kcontext , entries, nentries)
131 krb5_db_entry *entries;
136 krb5_dbe_free_contents(kcontext, &entries[i]);
273 krb5_db_entry entries; local
281 if ((st=krb5_ldap_get_principal(context, searchfor, &entries, nentries, &more)) != 0 || *nentries == 0)
284 if (((st=krb5_get_princ_type(context, &entries, &(ptype))) != 0) ||
285 ((st=krb5_get_attributes_mask(context, &entries, &(attrsetmask))) != 0) ||
286 ((st=krb5_get_princ_count(context, &entries, &(pcount))) != 0) ||
287 ((st=krb5_get_userdn(context, &entries, &(DN))) != 0))
329 * NOTE: krbsecretkey attribute has per principal entries
[all...]
/illumos-gate/usr/src/lib/libadutils/common/
H A Dadutils_impl.h93 adutils_entry_t *entries; member in struct:adutils_result
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dlinux.c69 int entries, i; local
77 entries = md->md_size / sizeof (struct bios_smap);
79 for (i = 0; i < entries; i++) {
105 * all 3 entries are used.
/illumos-gate/usr/src/boot/sys/boot/usb/tools/
H A Dsysinit.c28 * This utility sorts sysinit structure entries in binary format and
170 int entries; local
227 entries = input_len / (uint32_t)sizeof(struct sysinit_data);
229 start = do_malloc(sizeof(void *) * entries);
230 stop = start + entries;
232 for (c = 0; c != entries; c++)
246 /* sort entries, rising numerical order */
247 qsort(start, entries, sizeof(void *), &compare);
249 /* sort entries, falling numerical order */
250 qsort(start, entries, sizeo
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspace_map.c105 if (SM_DEBUG_DECODE(e)) /* Skip debug entries */
214 uint64_t size, entries; local
219 entries = 1;
223 * entries that would be required to write out the range tree.
227 entries += howmany(size, SM_RUN_MAX);
229 return (entries);
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb.cc507 * Returns TRUE always for valid log entries; FALSE otherwise.
734 db_log_entry * head; // head of list of log entries found
735 db_log_entry * tail; // tail of list of log entries found
741 * 2. add the entry to the list of log entries found.
764 /* Return structure db_log_list containing entries that are later
787 db_log_entry_p *entries; local
791 entries = answer->list.list_val = new db_log_entry_p[count];
792 if (entries == NULL) {
795 "db::get_log_entries_since: cannot allocate space for entries",
802 entries[
[all...]
/illumos-gate/usr/src/common/net/wanboot/
H A Dbootlog.c87 list entries[BOOTLOG_RING_NELEM]; member in struct:ringbuffer_t
667 buffer->entries[i].message[0] = '\0';
691 (void) strlcpy(buffer->entries[buffer->w_ptr].message, buff,
702 (void) strlcpy(buff, buffer->entries[buffer->r_ptr].message,

Completed in 243 milliseconds

1234