| /titanic_53/usr/src/lib/krb5/dyn/ |
| H A D | dyn_delete.c | 25 int DynDelete(obj, idx) in DynDelete() argument 26 DynObjectP obj; in DynDelete() 30 if (obj->debug) 35 if (idx >= obj->num_el) { 36 if (obj->debug) 38 obj->num_el); 42 if (idx == obj->num_el-1) { 43 if (obj->paranoid) { 44 if (obj->debug) 46 memset(obj->array + idx*obj->el_size, 0, obj->el_size); [all …]
|
| H A D | dyn_insert.c | 19 int DynInsert(obj, idx, els_in, num) in DynInsert() argument 20 DynObjectP obj; in DynInsert() 27 if (idx < 0 || idx > obj->num_el) { 28 if (obj->debug) 30 idx, obj->num_el); 35 if (obj->debug) 41 if (obj->debug) 43 (obj->num_el-idx)*obj->el_size, obj->array, 44 obj->el_size*idx, obj->el_size*(idx+num)); 46 if ((ret = _DynResize(obj, obj->num_el + num)) != DYN_OK) [all …]
|
| H A D | dyn_create.c | 31 DynObjectP obj; local 33 obj = (DynObjectP) malloc(sizeof(DynObjectRecP)); 34 if (obj == NULL) 38 obj->array = (DynPtr) malloc(1); 40 obj->array = (DynPtr) malloc(0); 42 obj->el_size = el_size; 43 obj->num_el = obj->size = 0; 44 obj->debug = obj->paranoid = 0; 45 obj->inc = (!! inc) ? inc : default_increment; 47 return obj; [all …]
|
| H A D | dyn_put.c | 20 DynPtr DynArray(obj) in DynArray() argument 21 DynObjectP obj; in DynArray() 23 if (obj->debug) 25 obj->array); 27 return obj->array; 30 DynPtr DynGet(obj, num) in DynGet() argument 31 DynObjectP obj; in DynGet() 35 if (obj->debug) 40 if (num >= obj->num_el) { 41 if (obj->debug) [all …]
|
| H A D | dyn_realloc.c | 23 int _DynResize(obj, req) in _DynResize() argument 24 DynObjectP obj; in _DynResize() 29 if (obj->size > req) 31 else if (obj->inc > 0) 32 return _DynRealloc(obj, (req - obj->size) / obj->inc + 1); 34 if (obj->size == 0) 35 size = -obj->inc; 37 size = obj->size; 42 return _DynRealloc(obj, size); 54 int _DynRealloc(obj, num_incs) in _DynRealloc() argument [all …]
|
| H A D | dyn.h | 43 #define DynHigh(obj) (DynSize(obj) - 1) argument 44 #define DynLow(obj) (0) argument 59 DynObject DynCreate P((int el_size, int inc)), DynCopy P((DynObject obj)); 60 int DynDestroy P((DynObject obj)), DynRelease P((DynObject obj)); 61 int DynAdd P((DynObject obj, void *el)); 62 int DynPut P((DynObject obj, void *el, int idx)); 63 int DynInsert P((DynObject obj, int idx, void *els, int num)); 64 int DynDelete P((DynObject obj, int idx)); 65 DynPtr DynGet P((DynObject obj, int num)); 66 DynPtr DynArray P((DynObject obj)); [all …]
|
| H A D | dyn_size.c | 19 int DynSize(obj) in DynSize() argument 20 DynObjectP obj; in DynSize() 22 if (obj->debug) 23 fprintf(stderr, "dyn: size: returning size %d.\n", obj->num_el); 25 return obj->num_el; 28 int DynCapacity(obj) in DynCapacity() argument 29 DynObjectP obj; in DynCapacity() 31 if (obj->debug) 32 fprintf(stderr, "dyn: capacity: returning cap of %d.\n", obj->size); 34 return obj->size;
|
| /titanic_53/usr/src/cmd/perl/contrib/Sun/Solaris/BSM/ |
| H A D | _BSMparse.pm | 49 my $obj = shift; 62 $obj = ref($obj) || $obj; 83 'userFile' => $userf}, $obj); 92 my $obj = shift; 94 my $file = $obj->{'attrFile'}; 117 my $classFilter = $obj->{'classFilter'}; 165 $obj->{'kernelDefault'} = $1; 170 $obj->{'userDefault'} = $1; 198 if ($obj->{'debug'}) { 205 $callName = $obj->filterCallName($label, [all …]
|
| /titanic_53/usr/src/cmd/isns/isnsd/ |
| H A D | dseng.c | 59 isns_obj_t *obj; in load_data() local 74 ec = target_load_obj(&prev, &obj, &phase); in load_data() 75 while (ec == 0 && obj != NULL) { in load_data() 77 switch (obj->type) { in load_data() 80 ptype = obj->type; in load_data() 81 ec = register_object(obj, &puid, NULL); in load_data() 85 ec = register_object(obj, &puid, NULL); in load_data() 87 eid_attr = &obj->attrs[ in load_data() 95 scn_bitmap = &obj->attrs[ATTR_INDEX_ISCSI( in load_data() 97 scn_name = &obj->attrs[ATTR_INDEX_ISCSI( in load_data() [all …]
|
| H A D | obj.c | 360 isns_obj_t *obj; in entity_hval() local 365 obj = (isns_obj_t *)p; in entity_hval() 366 key = obj->attrs[ATTR_INDEX_ENTITY(ISNS_EID_ATTR_ID)]. in entity_hval() 401 isns_obj_t *obj; in iscsi_hval() local 406 obj = (isns_obj_t *)p; in iscsi_hval() 407 key = obj->attrs[ATTR_INDEX_ISCSI(ISNS_ISCSI_NAME_ATTR_ID)]. in iscsi_hval() 443 isns_obj_t *obj; in portal_hval() local 451 obj = (isns_obj_t *)p; in portal_hval() 452 ip = obj->attrs[ATTR_INDEX_PORTAL in portal_hval() 454 port = obj->attrs[ATTR_INDEX_PORTAL in portal_hval() [all …]
|
| /titanic_53/usr/src/cmd/abi/appcert/static_prof/ |
| H A D | static_prof.c | 115 bkts[bktno].obj = bind->obj; in store_binding() 146 if (strcmp(bkts[bktno].obj, bind->obj)) in check_store_binding() 147 bkts[bktno].ref_lib = bind->obj; in check_store_binding() 158 if (strcmp(bkts[i].obj, bind->obj)) in check_store_binding() 159 bkts[i].ref_lib = bind->obj; in check_store_binding() 215 bind->obj); in profile_binding() 225 bind->obj); in profile_binding() 229 bind->obj, in profile_binding() 286 bkts[i].obj); in output_binding() 296 bkts[i].obj); in output_binding() [all …]
|
| /titanic_53/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
| H A D | obj_mgr.c | 501 OBJECT * obj, in object_mgr_add_to_map() argument 505 if (! sess || ! obj || ! handle) { in object_mgr_add_to_map() 515 map_node->ptr = obj; in object_mgr_add_to_map() 517 if (obj->session != NULL) in object_mgr_add_to_map() 692 OBJECT ** obj) in object_mgr_create_skel() argument 699 if (! sess || ! obj) { in object_mgr_create_skel() 746 *obj = o; in object_mgr_create_skel() 752 OBJECT * obj, in object_mgr_create_final() argument 759 if (!sess || !obj || !handle) in object_mgr_create_final() 766 sess_obj = object_is_session_object(obj); in object_mgr_create_final() [all …]
|
| H A D | object.c | 306 OBJECT ** obj) in object_create() argument 402 *obj = o; in object_create() 515 object_flatten(OBJECT * obj, in object_flatten() argument 525 if (! obj) { in object_flatten() 528 count = template_get_count(obj->template); in object_flatten() 529 tmpl_len = template_get_compressed_size(obj->template); in object_flatten() 543 (void) memcpy(buf + offset, &obj->class, sizeof (CK_OBJECT_CLASS_32)); in object_flatten() 549 (void) memcpy(buf + offset, &obj->name, sizeof (CK_BYTE) * 8); in object_flatten() 551 rc = template_flatten(obj->template, buf + offset); in object_flatten() 564 object_free(OBJECT *obj) in object_free() argument [all …]
|
| /titanic_53/usr/src/lib/libbsm/ |
| H A D | auditxml.pm | 37 my $obj = shift; 39 my @kid = $obj->getKids(); # kids of event are entry or allowed_types 98 'xmlObj' => $obj}, $pkg; 188 my $obj = shift; 190 my @kid = $obj->getKids(); # kids of event are entry 195 if ($reorder = $obj->getAttr('reorder')) { 216 'xmlObj' => $obj}, $pkg; 250 my $obj = shift; 262 $omit = '' unless $omit = $obj->getAttr('omit'); 263 $type = '' unless $type = $obj->getAttr('type'); [all …]
|
| /titanic_53/usr/src/lib/libdwarf/common/ |
| H A D | dwarf_elf_access.c | 140 dwarf_elf_object_access_internals_t*obj = in dwarf_elf_object_access_internals_init() local 144 obj->elf = elf; in dwarf_elf_object_access_internals_init() 151 obj->is_64bit = (ehdr_ident[EI_CLASS] == ELFCLASS64); in dwarf_elf_object_access_internals_init() 155 obj->endianness = DW_OBJECT_LSB; in dwarf_elf_object_access_internals_init() 158 obj->endianness = DW_OBJECT_MSB; in dwarf_elf_object_access_internals_init() 161 if (obj->is_64bit) { in dwarf_elf_object_access_internals_init() 163 obj->ehdr64 = elf64_getehdr(elf); in dwarf_elf_object_access_internals_init() 164 if (obj->ehdr64 == NULL) { in dwarf_elf_object_access_internals_init() 168 obj->section_count = obj->ehdr64->e_shnum; in dwarf_elf_object_access_internals_init() 169 machine = obj->ehdr64->e_machine; in dwarf_elf_object_access_internals_init() [all …]
|
| /titanic_53/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
| H A D | snoop_nfs4.c | 91 static void sumarg_cb_getattr(char *buf, size_t buflen, void *obj); 92 static void dtlarg_cb_getattr(void *obj); 93 static void sumarg_cb_recall(char *buf, size_t buflen, void *obj); 94 static void dtlarg_cb_recall(void *obj); 97 static void sumarg_access(char *buf, size_t buflen, void *obj); 98 static void dtlarg_access(void *obj); 99 static void sumarg_close(char *buf, size_t buflen, void *obj); 100 static void dtlarg_close(void *obj); 101 static void sumarg_commit(char *buf, size_t buflen, void *obj); 102 static void dtlarg_commit(void *obj); [all …]
|
| /titanic_53/usr/src/lib/libexacct/common/ |
| H A D | exacct_ops.c | 319 ea_next_object(ea_file_t *ef, ea_object_t *obj) in ea_next_object() argument 346 ret = fread(&obj->eo_catalog, 1, sizeof (ea_catalog_t), f->ef_fp); in ea_next_object() 354 exacct_order32(&obj->eo_catalog); in ea_next_object() 357 obj->eo_type = EO_ITEM; in ea_next_object() 360 switch (obj->eo_catalog & EXT_TYPE_MASK) { in ea_next_object() 362 obj->eo_type = EO_GROUP; in ea_next_object() 370 obj->eo_type = EO_NONE; in ea_next_object() 401 obj->eo_type = EO_NONE; in ea_next_object() 408 obj->eo_type = EO_NONE; in ea_next_object() 415 return (obj->eo_type); in ea_next_object() [all …]
|
| /titanic_53/usr/src/uts/common/fs/zfs/ |
| H A D | multilist.c | 30 multilist_d2l(multilist_t *ml, void *obj) in multilist_d2l() argument 32 return ((multilist_node_t *)((char *)obj + ml->ml_offset)); in multilist_d2l() 123 multilist_insert(multilist_t *ml, void *obj) in multilist_insert() argument 125 unsigned int sublist_idx = ml->ml_index_func(ml, obj); in multilist_insert() 130 unsigned int, sublist_idx, void *, obj); in multilist_insert() 150 ASSERT(!multilist_link_active(multilist_d2l(ml, obj))); in multilist_insert() 152 multilist_sublist_insert_head(mls, obj); in multilist_insert() 168 multilist_remove(multilist_t *ml, void *obj) in multilist_remove() argument 170 unsigned int sublist_idx = ml->ml_index_func(ml, obj); in multilist_remove() 175 unsigned int, sublist_idx, void *, obj); in multilist_remove() [all …]
|
| /titanic_53/usr/src/lib/libtnfctl/ |
| H A D | sym.c | 127 objlist_t *obj; in _tnfctl_sym_find() local 137 for (obj = hndl->objlist; obj; obj = obj->next) { in _tnfctl_sym_find() 138 if (obj->old == B_TRUE) in _tnfctl_sym_find() 142 prexstat = _tnfctl_sym_find_in_obj(obj->objfd, in _tnfctl_sym_find() 143 obj->baseaddr, symname, symaddr); in _tnfctl_sym_find() 171 objlist_t *obj, *found_obj; in _tnfctl_sym_obj_find() local 183 for (obj = hndl->objlist; obj; obj = obj->next) { in _tnfctl_sym_obj_find() 184 if (obj->old == B_TRUE) in _tnfctl_sym_obj_find() 187 if (obj->objname == NULL) in _tnfctl_sym_obj_find() 191 str_ptr = strrchr(obj->objname, '/'); in _tnfctl_sym_obj_find() [all …]
|
| H A D | probes.c | 272 objlist_t *obj, *tmp; in _tnfctl_free_objs_and_probes() local 275 obj = hndl->objlist; in _tnfctl_free_objs_and_probes() 276 while (obj) { in _tnfctl_free_objs_and_probes() 277 free_obj_fields(obj); in _tnfctl_free_objs_and_probes() 278 tmp = obj; in _tnfctl_free_objs_and_probes() 279 obj = obj->next; in _tnfctl_free_objs_and_probes() 290 free_obj_fields(objlist_t *obj) in free_obj_fields() argument 295 for (i = 0; i < obj->probecnt; i++) { in free_obj_fields() 296 probe_p = &(obj->probes[i]); in free_obj_fields() 302 if (obj->probes) in free_obj_fields() [all …]
|
| /titanic_53/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/ |
| H A D | zfs_rename_007_pos.ksh | 62 typeset obj 65 obj=$(get_prop mountpoint $dtst)/${SRC_FILE##*/} 67 obj=/dev/zvol/dsk/$dtst 70 echo $obj 87 obj=$(target_obj $fs) 88 log_must $CP $SRC_FILE $obj 101 obj=$(target_obj ${fs}-new) 102 log_must $DIFF $SRC_FILE $obj 103 obj=$(target_obj ${fsclone}-new) 104 log_must $DIFF $SRC_FILE $obj [all …]
|
| /titanic_53/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
| H A D | zfs_acl_mv_001_pos.ksh | 53 set -A obj $2 $3 66 log_must $MV ${obj[i]} $dst_file 70 log_must $MV ${obj[i]} $TESTDIR1 71 dst_acl=$(get_acl $TESTDIR1/${obj[i]}) 72 dst_mode=$(get_mode $TESTDIR1/${obj[i]}) 90 orig_acl=$(get_acl ${obj[i]}) 91 orig_mode=$(get_mode ${obj[i]}) 92 orig_nested_acl=$(get_acl ${obj[i]}/$nestedfile) 93 orig_nested_mode=$(get_mode ${obj[i]}/$nestedfile) 95 log_must $MV ${obj[i]} $dst_dir [all …]
|
| /titanic_53/usr/src/test/zfs-tests/tests/functional/reservation/ |
| H A D | reservation_014_pos.sh | 56 for obj in $OBJ_LIST ; do 57 datasetexists $obj && log_must $ZFS destroy -f $obj 80 for obj in $TESTPOOL/$TESTFS $OBJ_LIST ; do 95 if [[ $obj == $TESTPOOL/$TESTFS ]]; then 96 log_must $ZFS set quota=$quota_set_size $obj 99 elif [[ $obj == $TESTPOOL/$TESTVOL2 ]] ; then 103 elif [[ $obj == $TESTPOOL/$TESTVOL ]] ; then 108 orig_quota=`get_prop quota $obj` 110 log_mustnot $ZFS set reservation=$resv_set_size $obj 111 new_quota=`get_prop quota $obj` [all …]
|
| /titanic_53/usr/src/common/smbsrv/ |
| H A D | smb_token.c | 104 smb_token_encode(smb_token_t *obj, uint32_t *len) in smb_token_encode() argument 109 if (!obj) { in smb_token_encode() 114 *len = xdr_sizeof(smb_token_xdr, obj); in smb_token_encode() 123 if (!smb_token_xdr(&xdrs, obj)) { in smb_token_encode() 140 smb_logon_t *obj; in smb_logon_decode() local 145 if ((obj = malloc(sizeof (smb_logon_t))) == NULL) { in smb_logon_decode() 151 bzero(obj, sizeof (smb_logon_t)); in smb_logon_decode() 152 if (!smb_logon_xdr(&xdrs, obj)) { in smb_logon_decode() 154 free(obj); in smb_logon_decode() 155 obj = NULL; in smb_logon_decode() [all …]
|
| /titanic_53/usr/src/cmd/sgs/crle/common/ |
| H A D | inspect.c | 77 Hash_obj *obj) in enteralt() argument 83 if (obj->o_alter) { in enteralt() 88 if (strcmp(path, obj->o_path)) in enteralt() 104 if (strcmp(alter, obj->o_path) == 0) { in enteralt() 106 obj->o_path); in enteralt() 109 obj->o_flags |= RTC_OBJ_DUMP; in enteralt() 113 obj->o_flags |= RTC_OBJ_ALTER; in enteralt() 119 if (obj->o_alter) { in enteralt() 129 if ((obj->o_alter = malloc(altsz)) == NULL) in enteralt() 131 (void) strcpy(obj->o_alter, alter); in enteralt() [all …]
|