Home
last modified time | relevance | path

Searched refs:dn (Results 1 – 25 of 185) sorted by relevance

12345678

/titanic_51/usr/src/uts/common/fs/zfs/
H A Ddnode.c105 dnode_t *dn = arg; in dnode_cons() local
108 rw_init(&dn->dn_struct_rwlock, NULL, RW_DEFAULT, NULL); in dnode_cons()
109 mutex_init(&dn->dn_mtx, NULL, MUTEX_DEFAULT, NULL); in dnode_cons()
110 mutex_init(&dn->dn_dbufs_mtx, NULL, MUTEX_DEFAULT, NULL); in dnode_cons()
111 cv_init(&dn->dn_notxholds, NULL, CV_DEFAULT, NULL); in dnode_cons()
117 refcount_create_untracked(&dn->dn_holds); in dnode_cons()
118 refcount_create(&dn->dn_tx_holds); in dnode_cons()
119 list_link_init(&dn->dn_link); in dnode_cons()
121 bzero(&dn->dn_next_nblkptr[0], sizeof (dn in dnode_cons()
167 dnode_t *dn = arg; dnode_dest() local
231 dnode_verify(dnode_t * dn) dnode_verify() argument
353 dnode_setbonuslen(dnode_t * dn,int newsize,dmu_tx_t * tx) dnode_setbonuslen() argument
370 dnode_setbonus_type(dnode_t * dn,dmu_object_type_t newtype,dmu_tx_t * tx) dnode_setbonus_type() argument
381 dnode_rm_spill(dnode_t * dn,dmu_tx_t * tx) dnode_rm_spill() argument
391 dnode_setdblksz(dnode_t * dn,int size) dnode_setdblksz() argument
407 dnode_t *dn; dnode_create() local
481 dnode_destroy(dnode_t * dn) dnode_destroy() argument
536 dnode_allocate(dnode_t * dn,dmu_object_type_t ot,int blocksize,int ibs,dmu_object_type_t bonustype,int bonuslen,dmu_tx_t * tx) dnode_allocate() argument
619 dnode_reallocate(dnode_t * dn,dmu_object_type_t ot,int blocksize,dmu_object_type_t bonustype,int bonuslen,dmu_tx_t * tx) dnode_reallocate() argument
987 dnode_t *dn = dnh->dnh_dnode; dnode_special_close() local
1009 dnode_t *dn; dnode_special_open() local
1024 dnode_t *dn; dnode_buf_evict_async() local
1069 dnode_t *mdn, *dn; dnode_hold_impl() local
1210 dnode_add_ref(dnode_t * dn,void * tag) dnode_add_ref() argument
1223 dnode_rele(dnode_t * dn,void * tag) dnode_rele() argument
1230 dnode_rele_and_unlock(dnode_t * dn,void * tag) dnode_rele_and_unlock() argument
1266 dnode_setdirty(dnode_t * dn,dmu_tx_t * tx) dnode_setdirty() argument
1335 dnode_free(dnode_t * dn,dmu_tx_t * tx) dnode_free() argument
1372 dnode_set_blksz(dnode_t * dn,uint64_t size,int ibs,dmu_tx_t * tx) dnode_set_blksz() argument
1437 dnode_new_blkid(dnode_t * dn,uint64_t blkid,dmu_tx_t * tx,boolean_t have_read) dnode_new_blkid() argument
1519 dnode_dirty_l1(dnode_t * dn,uint64_t l1blkid,dmu_tx_t * tx) dnode_dirty_l1() argument
1529 dnode_free_range(dnode_t * dn,uint64_t off,uint64_t len,dmu_tx_t * tx) dnode_free_range() argument
1737 dnode_spill_freed(dnode_t * dn) dnode_spill_freed() argument
1752 dnode_block_freed(dnode_t * dn,uint64_t blkid) dnode_block_freed() argument
1785 dnode_diduse_space(dnode_t * dn,int64_t delta) dnode_diduse_space() argument
1817 dnode_willuse_space(dnode_t * dn,int64_t space,dmu_tx_t * tx) dnode_willuse_space() argument
1850 dnode_next_offset_level(dnode_t * dn,int flags,uint64_t * offset,int lvl,uint64_t blkfill,uint64_t txg) dnode_next_offset_level() argument
1983 dnode_next_offset(dnode_t * dn,int flags,uint64_t * offset,int minlvl,uint64_t blkfill,uint64_t txg) dnode_next_offset() argument
[all...]
H A Ddnode_sync.c40 dnode_increase_indirection(dnode_t *dn, dmu_tx_t *tx) in dnode_increase_indirection() argument
44 int nblkptr = dn->dn_phys->dn_nblkptr; in dnode_increase_indirection()
45 int old_toplvl = dn->dn_phys->dn_nlevels - 1; in dnode_increase_indirection()
46 int new_level = dn->dn_next_nlevels[txgoff]; in dnode_increase_indirection()
49 rw_enter(&dn->dn_struct_rwlock, RW_WRITER); in dnode_increase_indirection()
52 ASSERT(dn->dn_phys->dn_type != DMU_OT_NONE); in dnode_increase_indirection()
53 ASSERT(RW_WRITE_HELD(&dn->dn_struct_rwlock)); in dnode_increase_indirection()
54 ASSERT(new_level > 1 && dn->dn_phys->dn_nlevels > 0); in dnode_increase_indirection()
56 db = dbuf_hold_level(dn, dn in dnode_increase_indirection()
120 free_blocks(dnode_t * dn,blkptr_t * bp,int num,dmu_tx_t * tx) free_blocks() argument
166 dnode_t *dn; free_verify() local
242 dnode_t *dn; free_children() local
322 dnode_sync_free_range_impl(dnode_t * dn,uint64_t blkid,uint64_t nblks,dmu_tx_t * tx) dnode_sync_free_range_impl() argument
388 dnode_t *dn = dsfra->dsfra_dnode; dnode_sync_free_range() local
399 dnode_evict_dbufs(dnode_t * dn) dnode_evict_dbufs() argument
438 dnode_evict_bonus(dnode_t * dn) dnode_evict_bonus() argument
485 dnode_sync_free(dnode_t * dn,dmu_tx_t * tx) dnode_sync_free() argument
546 dnode_sync(dnode_t * dn,dmu_tx_t * tx) dnode_sync() argument
[all...]
H A Ddmu_tx.c43 typedef void (*dmu_tx_hold_func_t)(dmu_tx_t *tx, struct dnode *dn,
105 dnode_t *dn = NULL; in dmu_tx_hold_object_impl() local
109 err = dnode_hold(os, object, tx, &dn); in dmu_tx_hold_object_impl()
116 mutex_enter(&dn->dn_mtx); in dmu_tx_hold_object_impl()
118 * dn->dn_assigned_txg == tx->tx_txg doesn't pose a in dmu_tx_hold_object_impl()
122 ASSERT(dn->dn_assigned_txg == 0); in dmu_tx_hold_object_impl()
123 dn->dn_assigned_txg = tx->tx_txg; in dmu_tx_hold_object_impl()
124 (void) refcount_add(&dn->dn_tx_holds, tx); in dmu_tx_hold_object_impl()
125 mutex_exit(&dn->dn_mtx); in dmu_tx_hold_object_impl()
131 txh->txh_dnode = dn; in dmu_tx_hold_object_impl()
156 dmu_tx_check_ioerr(zio_t * zio,dnode_t * dn,int level,uint64_t blkid) dmu_tx_check_ioerr() argument
172 dmu_tx_count_twig(dmu_tx_hold_t * txh,dnode_t * dn,dmu_buf_impl_t * db,int level,uint64_t blkid,boolean_t freeable,uint64_t * history) dmu_tx_count_twig() argument
219 dnode_t *dn = txh->txh_dnode; dmu_tx_count_write() local
393 dnode_t *dn = txh->txh_dnode; dmu_tx_count_dnode() local
433 dnode_t *dn = txh->txh_dnode; dmu_tx_count_free() local
627 dnode_t *dn; dmu_tx_hold_free() local
718 dnode_t *dn; dmu_tx_hold_zap() local
859 dnode_t *dn; dmu_tx_dirty_buf() local
1158 dnode_t *dn = txh->txh_dnode; dmu_tx_try_assign() local
1239 dnode_t *dn = txh->txh_dnode; dmu_tx_unassign() local
1351 dnode_t *dn = tx->tx_needassign_txh->txh_dnode; dmu_tx_wait() local
1392 dnode_t *dn = txh->txh_dnode; dmu_tx_commit() local
1440 dnode_t *dn = txh->txh_dnode; dmu_tx_abort() local
1546 dnode_t *dn; dmu_tx_hold_spill() local
1644 dnode_t *dn; dmu_tx_hold_sa() local
[all...]
H A Ddmu_object.c41 dnode_t *dn = NULL; in dmu_object_alloc() local
78 FTAG, &dn); in dmu_object_alloc()
79 if (dn) in dmu_object_alloc()
86 dnode_allocate(dn, ot, blocksize, 0, bonustype, bonuslen, tx); in dmu_object_alloc()
87 dnode_rele(dn, FTAG); in dmu_object_alloc()
99 dnode_t *dn; in dmu_object_claim() local
105 err = dnode_hold_impl(os, object, DNODE_MUST_BE_FREE, FTAG, &dn); in dmu_object_claim()
108 dnode_allocate(dn, ot, blocksize, 0, bonustype, bonuslen, tx); in dmu_object_claim()
109 dnode_rele(dn, FTAG); in dmu_object_claim()
119 dnode_t *dn; in dmu_object_reclaim() local
139 dnode_t *dn; dmu_object_free() local
186 dnode_t *dn; dmu_object_zapify() local
211 dnode_t *dn; dmu_object_free_zapified() local
[all...]
H A Ddmu.c133 dnode_t *dn; in dmu_buf_hold_noread() local
138 err = dnode_hold(os, object, FTAG, &dn); in dmu_buf_hold_noread()
141 blkid = dbuf_whichblock(dn, 0, offset); in dmu_buf_hold_noread()
142 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dmu_buf_hold_noread()
143 db = dbuf_hold(dn, blkid, tag); in dmu_buf_hold_noread()
144 rw_exit(&dn->dn_struct_rwlock); in dmu_buf_hold_noread()
145 dnode_rele(dn, FTAG); in dmu_buf_hold_noread()
189 dnode_t *dn; in dmu_set_bonus() local
193 dn = DB_DNODE(db); in dmu_set_bonus()
195 if (dn in dmu_set_bonus()
212 dnode_t *dn; dmu_set_bonustype() local
235 dnode_t *dn; dmu_get_bonustype() local
249 dnode_t *dn; dmu_rm_spill() local
267 dnode_t *dn; dmu_bonus_hold() local
315 dmu_spill_hold_by_dnode(dnode_t * dn,uint32_t flags,void * tag,dmu_buf_t ** dbp) dmu_spill_hold_by_dnode() argument
341 dnode_t *dn; dmu_spill_hold_existing() local
370 dnode_t *dn; dmu_spill_hold_by_bonus() local
388 dmu_buf_hold_array_by_dnode(dnode_t * dn,uint64_t offset,uint64_t length,boolean_t read,void * tag,int * numbufsp,dmu_buf_t *** dbpp,uint32_t flags) dmu_buf_hold_array_by_dnode() argument
484 dnode_t *dn; dmu_buf_hold_array() local
505 dnode_t *dn; dmu_buf_hold_array_by_bonus() local
546 dnode_t *dn; dmu_prefetch() local
610 get_next_chunk(dnode_t * dn,uint64_t * start,uint64_t minimum) get_next_chunk() argument
655 dmu_free_long_range_impl(objset_t * os,dnode_t * dn,uint64_t offset,uint64_t length) dmu_free_long_range_impl() argument
705 dnode_t *dn; dmu_free_long_range() local
755 dnode_t *dn; dmu_free_range() local
770 dnode_t *dn; dmu_read() local
1032 dmu_read_uio_dnode(dnode_t * dn,uio_t * uio,uint64_t size) dmu_read_uio_dnode() argument
1101 dnode_t *dn; dmu_read_uio_dbuf() local
1123 dnode_t *dn; dmu_read_uio() local
1141 dmu_write_uio_dnode(dnode_t * dn,uio_t * uio,uint64_t size,dmu_tx_t * tx) dmu_write_uio_dnode() argument
1206 dnode_t *dn; dmu_write_uio_dbuf() local
1229 dnode_t *dn; dmu_write_uio() local
1333 dnode_t *dn; dmu_assign_arcbuf() local
1553 dnode_t *dn; dmu_sync() local
1675 dnode_t *dn; dmu_object_set_blocksize() local
1690 dnode_t *dn; dmu_object_set_checksum() local
1710 dnode_t *dn; dmu_object_set_compress() local
1734 dmu_write_policy(objset_t * os,dnode_t * dn,int level,int wp,zio_prop_t * zp) dmu_write_policy() argument
1845 dnode_t *dn; dmu_offset_next() local
1878 dnode_t *dn; dmu_object_wait_synced() local
1900 dmu_object_info_from_dnode(dnode_t * dn,dmu_object_info_t * doi) dmu_object_info_from_dnode() argument
1936 dnode_t *dn; dmu_object_info() local
1971 dnode_t *dn; dmu_object_size_from_db() local
[all...]
H A Ddbuf.c156 dnode_t *dn; in dbuf_find_bonus() local
159 if (dnode_hold(os, object, FTAG, &dn) == 0) { in dbuf_find_bonus()
160 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dbuf_find_bonus()
161 if (dn->dn_bonus != NULL) { in dbuf_find_bonus()
162 db = dn->dn_bonus; in dbuf_find_bonus()
165 rw_exit(&dn->dn_struct_rwlock); in dbuf_find_bonus()
166 dnode_rele(dn, FTAG); in dbuf_find_bonus()
412 dnode_t *dn; in dbuf_verify() local
422 dn = DB_DNODE(db); in dbuf_verify()
423 if (dn in dbuf_verify()
572 dbuf_whichblock(dnode_t * dn,int64_t level,uint64_t offset) dbuf_whichblock() argument
639 dnode_t *dn; dbuf_read_impl() local
715 dnode_t *dn; dbuf_read() local
919 dbuf_free_range(dnode_t * dn,uint64_t start_blkid,uint64_t end_blkid,dmu_tx_t * tx) dbuf_free_range() argument
1074 dnode_t *dn; dbuf_new_size() local
1163 dnode_t *dn; dbuf_dirty() local
1439 dnode_t *dn; dbuf_undirty() local
1736 dnode_t *dn; dbuf_clear() local
1805 dbuf_findbp(dnode_t * dn,int level,uint64_t blkid,int fail_sparse,dmu_buf_impl_t ** parentp,blkptr_t ** bpp) dbuf_findbp() argument
1872 dbuf_create(dnode_t * dn,uint8_t level,uint64_t blkid,dmu_buf_impl_t * parent,blkptr_t * blkptr) dbuf_create() argument
1988 dnode_t *dn; dbuf_destroy() local
2104 dbuf_prefetch(dnode_t * dn,int64_t level,uint64_t blkid,zio_priority_t prio,arc_flags_t aflags) dbuf_prefetch() argument
2225 dbuf_hold_impl(dnode_t * dn,uint8_t level,uint64_t blkid,boolean_t fail_sparse,boolean_t fail_uncached,void * tag,dmu_buf_impl_t ** dbp) dbuf_hold_impl() argument
2321 dbuf_hold(dnode_t * dn,uint64_t blkid,void * tag) dbuf_hold() argument
2327 dbuf_hold_level(dnode_t * dn,int level,uint64_t blkid,void * tag) dbuf_hold_level() argument
2335 dbuf_create_bonus(dnode_t * dn) dbuf_create_bonus() argument
2347 dnode_t *dn; dbuf_spill_set_blksz() local
2367 dbuf_rm_spill(dnode_t * dn,dmu_tx_t * tx) dbuf_rm_spill() argument
2457 dnode_t *dn; dbuf_rele_and_unlock() local
2627 dbuf_check_blkptr(dnode_t * dn,dmu_buf_impl_t * db) dbuf_check_blkptr() argument
2675 dnode_t *dn; dbuf_sync_indirect() local
2722 dnode_t *dn; dbuf_sync_leaf() local
2887 dnode_t *dn; dbuf_write_ready() local
3032 dnode_t *dn; dbuf_write_done() local
3054 dnode_t *dn; dbuf_write_done() local
3127 dnode_t *dn; dbuf_write() local
[all...]
H A Ddmu_objset.c650 dnode_t *dn; in dmu_objset_evict_dbufs() local
653 dn = list_head(&os->os_dnodes); in dmu_objset_evict_dbufs()
654 while (dn != NULL) { in dmu_objset_evict_dbufs()
660 if (dnode_add_ref(dn, FTAG)) { in dmu_objset_evict_dbufs()
661 list_insert_after(&os->os_dnodes, dn, &dn_marker); in dmu_objset_evict_dbufs()
664 dnode_evict_dbufs(dn); in dmu_objset_evict_dbufs()
665 dnode_rele(dn, FTAG); in dmu_objset_evict_dbufs()
668 dn = list_next(&os->os_dnodes, &dn_marker); in dmu_objset_evict_dbufs()
671 dn = list_next(&os->os_dnodes, dn); in dmu_objset_evict_dbufs()
1019 dnode_t *dn; dmu_objset_sync_dnodes() local
1216 dnode_t *dn; dmu_objset_do_userquota_updates() local
1301 dnode_t *dn; dmu_objset_userquota_find_data() local
1319 dmu_objset_userquota_get_ids(dnode_t * dn,boolean_t before,dmu_tx_t * tx) dmu_objset_userquota_get_ids() argument
[all...]
/titanic_51/usr/src/lib/libsldap/common/
H A Dns_wrapper.c66 char *dn, LDAPMod **attrs, in _ns_ldap_add_ext() argument
71 return (ldap_add_ext(ld, dn, attrs, in _ns_ldap_add_ext()
77 char *dn, LDAPMod **attrs, in _ns_ldap_add_ext_s() argument
82 return (ldap_add_ext_s(ld, dn, attrs, serverctrls, clientctrls)); in _ns_ldap_add_ext_s()
87 char *dn, LDAPMod **attrs) in _ns_ldap_add() argument
91 return (ldap_add(ld, dn, attrs)); in _ns_ldap_add()
96 char *dn, LDAPMod **attrs) in _ns_ldap_add_s() argument
100 return (ldap_add_s(ld, dn, attrs)); in _ns_ldap_add_s()
108 char *dn, char *attr, struct berval *bvalue, in _ns_ldap_compare_ext() argument
113 return (ldap_compare_ext(ld, dn, att in _ns_ldap_compare_ext()
119 _ns_ldap_compare_ext_s(char * service,int flags,char * dn,char * attr,struct berval * bvalue,LDAPControl ** serverctrls,LDAPControl ** clientctrls) _ns_ldap_compare_ext_s() argument
130 _ns_ldap_compare(char * service,int flags,char * dn,char * attr,char * value) _ns_ldap_compare() argument
139 _ns_ldap_compare_s(char * service,int flags,char * dn,char * attr,char * value) _ns_ldap_compare_s() argument
151 _ns_ldap_delete_ext(char * service,int flags,char * dn,LDAPControl ** serverctrls,LDAPControl ** clientctrls,int * msgidp) _ns_ldap_delete_ext() argument
161 _ns_ldap_delete_ext_s(char * service,int flags,char * dn,LDAPControl ** serverctrls,LDAPControl ** clientctrls) _ns_ldap_delete_ext_s() argument
171 _ns_ldap_delete(char * service,int flags,char * dn) _ns_ldap_delete() argument
180 _ns_ldap_delete_s(char * service,int flags,char * dn) _ns_ldap_delete_s() argument
192 _ns_ldap_modify_ext(char * service,int flags,char * dn,LDAPMod ** mods,LDAPControl ** serverctrls,LDAPControl ** clientctrls,int * msgidp) _ns_ldap_modify_ext() argument
203 _ns_ldap_modify_ext_s(char * service,int flags,char * dn,LDAPMod ** mods,LDAPControl ** serverctrls,LDAPControl ** clientctrls) _ns_ldap_modify_ext_s() argument
213 _ns_ldap_modify(char * service,int flags,char * dn,LDAPMod ** mods) _ns_ldap_modify() argument
223 _ns_ldap_modify_s(char * service,int flags,char * dn,LDAPMod ** mods) _ns_ldap_modify_s() argument
236 _ns_ldap_modrdn(char * service,int flags,char * dn,char * newrdn,int deleteoldrdn) _ns_ldap_modrdn() argument
245 _ns_ldap_modrdn_s(char * service,int flags,char * dn,char * newrdn,int deleteoldrdn) _ns_ldap_modrdn_s() argument
254 _ns_ldap_modrdn2(char * service,int flags,char * dn,char * newrdn,int deleteoldrdn) _ns_ldap_modrdn2() argument
263 _ns_ldap_modrdn2_s(char * service,int flags,char * dn,char * newrdn,int deleteoldrdn) _ns_ldap_modrdn2_s() argument
275 _ns_ldap_rename(char * service,int flags,char * dn,char * newrdn,char * newparent,int deleteoldrdn,LDAPControl ** serverctrls,LDAPControl ** clientctrls,int * msgidp) _ns_ldap_rename() argument
288 _ns_ldap_rename_s(char * service,int flags,char * dn,char * newrdn,char * newparent,int deleteoldrdn,LDAPControl ** serverctrls,LDAPControl ** clientctrls) _ns_ldap_rename_s() argument
[all...]
/titanic_51/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetdn.c49 char *dn; in ldap_get_dn() local
64 if ( ber_scanf( &tmp, "{a", &dn ) == LBER_ERROR ) { in ldap_get_dn()
69 return( dn ); in ldap_get_dn()
74 ldap_dn2ufn( const char *dn ) in ldap_dn2ufn() argument
82 if ( dn == NULL ) { in ldap_dn2ufn()
83 dn = ""; in ldap_dn2ufn()
86 if ( ldap_is_dns_dn( dn ) || ( p = strchr( dn, '=' )) == NULL ) in ldap_dn2ufn()
87 return( nsldapi_strdup( (char *)dn )); in ldap_dn2ufn()
156 ldap_explode_dns( const char *dn ) in ldap_explode_dns() argument
198 ldap_explode(const char * dn,const int notypes,const int nametype) ldap_explode() argument
338 ldap_explode_dn(const char * dn,const int notypes) ldap_explode_dn() argument
352 ldap_is_dns_dn(const char * dn) ldap_is_dns_dn() argument
376 char *dn = 0; ldap_dns_to_dn() local
[all...]
H A Dsbind.c40 static int simple_bind_nolock( LDAP *ld, const char *dn, const char *passwd,
42 static int simple_bindifnot_s( LDAP *ld, const char *dn, const char *passwd );
45 * ldap_simple_bind - bind to the ldap server. The dn and
56 ldap_simple_bind( LDAP *ld, const char *dn, const char *passwd ) in ldap_simple_bind() argument
66 rc = simple_bind_nolock( ld, dn, passwd, 1 ); in ldap_simple_bind()
73 simple_bind_nolock( LDAP *ld, const char *dn, const char *passwd, in simple_bind_nolock() argument
95 if ( dn == NULL ) in simple_bind_nolock()
96 dn = ""; in simple_bind_nolock()
107 rc = (ld->ld_cache_bind)( ld, msgid, LDAP_REQ_BIND, dn, &bv, in simple_bind_nolock()
124 NSLDAPI_LDAP_VERSION( ld ), dn, LDAP_AUTH_SIMPL in simple_bind_nolock()
153 ldap_simple_bind_s(LDAP * ld,const char * dn,const char * passwd) ldap_simple_bind_s() argument
182 simple_bindifnot_s(LDAP * ld,const char * dn,const char * passwd) simple_bindifnot_s() argument
[all...]
H A Ddelete.c40 * dn DN of the object to delete
43 * msgid = ldap_delete( ld, dn );
47 ldap_delete( LDAP *ld, const char *dn ) in ldap_delete() argument
53 if ( ldap_delete_ext( ld, dn, NULL, NULL, &msgid ) == LDAP_SUCCESS ) { in ldap_delete()
62 ldap_delete_ext( LDAP *ld, const char *dn, LDAPControl **serverctrls, in ldap_delete_ext() argument
84 if ( dn == NULL ) { in ldap_delete_ext()
85 dn = ""; in ldap_delete_ext()
96 dn )) != 0 ) { in ldap_delete_ext()
110 if ( ber_printf( ber, "{its", *msgidp, LDAP_REQ_DELETE, dn ) in ldap_delete_ext()
126 (char *)dn, be in ldap_delete_ext()
133 ldap_delete_s(LDAP * ld,const char * dn) ldap_delete_s() argument
140 ldap_delete_ext_s(LDAP * ld,const char * dn,LDAPControl ** serverctrls,LDAPControl ** clientctrls) ldap_delete_ext_s() argument
[all...]
H A Drename.c44 * dn DN of the object to modify
57 * rc = ldap_rename( ld, dn, newrdn, newparent, deleteoldrdn, serverctrls, clientctrls, &msgid );
63 const char *dn, in ldap_rename() argument
76 * A modify dn request looks like this: in ldap_rename()
120 LDAP_REQ_MODRDN, dn, newrdn, deleteoldrdn )) in ldap_rename()
131 LDAP_REQ_MODDN, dn, newrdn, newparent, in ldap_rename()
148 if ( ber_printf( ber, "{it{ssb", *msgidp, LDAP_REQ_MODDN, dn, in ldap_rename()
178 (char *) dn, ber ); in ldap_rename()
185 ldap_modrdn2( LDAP *ld, const char *dn, const char *newrdn, int deleteoldrdn ) in ldap_modrdn2() argument
189 if ( ldap_rename( ld, dn, newrd in ldap_modrdn2()
198 ldap_modrdn(LDAP * ld,const char * dn,const char * newrdn) ldap_modrdn() argument
207 ldap_rename_s(LDAP * ld,const char * dn,const char * newrdn,const char * newparent,int deleteoldrdn,LDAPControl ** serverctrls,LDAPControl ** clientctrls) ldap_rename_s() argument
233 ldap_modrdn2_s(LDAP * ld,const char * dn,const char * newrdn,int deleteoldrdn) ldap_modrdn2_s() argument
249 ldap_modrdn_s(LDAP * ld,const char * dn,const char * newrdn) ldap_modrdn_s() argument
[all...]
H A Dcompare.c41 * ldap_compare - perform an ldap compare operation. The dn
50 ldap_compare( LDAP *ld, const char *dn, const char *attr, const char *value ) in ldap_compare() argument
60 if ( ldap_compare_ext( ld, dn, attr, &bv, NULL, NULL, &msgid ) in ldap_compare()
70 ldap_compare_ext( LDAP *ld, const char *dn, const char *attr, in ldap_compare_ext() argument
100 if ( dn == NULL ) { in ldap_compare_ext()
101 dn = ""; in ldap_compare_ext()
112 LDAP_REQ_COMPARE, dn, attr, bvalue )) != 0 ) { in ldap_compare_ext()
126 if ( ber_printf( ber, "{it{s{so}}", *msgidp, LDAP_REQ_COMPARE, dn, in ldap_compare_ext()
143 (char *)dn, ber ); in ldap_compare_ext()
150 ldap_compare_s( LDAP *ld, const char *dn, cons argument
163 ldap_compare_ext_s(LDAP * ld,const char * dn,const char * attr,const struct berval * bvalue,LDAPControl ** serverctrls,LDAPControl ** clientctrls) ldap_compare_ext_s() argument
[all...]
H A Dadd.c44 * dn DN of the entry to add
57 * msgid = ldap_add( ld, dn, attrs );
61 ldap_add( LDAP *ld, const char *dn, LDAPMod **attrs ) in ldap_add() argument
67 if ( ldap_add_ext( ld, dn, attrs, NULL, NULL, &msgid ) in ldap_add()
82 ldap_add_ext( LDAP *ld, const char *dn, LDAPMod **attrs, in ldap_add_ext() argument
117 if ( dn == NULL ) { in ldap_add_ext()
118 dn = ""; in ldap_add_ext()
128 if ( (rc = (ld->ld_cache_add)( ld, *msgidp, LDAP_REQ_ADD, dn, in ldap_add_ext()
143 if ( ber_printf( ber, "{it{s{", *msgidp, LDAP_REQ_ADD, dn ) in ldap_add_ext()
183 (char *) dn, be in ldap_add_ext()
190 ldap_add_s(LDAP * ld,const char * dn,LDAPMod ** attrs) ldap_add_s() argument
196 ldap_add_ext_s(LDAP * ld,const char * dn,LDAPMod ** attrs,LDAPControl ** serverctrls,LDAPControl ** clientctrls) ldap_add_ext_s() argument
[all...]
H A Dmodify.c44 * dn DN of the object to modify
55 * msgid = ldap_modify( ld, dn, mods );
59 ldap_modify( LDAP *ld, const char *dn, LDAPMod **mods ) in ldap_modify() argument
65 if ( ldap_modify_ext( ld, dn, mods, NULL, NULL, &msgid ) in ldap_modify()
75 ldap_modify_ext( LDAP *ld, const char *dn, LDAPMod **mods, in ldap_modify_ext() argument
115 if ( dn == NULL ) { in ldap_modify_ext()
116 dn = ""; in ldap_modify_ext()
127 dn, mods )) != 0 ) { in ldap_modify_ext()
141 if ( ber_printf( ber, "{it{s{", *msgidp, LDAP_REQ_MODIFY, dn ) in ldap_modify_ext()
183 (char *)dn, be in ldap_modify_ext()
190 ldap_modify_s(LDAP * ld,const char * dn,LDAPMod ** mods) ldap_modify_s() argument
197 ldap_modify_ext_s(LDAP * ld,const char * dn,LDAPMod ** mods,LDAPControl ** serverctrls,LDAPControl ** clientctrls) ldap_modify_ext_s() argument
[all...]
H A Dsaslbind.c30 * ldap_sasl_bind - authenticate to the ldap server. The dn, mechanism,
48 const char *dn, in ldap_sasl_bind() argument
96 if ( dn == NULL ) in ldap_sasl_bind()
97 dn = ""; in ldap_sasl_bind()
101 if ( (rc = (ld->ld_cache_bind)( ld, msgid, LDAP_REQ_BIND, dn, in ldap_sasl_bind()
126 ldapversion, dn, LDAP_AUTH_SIMPLE, cred->bv_val, in ldap_sasl_bind()
132 LDAP_REQ_BIND, ldapversion, dn, LDAP_AUTH_SASL, in ldap_sasl_bind()
136 LDAP_REQ_BIND, ldapversion, dn, LDAP_AUTH_SASL, in ldap_sasl_bind()
156 (char *)dn, ber ); in ldap_sasl_bind()
163 * The dn, mechanis
177 ldap_sasl_bind_s(LDAP * ld,const char * dn,const char * mechanism,const struct berval * cred,LDAPControl ** serverctrls,LDAPControl ** clientctrls,struct berval ** servercredp) ldap_sasl_bind_s() argument
[all...]
/titanic_51/usr/src/lib/libresolv/
H A Dres_comp.c62 register u_char *cp, *dn; local
67 dn = exp_dn;
79 if (dn != exp_dn) {
80 if (dn >= eom)
82 *dn++ = '.';
84 if (dn+n >= eom)
89 if (dn + n + 2 >= eom)
91 *dn++ = '\\';
93 *dn++ = c;
119 *dn
143 register u_char *cp, *dn; global() local
251 register u_char *dn, *cp, **cpp; dn_find() local
[all...]
/titanic_51/usr/src/uts/common/fs/zfs/sys/
H A Ddnode.h162 dnode_phys_t *dn_phys; /* pointer into dn->dn_dbuf->db.db_data */
274 void dnode_setbonuslen(dnode_t *dn, int newsize, dmu_tx_t *tx);
275 void dnode_setbonus_type(dnode_t *dn, dmu_object_type_t, dmu_tx_t *tx);
276 void dnode_rm_spill(dnode_t *dn, dmu_tx_t *tx);
282 boolean_t dnode_add_ref(dnode_t *dn, void *ref);
283 void dnode_rele(dnode_t *dn, void *ref);
284 void dnode_rele_and_unlock(dnode_t *dn, void *tag);
285 void dnode_setdirty(dnode_t *dn, dmu_tx_t *tx);
286 void dnode_sync(dnode_t *dn, dmu_tx_t *tx);
287 void dnode_allocate(dnode_t *dn, dmu_object_type_
315 dprintf_dnode(dn,fmt,...) global() argument
329 DNODE_VERIFY(dn) global() argument
335 DNODE_VERIFY(dn) global() argument
[all...]
/titanic_51/usr/src/lib/libresolv2/common/nameser/
H A Dns_name.c100 char *dn, *eom; in ns_name_ntop() local
106 dn = dst; in ns_name_ntop()
115 if (dn != dst) { in ns_name_ntop()
116 if (dn >= eom) { in ns_name_ntop()
120 *dn++ = '.'; in ns_name_ntop()
126 if (dn + l >= eom) { in ns_name_ntop()
138 if ((m = decode_bitstring(&cp, dn, eom)) < 0) in ns_name_ntop()
143 dn += m; in ns_name_ntop()
149 if (dn + 1 >= eom) { in ns_name_ntop()
153 *dn in ns_name_ntop()
357 u_char *dn, *eom; ns_name_ntol() local
924 const u_char *dn, *cp, *sp; dn_find() local
978 decode_bitstring(const unsigned char ** cpp,char * dn,const char * eom) decode_bitstring() argument
[all...]
/titanic_51/usr/src/lib/libresolv2/common/resolv/
H A Dres_comp.c178 res_hnok(const char *dn) { in res_hnok() argument
179 int pch = PERIOD, ch = *dn++; in res_hnok()
182 int nch = *dn++; in res_hnok()
206 res_ownok(const char *dn) { in res_ownok() argument
207 if (asterchar(dn[0])) { in res_ownok()
208 if (periodchar(dn[1])) in res_ownok()
209 return (res_hnok(dn+2)); in res_ownok()
210 if (dn[1] == '\0') in res_ownok()
213 return (res_hnok(dn)); in res_ownok()
221 res_mailok(const char *dn) { in res_mailok() argument
249 res_dnok(const char * dn) res_dnok() argument
[all...]
/titanic_51/usr/src/cmd/ldap/common/
H A Dldaptest.c223 static char dn[256], passwd[256]; in bind_prompt() local
227 getaline( dn, sizeof(dn), stdin, in bind_prompt()
229 if (( *authmethodp = atoi( dn )) == 3 ) { in bind_prompt()
238 getaline( dn, sizeof(dn), stdin, "re-bind dn? " ); in bind_prompt()
239 strcat( dn, dnsuffix ); in bind_prompt()
240 *dnp = dn; in bind_prompt()
242 if ( *authmethodp == LDAP_AUTH_SIMPLE && dn[ in bind_prompt()
262 char passwd[64], dn[256], rdn[64], attr[64], value[256]; main() local
1108 char *a, *dn, *ufn; print_search_entry() local
[all...]
H A Dldapmodify.c69 #define T_DN_STR "dn"
104 static int domodify( LDAP *ld, char *dn, LDAPMod **pmods, int newentry );
105 static int dodelete( LDAP *ld, char *dn );
106 static int dorename( LDAP *ld, char *dn, char *newrdn, char *newparent,
111 static int domodify( char *dn, LDAPMod **pmods, int newentry );
112 static int dodelete( char *dn );
113 static int dorename( char *dn, char *newrdn, char *newparent,
443 char *line, *dn, *type, *value, *newrdn, *newparent, *p; local
462 dn = newrdn = newparent = NULL;
491 ldaptool_progname, linenum, dn
789 char *line, *dn, *p, *q, *attr, *value; global() local
983 domodify(LDAP * ld,char * dn,LDAPMod ** pmods,int newentry) global() argument
1119 dodelete(LDAP * ld,char * dn) global() argument
1144 dorename(LDAP * ld,char * dn,char * newrdn,char * newparent,int deleteoldrdn) global() argument
[all...]
/titanic_51/usr/src/psm/stand/bootblks/zfs/common/
H A Dzfs.fth729 : dn_indblkshift ( dn -- n ) h# 1 + c@ ;
730 : dn_nlevels ( dn -- n ) h# 2 + c@ ;
731 : dn_bonustype ( dn -- n ) h# 4 + c@ ;
732 : dn_datablkszsec ( dn -- n ) h# 8 + w@ ;
733 : dn_bonuslen ( dn -- n ) h# a + w@ ;
734 : dn_blkptr ( dn -- p ) h# 40 + ;
735 : dn_bonus ( dn -- p ) h# c0 + ;
736 : dn_spill ( dn -- p ) h# 180 + ;
742 \ ind-cache is a 1 block indirect block cache from dnode ic-dn
744 \ ic-bp and ic-bplim point into the ic-dn'
[all...]
/titanic_51/usr/src/cmd/tip/aculib/
H A Ddn11.c22 static int child = -1, dn; variable
33 if ((dn = open(acu, 1)) < 0) { in dn_dialer()
42 (void) close(dn); in dn_dialer()
56 nw = write(dn, num, lt = strlen(num)); in dn_dialer()
69 (void) close(dn); in dn_dialer()
73 (void) ioctl(dn, TCGETS, &buf); in dn_dialer()
75 (void) ioctl(dn, TCSETSF, &buf); in dn_dialer()
80 (void) close(dn); in dn_dialer()
119 if (dn > 0) in dn_abort()
120 (void) close(dn); in dn_abort()
[all...]
/titanic_51/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dkerberos.ldif35 dn: cn=schema
48 dn: cn=schema
63 dn: cn=schema
75 dn: cn=schema
103 dn: cn=schema
115 dn: cn=schema
127 dn: cn=schema
141 dn: cn=schema
157 dn: cn=schema
170 dn
[all...]

12345678