/illumos-gate/usr/src/lib/krb5/dyn/ |
H A D | dyn_size.c | 19 int DynSize(obj) 20 DynObjectP obj; 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) 29 DynObjectP obj; 31 if (obj->debug) 32 fprintf(stderr, "dyn: capacity: returning cap of %d.\n", obj->size); 34 return obj [all...] |
H A D | dyn_delete.c | 25 int DynDelete(obj, idx) 26 DynObjectP obj; 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 [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 [all...] |
H A D | dyn_insert.c | 19 int DynInsert(obj, idx, els_in, num) 20 DynObjectP obj; 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 [all...] |
H A D | dyn_realloc.c | 23 int _DynResize(obj, req) 24 DynObjectP obj; 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 [all...] |
H A D | dyn_put.c | 20 DynPtr DynArray(obj) 21 DynObjectP obj; 23 if (obj->debug) 25 obj->array); 27 return obj->array; 30 DynPtr DynGet(obj, num) 31 DynObjectP obj; 35 if (obj->debug) 40 if (num >= obj->num_el) { 41 if (obj [all...] |
H A D | dyn_append.c | 22 int DynAppend(obj, els, num) 23 DynObjectP obj; 27 return DynInsert(obj, DynSize(obj), els, num);
|
H A D | dyn_initzero.c | 19 int DynInitzero(obj, state) 20 DynObjectP obj; 23 obj->initzero = state; 25 if (obj->debug)
|
H A D | dyn_paranoid.c | 19 int DynParanoid(obj, state) 20 DynObjectP obj; 23 obj->paranoid = state; 25 if (obj->debug)
|
H A D | dyn_debug.c | 19 int DynDebug(obj, state) 20 DynObjectP obj; 23 obj->debug = state;
|
H A D | dyn.h | 43 #define DynHigh(obj) (DynSize(obj) - 1) 44 #define DynLow(obj) (0) 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, in [all...] |
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_gem.c | 92 struct drm_gem_object *obj, 98 key = obj->name % DRM_GEM_OBJIDR_HASHNODE; 100 entry->obj = obj; 101 entry->handle = obj->name; 102 *handlep = obj->name; 116 return (entry->obj); 176 drm_gem_object_reference(struct drm_gem_object *obj) argument 178 atomic_inc(&obj->refcount); 182 drm_gem_object_unreference(struct drm_gem_object *obj) argument 91 idr_list_get_new_above(struct idr_list *head, struct drm_gem_object *obj, int *handlep) argument 193 drm_gem_object_handle_reference(struct drm_gem_object *obj) argument 200 drm_gem_object_handle_unreference(struct drm_gem_object *obj) argument 260 struct drm_gem_object *obj; local 385 struct drm_gem_object *obj; local 427 drm_gem_handle_create(struct drm_file *file_priv, struct drm_gem_object *obj, int *handlep) argument 460 struct drm_gem_object *obj; local 513 struct drm_gem_object *obj; local 564 struct drm_gem_object *obj; local 617 drm_gem_object_release_handle(struct drm_gem_object *obj) argument 647 drm_gem_object_free(struct drm_gem_object *obj) argument 677 drm_gem_object_handle_free(struct drm_gem_object *obj) argument [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_ls_001_pos.ksh | 76 for obj in $file $dir 79 if [[ -f $obj ]]; then 87 $ls_str $obj | grep $ace_type > /dev/null 2>&1 98 for obj in $file $dir 100 chmod A0+$spec_ace $obj 102 log_must eval "ls -ld -vd $obj | grep "+" > /dev/null" 103 log_must plus_sign_check_v $obj 105 log_must eval "ls -ld -vd $obj | grep $spec_ace > /dev/null" 106 log_must plus_sign_check_l $obj
|
H A D | zfs_acl_mv_001_pos.ksh | 58 set -A obj $2 $3 66 while (( i < ${#obj[*]} )) 68 orig_acl="$(get_acl ${obj[i]})" 69 orig_mode="$(get_mode ${obj[i]})" 71 log_must mv ${obj[i]} $dst_file 75 log_must mv ${obj[i]} $TESTDIR1 76 dst_acl=$(get_acl $TESTDIR1/${obj[i]}) 77 dst_mode=$(get_mode $TESTDIR1/${obj[i]}) 88 while (( i < ${#obj[*]} )) 95 orig_acl=$(get_acl ${obj[ [all...] |
H A D | zfs_acl_cp_001_pos.ksh | 75 for obj in $testfile $testdir; do 82 A0+user:$ZFS_ACL_OTHER1:read_acl:deny $obj 85 [[ -d $obj ]] && cmd_str="cp -rp" 86 log_must usr_exec $cmd_str $obj $dstdir 87 log_must usr_exec $cmd_str $obj $TESTDIR1 90 log_must compare_modes $obj $dir/${obj##*/} 91 log_must compare_acls $obj $dir/${obj##*/}
|
H A D | zfs_acl_find_001_pos.ksh | 55 function find_ls_acl #<opt> <obj> 58 typeset obj=$2 67 if [[ $rst_str == "./$obj" ]]; then 98 for obj in ${f_base}.3 ${d_base}.3 103 log_must chmod ${ops[i]} $obj 110 log_must find_ls_acl $opt $obj 114 if [[ ! -r $obj || ! -w $obj ]]; then 115 log_fail "The added ACEs for $obj cannot be represented in " \ 123 log_must chmod A0- $obj [all...] |
/illumos-gate/usr/src/lib/libast/common/cdt/ |
H A D | dtwalk.c | 39 reg Void_t *obj, *next; local 43 for(obj = dtfirst(dt); obj; ) 46 next = dtnext(dt,obj); 47 if((rv = (*userf)(walk, obj, data )) < 0) 49 obj = next;
|
/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` 110 log_mustnot zfs set reservation=$resv_set_size $obj [all...] |
H A D | reservation_001_pos.sh | 56 for obj in $OBJ_LIST; do 57 datasetexists $obj && log_must zfs destroy -f $obj 90 for obj in $TESTPOOL/$TESTFS $OBJ_LIST; do 101 [[ $obj == $TESTPOOL/$TESTVOL ]] && \ 104 log_must zfs set reservation=$resv_size_set $obj 106 resv_size_get=`get_prop reservation $obj` 112 log_must zero_reservation $obj 114 new_space_avail=`get_prop available $obj`
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | dseng.c | 59 isns_obj_t *obj; local 74 ec = target_load_obj(&prev, &obj, &phase); 75 while (ec == 0 && obj != NULL) { 77 switch (obj->type) { 80 ptype = obj->type; 81 ec = register_object(obj, &puid, NULL); 85 ec = register_object(obj, &puid, NULL); 87 eid_attr = &obj->attrs[ 95 scn_bitmap = &obj->attrs[ATTR_INDEX_ISCSI( 97 scn_name = &obj [all...] |
/illumos-gate/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 [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | reservation_001_neg.ksh | 63 typeset obj=$1 67 orig_resv_val=$(get_prop reservation $obj) 74 reservation=${values[$i]}${suffix[$j]} $obj \ 79 reservation=${values[$i]}${suffix[$j]} $obj" 83 new_resv_val=$(get_prop reservation $obj) 86 log_fail "$obj : reservation values changed " \
|
H A D | version_001_neg.ksh | 62 typeset obj=$1 66 orig_val=$(get_prop version $obj) 69 zfs set version=${values[$i]} $obj > /dev/null 2>&1 71 log_note "zfs set version=${values[$i]} $obj" 75 new_val=$(get_prop version $obj) 78 log_fail "$obj : version values changed " \
|
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_elf_access.h | 50 dwarf_elf_object_access_finish(Dwarf_Obj_Access_Interface* obj );
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_share/ |
H A D | zfs_share_010_neg.ksh | 56 for obj in "" "/$fs"; do 57 log_mustnot eval "zfs share $obj >/dev/null 2>&1"
|