/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | biospnp.c | 88 static void biospnp_scanresdata(struct pnpinfo *pi, struct pnp_devNode *dn); 188 biospnp_scanresdata(struct pnpinfo *pi, struct pnp_devNode *dn) in biospnp_scanresdata() argument 194 p = dn->dn_data; /* point to resource data */ in biospnp_scanresdata() 195 dlen = dn->dn_size - (p - (u_int8_t *)dn); /* length of resource data */ in biospnp_scanresdata()
|
/illumos-gate/usr/src/boot/libsa/zfs/ |
H A D | zfsimpl.c | 3530 if (dn->dn_bonustype != DMU_OT_SA) { in zfs_dnode_stat() 3543 if (dn->dn_bonuslen != 0) in zfs_dnode_stat() 3544 sahdrp = (sa_hdr_phys_t *)DN_BONUS(dn); in zfs_dnode_stat() 3547 blkptr_t *bp = DN_SPILL_BLKPTR(dn); in zfs_dnode_stat() 3586 if (dn->dn_bonustype == DMU_OT_SA) { in zfs_dnode_readlink() 3593 if (dn->dn_bonuslen != 0) { in zfs_dnode_readlink() 3594 sahdrp = (sa_hdr_phys_t *)DN_BONUS(dn); in zfs_dnode_readlink() 3600 bp = DN_SPILL_BLKPTR(dn); in zfs_dnode_readlink() 3647 dnode_phys_t dn; in zfs_lookup() local 3753 rc = zfs_dnode_stat(spa, &dn, &sb); in zfs_lookup() [all …]
|
/illumos-gate/usr/src/cmd/audio/audiotest/ |
H A D | audiotest.c | 380 test_device(char *dn, int flags, testcfg_t *tcfg) in test_device() argument 386 fd = open(dn, O_WRONLY, 0); in test_device() 389 perror(dn); in test_device() 552 char *dn; in main() local 559 dn = argv[optind + t]; in main() 560 rv = test_device(dn, flags, tcfg); in main() 576 dn = ainfo.devnode; in main() 577 rv = test_device(dn, flags, tcfg); in main()
|
/illumos-gate/usr/src/cmd/cmd-crypto/elfsign/ |
H A D | elfsign.c | 504 char *dn; in do_sign() local 563 dn_len = strlen(dn); in do_sign() 564 cryptodebug("DN = %s", dn); in do_sign() 616 dn, dn_len, sig, sig_len, NULL, 0); in do_sign() 731 create_csr(char *dn) in create_csr() argument 835 kmfrv = kmf_dn_parser(dn, &csrSubject); in create_csr() 897 char *dn = NULL; in do_cert_request() local 941 dn = malloc(dn_len + 1); in do_cert_request() 942 (void) snprintf(dn, dn_len, dnfmt, cn); in do_cert_request() 945 kmfret = create_csr(dn); in do_cert_request() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/netstrategy/ |
H A D | netstrategy.c | 142 di_node_t dn; in boot_properties_present() local 144 if ((dn = di_init("/", DINFOPROP)) == DI_NODE_NIL) { in boot_properties_present() 147 di_fini(dn); in boot_properties_present() 153 dn, *prop, &prop_value) != 1) { in boot_properties_present() 154 di_fini(dn); in boot_properties_present() 159 di_fini(dn); in boot_properties_present()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | pppdump.c | 245 int nb, nl, dn, proto, rv; local 330 endp - r, d, &dn); 334 nb = d + dn - p; 336 --dn; 337 --dn; 338 if (dn > mru) 339 printf(" ERROR: decompressed length (%d) > MRU (%d)\n", dn, mru);
|
/illumos-gate/usr/src/cmd/devprop/ |
H A D | devprop.c | 49 di_node_t dn; in main() local 120 if ((dn = di_init(path, DINFOPROP)) == DI_NODE_NIL) { in main() 129 dn, argv[optind], &(val)); \ in main() 161 di_fini(dn); in main()
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | itree.c | 448 struct node *dn = (struct node *)right; in instances_destructor() local 450 if (dn->t == T_SERD) { in instances_destructor() 452 lut_free(dn->u.stmt.lutp, instances_destructor, NULL); in instances_destructor() 453 dn->u.stmt.lutp = NULL; in instances_destructor() 455 if (dn->t != T_FUNC) /* T_FUNC pointed to original node */ in instances_destructor() 456 tree_free(dn); in instances_destructor()
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_ldap.c | 757 char *dn = NULL; in mastermap_callback_ldap() local 766 dn = attr->attrvalue[0]; in mastermap_callback_ldap() 773 dir, dn); in mastermap_callback_ldap()
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/ |
H A D | mkfs.c | 150 static void partn_lecture(char *dn); 170 static int open_and_examine(char *dn, bpb_t *wbpb); 173 static int open_and_seek(char *dn, bpb_t *wbpb, off64_t *seekto); 1057 partn_lecture(char *dn) in partn_lecture() argument 2165 open_and_examine(char *dn, bpb_t *wbpb) in open_and_examine() argument 2177 actualdisk = stat_actual_disk(dn, &di, &suffix); in open_and_examine() 2230 getdiskinfo(char *dn, char **suffix) in getdiskinfo() argument 2238 actualdisk = stat_actual_disk(dn, &di, suffix); in getdiskinfo() 2378 open_and_seek(char *dn, bpb_t *wbpb, off64_t *seekto) in open_and_seek() argument 2419 return (prepare_image_file(dn, wbpb)); in open_and_seek() [all …]
|
/illumos-gate/usr/src/cmd/idmap/idmap/ |
H A D | idmap.c | 1354 CHECK_NULL(how->idmap_how_u.ad.dn)); in print_how() 1363 CHECK_NULL(how->idmap_how_u.nldap.dn)); in print_how() 1408 CHECK_NULL(how->idmap_how_u.idmu.dn)); in print_how() 1465 how->idmap_how_u.ad.dn); in print_error_info() 1475 how->idmap_how_u.nldap.dn); in print_error_info() 1522 CHECK_NULL(how->idmap_how_u.idmu.dn)); in print_error_info()
|
H A D | namemaps.c | 621 if (dn != NULL) { in unixname2dn() 714 if (*dn == NULL) { in winname2dn() 726 if (*dn != NULL) in winname2dn() 730 if (*dn == NULL) { in winname2dn() 863 char *dn = NULL; in idmap_set_namemap() local 935 if (dn != NULL) in idmap_set_namemap() 936 free(dn); in idmap_set_namemap() 954 char *dn = NULL; in idmap_unset_namemap() local 1000 if (dn != NULL) in idmap_unset_namemap() 1001 free(dn); in idmap_unset_namemap() [all …]
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | adutils.c | 90 char **dn; /* DN of entry */ member 256 const char *dn, in idmap_setqresults() argument 268 assert(dn != NULL); in idmap_setqresults() 288 if (q->dn != NULL) in idmap_setqresults() 289 *q->dn = strdup(dn); in idmap_setqresults() 394 char *dn; in idmap_extract_object() local 441 dn, attr, value); in idmap_extract_object() 501 ldap_memfree(dn); in idmap_extract_object() 624 q->dn = dn; in idmap_batch_add1() 674 if (dn != NULL) in idmap_batch_add1() [all …]
|
H A D | adutils.h | 111 char **dn, char **attr, char **value, char **canonname, 131 char **dn, char **attr, char **value, char **name, 140 char **dn, char **attr, char **value, char **sid, rid_t *rid, 149 char **dn, char **attr, char **value, char **sid, rid_t *rid,
|
H A D | dbutils.c | 1727 res->info.how.idmap_how_u.ad.dn = in lookup_cache_sid2pid() 1769 res->info.how.idmap_how_u.idmu.dn = in lookup_cache_sid2pid() 1974 char **dn, **attr, **value; in ad_lookup_batch_int() local 2049 unixname = dn = attr = value = NULL; in ad_lookup_batch_int() 2076 dn = &how->idmap_how_u.ad.dn; in ad_lookup_batch_int() 2094 dn = &how->idmap_how_u.idmu.dn; in ad_lookup_batch_int() 2104 dn, attr, value, in ad_lookup_batch_int() 2120 dn, attr, value, in ad_lookup_batch_int() 2202 &how->idmap_how_u.ad.dn, in ad_lookup_batch_int() 2229 &how->idmap_how_u.ad.dn, in ad_lookup_batch_int() [all …]
|
H A D | directory_provider_ad.c | 539 char *dn = ldap_get_dn(ld, msg); in get_domain() local 540 if (dn == NULL) { in get_domain() 557 *domain = adutils_dn2dns(dn); in get_domain() 563 dn, NULL); in get_domain() 564 free(dn); in get_domain() 567 free(dn); in get_domain()
|
H A D | directory_provider_builtin.c | 208 char *dn; in directory_provider_builtin_populate() local 209 (void) asprintf(&dn, in directory_provider_builtin_populate() 213 const char *cdn = dn; in directory_provider_builtin_populate() 215 free(dn); in directory_provider_builtin_populate()
|
H A D | directory_provider_nsswitch.c | 320 char *dn; in directory_provider_nsswitch_populate() local 322 (void) asprintf(&dn, in directory_provider_nsswitch_populate() 326 if (dn == NULL) in directory_provider_nsswitch_populate() 328 const char *cdn = dn; in directory_provider_nsswitch_populate() 330 free(dn); in directory_provider_nsswitch_populate() 383 char *dn; in directory_provider_nsswitch_populate() local 385 (void) asprintf(&dn, in directory_provider_nsswitch_populate() 389 if (dn == NULL) in directory_provider_nsswitch_populate() 391 const char *cdn = dn; in directory_provider_nsswitch_populate() 393 free(dn); in directory_provider_nsswitch_populate()
|
H A D | nldaputils.c | 102 char **dn; member 302 char **dn, char **attr, char **value, in idmap_nldap_bywinname_batch_add() argument 319 q->dn = dn; in idmap_nldap_bywinname_batch_add() 459 q->dn = dn; in idmap_nldap_bypid_batch_add() 526 q->dn = dn; in idmap_nldap_byunixname_batch_add() 655 if (q->dn != NULL) { in idmap_nldap_lookup_batch_end() 658 *q->dn = strdup(*val); in idmap_nldap_lookup_batch_end() 659 if (*q->dn == NULL) { in idmap_nldap_lookup_batch_end() 806 &how->idmap_how_u.nldap.dn, in nldap_lookup_batch() 838 &how->idmap_how_u.nldap.dn, in nldap_lookup_batch() [all …]
|
H A D | server.c | 596 how->idmap_how_u.ad.dn = in list_mappings_cb() 605 how->idmap_how_u.nldap.dn = in list_mappings_cb() 635 how->idmap_how_u.idmu.dn = in list_mappings_cb()
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | chkey_common.c | 567 update_ldap_attr(const char *dn, ns_ldap_attr_t **attrs, const char *passwd, in update_ldap_attr() argument 594 credp->cred.unix_cred.userID = strdup(dn); in update_ldap_attr() 673 ldaprc = __ns_ldap_addAttr("publickey", dn, in update_ldap_attr() 677 ldaprc = __ns_ldap_repAttr("publickey", dn, in update_ldap_attr() 725 char *dn; in ldap_update() local 765 __ns_ldap_uid2dn(id, &dn, NULL, &errorp); in ldap_update() 766 if (dn == NULL) { in ldap_update() 786 __ns_ldap_host2dn(id, NULL, &dn, NULL, &errorp); in ldap_update() 787 if (dn == NULL) { in ldap_update() 934 update_ldap_attr(dn, attrs, passwd, TRUE, update4host, in ldap_update() [all …]
|
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/ |
H A D | kclient.sh | 801 dn= 804 dn="${dn},DC=$label" 1290 sAMAccountName="$netbios_nodename" dn|grep "^dn:"|read j dn 1292 if [[ -z $dn ]]; then 1311 [[ $j != dn: || -z $sub_dn || $dn == $sub_dn ]] && continue 1338 [[ -z $dn ]] && dn="CN=${upcase_nodename},${baseDN}" 1341 dn: $dn 1365 dn: $dn 1467 dn: $dn 1490 dn: $dn [all …]
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | common.c | 1416 ldaptool_sasl_bind_s( LDAP *ld, const char *dn, const char *mechanism, argument 1426 if (( rc = ldap_sasl_bind( ld, dn, mechanism, cred, serverctrls, 1442 ldaptool_simple_bind_s( LDAP *ld, const char *dn, const char *passwd, argument 1459 ldaptool_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs, argument 1486 ldaptool_modify_ext_s( LDAP *ld, const char *dn, LDAPMod **mods, argument 1491 if (( rc = ldap_modify_ext( ld, dn, mods, serverctrls, clientctrls, 1507 ldaptool_delete_ext_s( LDAP *ld, const char *dn, LDAPControl **serverctrls, argument 1512 if (( rc = ldap_delete_ext( ld, dn, serverctrls, clientctrls, &msgid )) 1533 if (( rc = ldap_compare_ext( ld, dn, attrtype, bvalue, serverctrls, 1549 ldaptool_rename_s( LDAP *ld, const char *dn, const char *newrdn, argument [all …]
|
H A D | ldapdelete.c | 51 static int dodelete( LDAP *ld, char *dn, LDAPControl **serverctrls ); 161 dodelete( LDAP *ld, char *dn, LDAPControl **serverctrls ) in dodelete() argument 166 printf( gettext("%sdeleting entry %s\n"), ldaptool_not ? "!" : "", dn ); in dodelete() 170 } else if (( rc = ldaptool_delete_ext_s( ld, dn, serverctrls, NULL, in dodelete() 182 dodelete( LDAP *ld, char *dn, LDAPControl **serverctrls ) in dodelete() argument 190 printf( gettext("%sdeleting entry %s\n"), ldaptool_not ? "!" : "", dn ); in dodelete() 198 …if ( (rc = ldap_search_s( ld, dn, LDAP_SCOPE_SUBTREE, my_filter, NULL, 0, &result )) != LDAP_SUCCE… in dodelete() 203 if ( ( dn = ldap_get_dn( ld, e ) ) != NULL ) { in dodelete() 205 datalist->data = dn; in dodelete()
|
H A D | ldapmodify.c | 491 ldaptool_progname, linenum, dn == NULL ? "" : dn ); 499 if ( dn == NULL ) { 553 free( dn ); 656 ldaptool_progname, linenum, dn == NULL ? "" : dn ); 698 ldaptool_progname, linenum, dn == NULL ? "" : dn ); 710 dn ); 766 free( dn ); 794 dn = NULL; 883 if ( dn == NULL ) { 898 free( dn ); [all …]
|