/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_nic.c | 878 * Each entry in the hosts table associates a hostname with a 1173 char *entry; local 1185 entry = iflist[n]; 1186 if (*entry == '\0')
|
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_conn.c | 73 /* Kmem cache for the conn hash entry */ 493 * Add a conn hash entry to the tables. Note that a conn hash entry 496 * So the same entry is added to both tables and can be ccessed by two 513 ilb_nat_src_entry_t **entry; local 515 entry = s->server->iser_nat_src->src_list; 516 vmem_free(entry[s->nat_src_idx]->nse_port_arena, 692 * so that we know when to clean up an entry. 744 * Helper routint to find conn hash entry given some packet information and 824 * To check if a give packet matches an existing conn hash entry [all...] |
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_db.cc | 333 * Return a copy of the first entry in the specified table, that satisfies 366 * Return a copy of the next entry in the specified table as specified by 529 /* If not the root dir, find the directory where the entry lives */ 890 /* We don't work on entry objects */ 1352 "%s: No local DB entry for \"%s\" (%s:%s)", 1407 * a dictionary entry for the object itself. 1408 * Otherwise, we need the dictionary entry for 1425 "%s: Error deriving entry/DB-table names for %s:%s; skipping up-load", 1443 "%s: No local DB entry for \"%s\" (%s:%s); skipping up-load", 1544 "%s: No local DB entry fo 1740 db_apply_log_entry(char * table_name, db_log_entry * entry) argument [all...] |
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | htable.c | 66 static void x86pte_zero(htable_t *dest, uint_t entry, uint_t count); 114 static x86pte_t x86pte_cas(htable_t *ht, uint_t entry, x86pte_t old, 1086 * Unlink an entry for a table at vaddr and level out of the existing table 1092 uint_t entry = htable_va2entry(vaddr, higher); local 1100 found = x86pte_cas(higher, entry, expect, 0); 1114 * When a top level VLP page table entry changes, we must issue 1130 * Link an entry for a new table at vaddr and level into the existing table 1136 uint_t entry = htable_va2entry(vaddr, higher); local 1146 found = x86pte_cas(higher, entry, 0, newptp); 1151 * When any top level VLP page table entry change 1776 htable_getpte( struct hat *hat, uintptr_t vaddr, uint_t *entry, x86pte_t *pte, level_t level) argument 1810 htable_getpage(struct hat *hat, uintptr_t vaddr, uint_t *entry) argument 1869 htable_e2va(htable_t *ht, uint_t entry) argument 2068 x86pte_get(htable_t *ht, uint_t entry) argument 2094 x86pte_set(htable_t *ht, uint_t entry, x86pte_t new, void *ptr) argument 2178 x86pte_cas(htable_t *ht, uint_t entry, x86pte_t old, x86pte_t new) argument 2234 x86pte_inval( htable_t *ht, uint_t entry, x86pte_t expect, x86pte_t *pte_ptr, boolean_t tlb) argument 2301 x86pte_update( htable_t *ht, uint_t entry, x86pte_t expect, x86pte_t new) argument 2352 x86pte_copy(htable_t *src, htable_t *dest, uint_t entry, uint_t count) argument 2405 x86pte_copy(htable_t *src, htable_t *dest, uint_t entry, uint_t count) argument 2440 x86pte_zero(htable_t *dest, uint_t entry, uint_t count) argument [all...] |
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | idmap_api.c | 2303 idmap_trace_get_str(nvlist_t *entry, char *n1, char *n2, char **ret) argument 2312 err = nvlist_lookup_string(entry, name, ret); 2318 idmap_trace_get_int(nvlist_t *entry, char *n1, char *n2, int64_t *ret) argument 2327 err = nvlist_lookup_int64(entry, name, ret); 2333 idmap_trace_print_id(FILE *out, nvlist_t *entry, char *fromto) argument 2338 if (idmap_trace_get_int(entry, fromto, IDMAP_TRACE_TYPE, &i64)) { 2367 if (idmap_trace_get_str(entry, fromto, IDMAP_TRACE_NAME, &s)) 2370 if (idmap_trace_get_str(entry, fromto, IDMAP_TRACE_SID, &s)) 2373 if (idmap_trace_get_int(entry, fromto, IDMAP_TRACE_UNIXID, &i64)) 2378 idmap_trace_print_1(FILE *out, char *prefix, nvlist_t *entry) argument 2403 nvlist_t *entry; local [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | samr_svc.c | 349 struct samr_LocalDomainEntry *entry; local 359 entry = NDR_NEWN(mxa, struct samr_LocalDomainEntry, 2); 360 if (entry == NULL) 363 bzero(entry, (sizeof (struct samr_LocalDomainEntry) * 2)); 364 (void) NDR_MSTRING(mxa, hostname, (ndr_mstring_t *)&entry[0].name); 365 (void) NDR_MSTRING(mxa, "Builtin", (ndr_mstring_t *)&entry[1].name); 372 info->entry = entry; 1960 * As long as there is only one entry in the union, there is no need
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prcontrol.c | 391 case PCSENTRY: /* set syscall entry bit mask */ 829 case PCSENTRY: /* set syscall entry bit mask */ 1269 * lwp was stopped on entry to _lwp_exit() 1575 pr_setentryexit(proc_t *p, sysset_t *sysset, int entry) argument 1579 if (entry) {
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | acquire_iodevs.c | 799 * itl entry is removed for the old format 807 * Create a new synthetic device entry of the specified type. The supported 838 /* make new synthetic entry that is the LT */ 852 /* make new synthetic entry that is the LI */ 874 * them up. Add an LI entry and delete all of the LTI entries with the same 880 struct iodev_snapshot *pos, *entry, *parent; local 887 for (entry = list; entry; entry = entry 944 struct iodev_snapshot *entry, *parent, *pos; local 996 struct iodev_snapshot *entry; local [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | disk_io.c | 519 int entry, type, gpt_count, gpt_size; local 539 &start, &len, &offset, &entry, 553 PC_SLICE_TYPE (mbr, entry) |= PC_SLICE_TYPE_HIDDEN_FLAG; 555 PC_SLICE_TYPE (mbr, entry) &= ~PC_SLICE_TYPE_HIDDEN_FLAG; 589 partition table in *OFFSET, the entry number in the table in *ENTRY, 599 unsigned long long *offset, int *entry, 728 *entry = -1; 744 if (*entry == -1 && *offset == 0 && PC_SLICE_TYPE (buf, 0) == PC_SLICE_TYPE_GPT) 754 /* Let gpt_offset point to the first entry in the GPT 756 next_partition to determine if a entry come 596 next_partition(unsigned long drive, unsigned long dest, unsigned long *partition, int *type, unsigned long long *start, unsigned long long *len, unsigned long long *offset, int *entry, unsigned long long *ext_offset, unsigned long long *gpt_offset, int *gpt_count, int *gpt_size, char *buf) argument 917 int entry; local [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_nvram.c | 2184 ef10_parttbl_entry_t *entry = &parttbl[i]; local 2186 if (entry->nvtype == type && 2187 entry->port == emip->emi_port) { 2188 *partnp = entry->partn; 2214 ef10_parttbl_entry_t *entry = &parttbl[i]; local 2216 if (entry->partn == partn && 2217 entry->port == emip->emi_port) { 2218 *typep = entry->nvtype;
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_lib.c | 349 * get internal scsi_sasd entry for this tape drive 354 int entry; local 359 entry = -1; 380 entry = i; 386 return (entry); 395 int entry; local 397 entry = tlm_get_scsi_sasd_entry(lib, drv); 398 if (entry >= 0) { 401 if ((sd = sasd_drive(entry)) != 0) 575 * Log call back to report the entry recover 938 sasd_dev_slink(int entry) argument 954 sasd_drive(int entry) argument [all...] |
/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | zfs.c | 110 struct mnttab entry; local 119 while (getmntent(fp, &entry) == 0) { 120 if (strcmp(nm, entry.mnt_special) == 0) { 121 if (strcmp(entry.mnt_mountp, cbp->match_name) 165 struct mnttab entry; local 170 while (getmntent(fp, &entry) == 0) { 171 if (strcmp(path, entry.mnt_mountp) == 0) {
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_rx.c | 1880 * current entry to ensure that the ring always 2087 unsigned int entry; local 2104 for (entry = 0; entry < SFXGE_RX_SCALE_MAX; entry++) { 2105 index = srsp->srs_tbl[entry]; 2250 unsigned int entry; local 2333 for (entry = 0; entry < SFXGE_RX_SCALE_MAX; entry [all...] |
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.h | 63 int entryNum; /* menu boot entry #. ENTRY_INIT if not applicable */ 73 typedef struct entry { struct 74 struct entry *next; 75 struct entry *prev; 83 #define BAM_ENTRY_BOOTADM 0x01 /* entry created by bootadm */ 84 #define BAM_ENTRY_LU 0x02 /* entry created by Live Upgrade */ 85 #define BAM_ENTRY_CHAINLOADER 0x04 /* chainloader entry; do not disturb */ 86 #define BAM_ENTRY_ROOT 0x08 /* entry has a root line */ 87 #define BAM_ENTRY_FAILSAFE 0x10 /* failsafe entry */ 89 #define BAM_ENTRY_32BIT 0x40 /* Is a 32-bit entry */ [all...] |
/illumos-gate/usr/src/boot/sys/boot/sparc64/loader/ |
H A D | main.c | 344 Elf_Addr entry; local 355 printf("jumping to kernel entry at %#lx.\n", e->e_entry); 362 entry = e->e_entry; 366 ((kernel_entry_t *)entry)(mdp, 0, 0, 0, openfirmware); 471 panic("%s: won't enter locked TLB entry at index 0 on USIII+", 720 * Relocate the locked entry in it16 slot 0 (if existent)
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libsharecore.c | 196 * pointed to by the FILE pointer dfs. Each entry is parsed and the 310 * Look for path in the zfs_sharelist_t list and return the entry if it 340 /* skip comment entry but don't lose it */ 377 /* skip comment entry but don't lose it */ 400 * Add an entry to the dfstab list for share (relative to proto). This 821 * Create a share entry suitable for parsing but not tied to any real 1059 * Free the data in each list entry of the list as well as freeing the 1067 xfs_sharelist_t *entry; local 1068 for (entry = list; entry ! [all...] |
H A D | libshare.c | 1055 /* Remove and free the entry in the global list. */ 3033 scf_transaction_entry_t *entry, char *name, char *valstr) 3040 entry, name, SCF_TYPE_ASTRING); 3043 entry, name, SCF_TYPE_ASTRING); 3047 ret = scf_entry_add_value(entry, value); 3052 scf_entry_destroy(entry); 3074 scf_transaction_entry_t *entry; local 3097 entry = scf_entry_create(scf_handle->handle); 3104 if (valstr != NULL && entry != NULL) { 3151 scf_handle->trans, entry, nam 3032 add_or_update(scfutilhandle_t *scf_handle, int type, scf_value_t *value, scf_transaction_entry_t *entry, char *name, char *valstr) argument [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_mount.c | 31 * to deal with the OS. The following functions are the main entry points -- 141 /* the mountpoint is the first entry on each line */ 190 * entry for each of "." and "..". 273 struct mnttab entry; local 275 if (libzfs_mnttab_find(zfs_hdl, special, &entry) != 0) 279 *where = zfs_strdup(zfs_hdl, entry.mnt_mountp); 409 /* add the mounted entry into our cache */ 438 struct mnttab entry; local 443 libzfs_mnttab_find(hdl, zhp->zfs_name, &entry) == 0)) { 451 mntpt = zfs_strdup(hdl, entry 926 struct mnttab entry; local 1217 struct mnttab entry; local [all...] |
H A D | libzfs_util.c | 698 struct extmnttab entry; local 714 while ((ret = getextmntent(hdl->libzfs_mnttab, &entry, 0)) == 0) { 715 if (makedevice(entry.mnt_major, entry.mnt_minor) == 724 if (strcmp(entry.mnt_fstype, MNTTYPE_ZFS) != 0) { 730 return (zfs_open(hdl, entry.mnt_special, ZFS_TYPE_FILESYSTEM)); 1296 zprop_list_t *entry; local 1304 * When no property table entry can be found, return failure if 1319 if ((entry = zfs_alloc(hdl, sizeof (zprop_list_t))) == NULL) 1322 entry 1449 zprop_list_t *entry; local 1468 zprop_list_t *entry; local [all...] |
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | midlevel.c | 1491 * Set a count property transaction entry into the pending SMF transaction. 1521 scf_transaction_entry_t *entry = scf_entry_create(handle); local 1523 if ((value == NULL) || (entry == NULL)) { 1534 if (scf_transaction_property_change(trans, entry, propname, 1537 if (scf_entry_add_value(entry, value) == 0) { 1543 if (scf_transaction_property_new(trans, entry, propname, 1546 if (scf_entry_add_value(entry, value) == 0) { 1559 if (entry != NULL) 1560 scf_entry_destroy(entry); 2585 * to point at that property's entry i [all...] |
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_common.c | 113 curEntry = result->entry; 116 (void) printf("entry %d has attr_count = %d \n", i, 119 (void) printf("entry %d has attr_pair[%d] = %s \n", 123 (void) printf("entry %d has attr_pair[%d]->" 2210 * entry: An LDAP entry 2236 __s_api_get_canonical_name(ns_ldap_entry_t *entry, ns_ldap_attr_t *attrptr, argument 2244 if (entry == NULL || attrptr == NULL) 2248 if ((values = __ns_ldap_getAttr(entry, "dn")) == NULL ||
|
H A D | ns_writes.c | 642 __s_cvt_freeEntryRdn(ns_ldap_entry_t **entry, char **rdn) argument 644 if (*entry != NULL) { 645 __ns_ldap_freeEntry(*entry); 646 *entry = NULL; 1258 * __ns_ldap_repAttr modifies ldap attributes of the 'dn' entry stored 1356 const ns_ldap_entry_t *entry, 1371 if ((entry == NULL) || (dn == NULL) || (cred == NULL)) 1375 /* Construct array of LDAPMod representing attributes of new entry. */ 1377 nAttr = entry->attr_count; 1378 attr = (const ns_ldap_attr_t * const *)(entry 1353 __ns_ldap_addEntry( const char *service, const char *dn, const ns_ldap_entry_t *entry, const ns_cred_t *cred, const int flags, ns_ldap_error_t ** errorp) argument 1525 __s_cvt_passwd(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 1667 __s_cvt_project(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 1779 __s_cvt_shadow(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 1903 __s_cvt_group(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 2007 __s_cvt_hosts(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 2141 __s_cvt_rpc(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 2231 __s_cvt_protocols(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 2319 __s_cvt_services(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 2423 __s_cvt_networks(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 2515 __s_cvt_netmasks(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 2578 __s_cvt_netgroups(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 2676 __s_cvt_bootparams(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 2757 __s_cvt_ethers(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 2930 __s_cvt_publickey(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 2993 __s_cvt_aliases(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 3073 __s_cvt_auto_mount(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 3176 __s_cvt_authattr(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 3268 __s_cvt_execattr(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 3379 __s_cvt_profattr(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 3463 __s_cvt_userattr(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 3545 __s_cvt_audituser(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 3612 __s_cvt_tnrhtp(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 3682 __s_cvt_tnrhdb(const void *data, char **rdn, ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) argument 3796 ns_ldap_entry_t *entry = NULL; local [all...] |
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devfsinfo.c | 507 /* prepend new entry - deal with duplicates */ 828 * variable. An array of boot_dev structs will be created, one entry 829 * for each device name in the boot-device variable. Each entry 831 * boot-device entry, if any. 864 /* now try to translate each entry to a logical device. */ 883 char *entry, *ptr; local 891 if ((entry = (char *)malloc(strlen(bootdevice) + 1)) == NULL) { 895 (void) strcpy(entry, bootdevice); 896 for (ptr = strtok(entry, " "); ptr != NULL; 900 (void) strcpy(entry, bootdevic 1290 struct boot_dev *entry; local 1850 struct name_list *entry = *list; local [all...] |
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlwlan.c | 1614 scf_transaction_entry_t *entry = NULL; local 1616 entry = scf_entry_create(handle); 1617 if (entry == NULL) 1624 if (scf_transaction_property_new(tx, entry, prop_name, type) != 0) 1630 if (scf_entry_add_value(entry, value) != 0) 1638 if (entry != NULL) 1639 scf_entry_destroy(entry);
|
/illumos-gate/usr/src/lib/libstmf/common/ |
H A D | store.c | 81 * view-entry-<N>-<GUID> where <N> is an unsigned integer 84 * entry property group 87 * Contains the references to each view entry. One lu-<GUID> 117 * view entry in the system. This property group name maps 213 * Property names for view entry 299 scf_transaction_entry_t *entry = NULL; local 323 ((entry = scf_entry_create(handle)) == NULL) || 364 if (scf_transaction_property_change(tran, entry, groupName, 477 if (scf_entry_add_value(entry, valueSet[i]) == -1) { 520 * Now create the new entry 641 scf_transaction_entry_t *entry = NULL; local 929 scf_transaction_entry_t *entry[VIEW_ENTRY_STRUCT_CNT]; local 2076 scf_transaction_entry_t *entry = NULL; local 2291 scf_transaction_entry_t *entry = NULL; local 2648 scf_transaction_entry_t *entry = NULL; local [all...] |