/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | typeof-mods.c | 9 typeof(obj) var = obj; in test_spec() 14 obj = obj; in test_spec() 23 typeof(obj) var = obj; in test_const() 35 typeof(obj) var = obj; in test_volatile() 40 obj = obj; in test_volatile() 54 obj = obj; in test_restrict() 68 obj = obj; in test_atomic() 83 obj = obj; in test_bitwise() 97 obj = obj; in test_static() 111 obj = obj; in test_tls() [all …]
|
/illumos-gate/usr/src/lib/krb5/dyn/ |
H A D | dyn_delete.c | 47 memset(obj->array + idx*obj->el_size, 0, obj->el_size); 58 obj->el_size*(obj->num_el - idx), obj->array, 62 memmove(obj->array + idx*obj->el_size, 63 obj->array + (idx+1)*obj->el_size, 64 obj->el_size*(obj->num_el - idx)); 66 bcopy(obj->array + (idx+1)*obj->el_size, 67 obj->array + idx*obj->el_size, 68 obj->el_size*(obj->num_el - idx)); 74 obj->el_size, obj->array, 75 obj->el_size*(obj->num_el - 1)); [all …]
|
H A D | dyn_insert.c | 43 (obj->num_el-idx)*obj->el_size, obj->array, 44 obj->el_size*idx, obj->el_size*(idx+num)); 49 memmove(obj->array + obj->el_size*(idx + num), 50 obj->array + obj->el_size*idx, 51 (obj->num_el-idx)*obj->el_size); 53 bcopy(obj->array + obj->el_size*idx, 54 obj->array + obj->el_size*(idx + num), 55 (obj->num_el-idx)*obj->el_size); 60 obj->el_size*num, els, obj->array, obj->el_size*idx); 63 memmove(obj->array + obj->el_size*idx, els, obj->el_size*num); [all …]
|
H A D | dyn_create.c | 31 DynObjectP obj; local 43 obj->num_el = obj->size = 0; 44 obj->debug = obj->paranoid = 0; 47 return obj; 51 DynObjectP obj; in DynCopy() 78 DynObjectP obj; in DynDestroy() 81 if (obj->debug) 83 obj->el_size * obj->size, obj->array); 84 memset(obj->array, 0, obj->el_size * obj->size); 87 free(obj); [all …]
|
H A D | dyn_put.c | 21 DynObjectP obj; in DynArray() 25 obj->array); 31 DynObjectP obj; in DynGet() 35 if (obj->debug) 41 if (obj->debug) 49 obj->array, obj->el_size*num); 51 return (DynPtr) obj->array + obj->el_size*num; 60 ret = DynPut(obj, el, obj->num_el); 86 obj->el_size, el, obj->array, idx*obj->el_size); 92 memmove(obj->array + idx*obj->el_size, el, obj->el_size); [all …]
|
H A D | dyn_realloc.c | 24 DynObjectP obj; in _DynResize() 32 return _DynRealloc(obj, (req - obj->size) / obj->inc + 1); 34 if (obj->size == 0) 55 DynObjectP obj; in _DynRealloc() 62 new_size_in_bytes = obj->el_size*(obj->size + obj->inc*num_incs); 66 if (obj->debug) 69 new_size_in_bytes - obj->el_size*obj->size, 74 if (obj->debug) 80 if (obj->inc > 0) 81 obj->size += obj->inc*num_incs; [all …]
|
H A D | dyn.h | 43 #define DynHigh(obj) (DynSize(obj) - 1) argument 44 #define DynLow(obj) (0) argument 60 int DynDestroy P((DynObject obj)), DynRelease P((DynObject obj)); 61 int DynAdd P((DynObject obj, void *el)); 64 int DynDelete P((DynObject obj, int idx)); 65 DynPtr DynGet P((DynObject obj, int num)); 66 DynPtr DynArray P((DynObject obj)); 67 int DynDebug P((DynObject obj, int state)); 68 int DynParanoid P((DynObject obj, int state)); 70 int DynSize 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;
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/BSM/ |
H A D | _BSMparse.pm | 49 my $obj = shift; 62 $obj = ref($obj) || $obj; 92 my $obj = shift; 283 my $obj = shift; 362 my $obj = shift; 388 my $obj = shift; 403 my $obj = shift; 422 my $obj = shift; 466 my $obj = shift; 468 $obj->readControl() unless ($obj->{'havePath'}); [all …]
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | dseng.c | 59 isns_obj_t *obj; in load_data() local 77 switch (obj->type) { in load_data() 80 ptype = obj->type; in load_data() 87 eid_attr = &obj->attrs[ in load_data() 104 type = obj->type; in load_data() 138 ec = add_dd_member(obj); in load_data() 143 free_object(obj); in load_data() 159 free_object(obj); in load_data() 172 (obj == NULL || in load_data() 196 const isns_obj_t *obj in write_data() argument [all …]
|
H A D | obj.c | 664 isns_attr_t *attr = &obj->attrs[UID_ATTR_INDEX[obj->type]]; in get_obj_uid() 688 isns_attr_t *attr = &obj->attrs[UID_ATTR_INDEX[obj->type]]; in set_obj_uid() 1718 return (obj); in obj_calloc() 1743 free(obj); in make_default_entity() 1764 return (obj); in make_default_entity() 1982 *p = obj; in reg_get_iscsi() 2075 *p = obj; in reg_get_portal() 2130 *p = obj; in reg_get_pg() 2199 *p = obj; in reg_get_pg1() 2288 *p = obj; in reg_get_pg2() [all …]
|
/illumos-gate/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() 158 if (strcmp(bkts[i].obj, bind->obj)) in check_store_binding() 322 if ((c->obj->fd = open(c->obj->ename, mode)) < 0) { in obj_init() 664 c->obj->dynnames = c->obj->ddata->d_buf; in find_dynamic_sect() 951 binding->obj = c->obj->ename; in scan_archive_symbols() 1011 c->obj->elf, c->obj->ehdr)) in scan_symbols() 1038 binding->obj = c->obj->ename; in scan_symbols() 1116 binding->obj = c->obj->ename; in bind_symbols() 1549 dep_obj->obj->ename = dep_obj->obj->filename; in analyze_dependency() [all …]
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | obj_mgr.c | 692 OBJECT ** obj) in object_mgr_create_skel() argument 746 *obj = o; in object_mgr_create_skel() 1051 *ptr = obj; in object_mgr_find_in_map_nocache() 1055 *ptr = obj; in object_mgr_find_in_map_nocache() 1092 *ptr = obj; in object_mgr_find_in_map1() 1098 *ptr = obj; in object_mgr_find_in_map1() 1447 if (! obj) in object_mgr_invalidate_handle2() 1666 obj = oldObj; in object_mgr_restore_obj() 1687 obj); in object_mgr_restore_obj() 1696 obj); in object_mgr_restore_obj() [all …]
|
H A D | object.c | 306 OBJECT ** obj) in object_create() argument 402 *obj = o; in object_create() 525 if (! obj) { in object_flatten() 567 free(obj); in object_free() 767 if (! obj) { in object_restore() 792 *new_obj = obj; in object_restore() 797 free(obj); in object_restore() 802 if (obj) in object_restore() 819 OBJECT ** obj) { in object_create_skel() argument 826 if (! obj) { in object_create_skel() [all …]
|
/illumos-gate/usr/src/lib/libbsm/ |
H A D | auditxml.pm | 37 my $obj = shift; 188 my $obj = shift; 250 my $obj = shift; 374 my $obj = shift; 403 my $obj = shift; 556 my $obj = shift; 681 my $obj = shift; 770 my $obj = shift; 802 my $obj = shift; 834 my $obj = shift; [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_elf_access.c | 162 obj->elf = elf; in dwarf_elf_object_access_internals_init() 185 obj->section_count = obj->ehdr64->e_shnum; in dwarf_elf_object_access_internals_init() 198 obj->section_count = obj->ehdr32->e_shnum; in dwarf_elf_object_access_internals_init() 205 obj->length_size = obj->is_64bit ? 8 : 4; in dwarf_elf_object_access_internals_init() 206 obj->pointer_size = obj->is_64bit ? 8 : 4; in dwarf_elf_object_access_internals_init() 385 ret_scn_doas->name = elf_strptr(obj->elf, obj->ehdr32->e_shstrndx, in dwarf_elf_object_access_get_section_info() 893 obj->endianness, obj->machine, in loop_through_relocations() 953 if (obj->strtab->dss_index != obj->symtab->dss_link) { in dwarf_elf_object_relocate_a_section() 1120 if (!obj) { in dwarf_elf_object_access_finish() 1134 free(obj); in dwarf_elf_object_access_finish() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_nfs4.c | 2478 dtl_nfsstat4(obj); in dtlres_access() 2502 dtl_nfsstat4(obj); in dtlres_close() 2524 dtl_nfsstat4(obj); in dtlres_commit() 2537 dtl_nfsstat4(obj); in dtlres_create() 2559 dtl_nfsstat4(obj); in dtlres_getattr() 2578 dtl_nfsstat4(obj); in dtlres_cb_getattr() 2604 dtl_nfsstat4(obj); in dtlres_getfh() 2615 dtl_nfsstat4(obj); in dtlres_link() 2646 dtl_nfsstat4(obj); in dtlres_lock() 2674 dtl_nfsstat4(obj); in dtlres_lockt() [all …]
|
/illumos-gate/usr/src/lib/libexacct/common/ |
H A D | exacct_ops.c | 486 ea_object_t *obj, in xget_object() argument 671 obj->eo_next = NULL; in ea_get_object() 683 ea_object_t *obj; in unpack_group() local 734 ea_object_t *obj; in ea_unpack_object() local 758 obj->eo_next = NULL; in ea_unpack_object() 767 if (obj->eo_type == EO_GROUP && unpack_group(&fake, obj, flag) == -1) { in ea_unpack_object() 773 *objp = obj; in ea_unpack_object() 1350 bzero(obj, sizeof (*obj)); in ea_get_object_tree() 1363 first_obj = obj; in ea_get_object_tree() 1368 prev_obj = obj; in ea_get_object_tree() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | multilist.c | 36 multilist_d2l(multilist_t *ml, void *obj) in multilist_d2l() argument 151 multilist_insert(multilist_t *ml, void *obj) in multilist_insert() argument 180 multilist_sublist_insert_head(mls, obj); in multilist_insert() 196 multilist_remove(multilist_t *ml, void *obj) in multilist_remove() argument 216 multilist_sublist_remove(mls, obj); in multilist_remove() 316 list_insert_head(&mls->mls_list, obj); in multilist_sublist_insert_head() 324 list_insert_tail(&mls->mls_list, obj); in multilist_sublist_insert_tail() 352 list_remove(&mls->mls_list, obj); in multilist_sublist_move_forward() 360 list_remove(&mls->mls_list, obj); in multilist_sublist_remove() 381 return (list_next(&mls->mls_list, obj)); in multilist_sublist_next() [all …]
|
/illumos-gate/usr/src/lib/libtnfctl/ |
H A D | sym.c | 123 objlist_t *obj; in _tnfctl_sym_find() local 133 for (obj = hndl->objlist; obj; obj = obj->next) { in _tnfctl_sym_find() 134 if (obj->old == B_TRUE) in _tnfctl_sym_find() 179 for (obj = hndl->objlist; obj; obj = obj->next) { in _tnfctl_sym_obj_find() 180 if (obj->old == B_TRUE) in _tnfctl_sym_obj_find() 183 if (obj->objname == NULL) in _tnfctl_sym_obj_find() 189 str_ptr = obj->objname; in _tnfctl_sym_obj_find() 196 found_obj = obj; in _tnfctl_sym_obj_find() 222 objlist_t *obj; in _tnfctl_sym_findname() local 232 for (obj = hndl->objlist; obj; obj = obj->next) { in _tnfctl_sym_findname() [all …]
|
H A D | probes.c | 271 while (obj) { in _tnfctl_free_objs_and_probes() 273 tmp = obj; in _tnfctl_free_objs_and_probes() 274 obj = obj->next; in _tnfctl_free_objs_and_probes() 296 if (obj->probes) in free_obj_fields() 315 objlist_t *obj; in _tnfctl_probes_traverse() local 321 for (obj = hndl->objlist; obj; obj = obj->next) { in _tnfctl_probes_traverse() 407 objlist_t *obj; in loadobj_find() local 409 for (obj = hndl->objlist; obj; obj = obj->next) { in loadobj_find() 411 return (obj); in loadobj_find() 435 prexstat = _tnfctl_traverse_object(obj->objfd, obj->baseaddr, in get_num_probes() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/ |
H A D | zfs_rename_007_pos.ksh | 62 typeset obj 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 104 log_must diff $SRC_FILE $obj 114 obj=$(target_obj $fsclone) 115 log_must diff $SRC_FILE $obj [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_mv_001_pos.ksh | 58 set -A obj $2 $3 71 log_must mv ${obj[i]} $dst_file 75 log_must mv ${obj[i]} $TESTDIR1 76 dst_acl=$(get_acl $TESTDIR1/${obj[i]}) 95 orig_acl=$(get_acl ${obj[i]}) 96 orig_mode=$(get_mode ${obj[i]}) 100 log_must mv ${obj[i]} $dst_dir 106 log_must mv ${obj[i]} $TESTDIR1 110 $TESTDIR1/${obj[i]}/$nestedfile) 112 $TESTDIR1/${obj[i]}/$nestedfile) [all …]
|
/illumos-gate/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` 111 new_quota=`get_prop quota $obj` 118 if [[ $obj == $TESTPOOL/$TESTFS ]]; then [all …]
|
/illumos-gate/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() 152 Hash_obj *obj; in enterino() local 199 obj->o_tbl = tbl; in enterino() 238 ent->e_obj = obj; in _enterdir() 273 Hash_obj *obj; in enterdir() local 302 obj = ent->e_obj; in enterdir() 367 Hash_obj * obj; in enternoexistdir() local 453 Hash_obj *obj; in enternoexistfile() local 511 Hash_obj *obj; in enterfile() local [all …]
|