Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 25 of 478) sorted by relevance

12345678910>>...20

/titanic_41/usr/src/lib/krb5/dyn/
H A Ddyn_delete.c25 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 Ddyn_insert.c19 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 Ddyn_create.c31 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 Ddyn_put.c20 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 Ddyn_realloc.c23 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 Ddyn.h43 #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 …]
/titanic_41/usr/src/uts/common/io/drm/
H A Ddrm_gem.c92 struct drm_gem_object *obj, in idr_list_get_new_above() argument
98 key = obj->name % DRM_GEM_OBJIDR_HASHNODE; in idr_list_get_new_above()
100 entry->obj = obj; in idr_list_get_new_above()
101 entry->handle = obj->name; in idr_list_get_new_above()
102 *handlep = obj->name; in idr_list_get_new_above()
116 return (entry->obj); in idr_list_find()
176 drm_gem_object_reference(struct drm_gem_object *obj) in drm_gem_object_reference() argument
178 atomic_inc(&obj->refcount); in drm_gem_object_reference()
182 drm_gem_object_unreference(struct drm_gem_object *obj) in drm_gem_object_unreference() argument
184 if (obj == NULL) in drm_gem_object_unreference()
[all …]
/titanic_41/usr/src/uts/intel/io/drm/
H A Di915_gem.c58 i915_gem_object_set_to_gpu_domain(struct drm_gem_object *obj,
61 static void i915_gem_object_flush_gpu_write_domain(struct drm_gem_object *obj);
62 static void i915_gem_object_flush_gtt_write_domain(struct drm_gem_object *obj);
63 static void i915_gem_object_flush_cpu_write_domain(struct drm_gem_object *obj);
64 static int i915_gem_object_set_to_gtt_domain(struct drm_gem_object *obj,
66 static int i915_gem_object_set_to_cpu_domain(struct drm_gem_object *obj,
68 static int i915_gem_object_set_cpu_read_domain_range(struct drm_gem_object *obj,
71 static void i915_gem_object_set_to_full_cpu_read_domain(struct drm_gem_object *obj);
72 static void i915_gem_object_free_page_list(struct drm_gem_object *obj);
73 static int i915_gem_object_wait_rendering(struct drm_gem_object *obj);
[all …]
/titanic_41/usr/src/cmd/perl/contrib/Sun/Solaris/BSM/
H A D_BSMparse.pm49 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_41/usr/src/cmd/isns/isnsd/
H A Ddseng.c59 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 Dobj.c360 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_41/usr/src/cmd/abi/appcert/static_prof/
H A Dstatic_prof.c115 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_41/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dobj_mgr.c501 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 …]
/titanic_41/usr/src/lib/libbsm/
H A Dauditxml.pm37 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_41/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_elf_access.c140 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_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nfs4.c91 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_41/usr/src/lib/libast/amd64/src/lib/libast/
H A Dast_common.h123 # define __EXTERN__(T,obj) extern T obj; T* _imp__ ## obj = &obj argument
124 # define __DEFINE__(T,obj,val) T obj = val; T* _imp__ ## obj = &obj argument
126 # define __EXTERN__(T,obj) extern T obj; T* _imp__/**/obj = &obj argument
127 # define __DEFINE__(T,obj,val) T obj = val; T* _imp__/**/obj = &obj argument
130 # define __EXTERN__(T,obj) extern T obj argument
131 # define __DEFINE__(T,obj,val) T obj = val argument
/titanic_41/usr/src/lib/libast/amd64/include/ast/
H A Dast_common.h144 # define __EXTERN__(T,obj) extern T obj; T* _imp__ ## obj = &obj argument
145 # define __DEFINE__(T,obj,val) T obj = val; T* _imp__ ## obj = &obj argument
147 # define __EXTERN__(T,obj) extern T obj; T* _imp__/**/obj = &obj argument
148 # define __DEFINE__(T,obj,val) T obj = val; T* _imp__/**/obj = &obj argument
151 # define __EXTERN__(T,obj) extern T obj argument
152 # define __DEFINE__(T,obj,val) T obj = val argument
/titanic_41/usr/src/lib/libast/sparc/include/ast/
H A Dast_common.h144 # define __EXTERN__(T,obj) extern T obj; T* _imp__ ## obj = &obj argument
145 # define __DEFINE__(T,obj,val) T obj = val; T* _imp__ ## obj = &obj argument
147 # define __EXTERN__(T,obj) extern T obj; T* _imp__/**/obj = &obj argument
148 # define __DEFINE__(T,obj,val) T obj = val; T* _imp__/**/obj = &obj argument
151 # define __EXTERN__(T,obj) extern T obj argument
152 # define __DEFINE__(T,obj,val) T obj = val argument
/titanic_41/usr/src/lib/libast/sparcv9/include/ast/
H A Dast_common.h144 # define __EXTERN__(T,obj) extern T obj; T* _imp__ ## obj = &obj argument
145 # define __DEFINE__(T,obj,val) T obj = val; T* _imp__ ## obj = &obj argument
147 # define __EXTERN__(T,obj) extern T obj; T* _imp__/**/obj = &obj argument
148 # define __DEFINE__(T,obj,val) T obj = val; T* _imp__/**/obj = &obj argument
151 # define __EXTERN__(T,obj) extern T obj argument
152 # define __DEFINE__(T,obj,val) T obj = val argument
/titanic_41/usr/src/lib/libast/sparcv9/src/lib/libast/
H A Dast_common.h123 # define __EXTERN__(T,obj) extern T obj; T* _imp__ ## obj = &obj argument
124 # define __DEFINE__(T,obj,val) T obj = val; T* _imp__ ## obj = &obj argument
126 # define __EXTERN__(T,obj) extern T obj; T* _imp__/**/obj = &obj argument
127 # define __DEFINE__(T,obj,val) T obj = val; T* _imp__/**/obj = &obj argument
130 # define __EXTERN__(T,obj) extern T obj argument
131 # define __DEFINE__(T,obj,val) T obj = val argument
/titanic_41/usr/src/lib/libast/i386/src/lib/libast/
H A Dast_common.h123 # define __EXTERN__(T,obj) extern T obj; T* _imp__ ## obj = &obj argument
124 # define __DEFINE__(T,obj,val) T obj = val; T* _imp__ ## obj = &obj argument
126 # define __EXTERN__(T,obj) extern T obj; T* _imp__/**/obj = &obj argument
127 # define __DEFINE__(T,obj,val) T obj = val; T* _imp__/**/obj = &obj argument
130 # define __EXTERN__(T,obj) extern T obj argument
131 # define __DEFINE__(T,obj,val) T obj = val argument
/titanic_41/usr/src/lib/libast/i386/include/ast/
H A Dast_common.h144 # define __EXTERN__(T,obj) extern T obj; T* _imp__ ## obj = &obj argument
145 # define __DEFINE__(T,obj,val) T obj = val; T* _imp__ ## obj = &obj argument
147 # define __EXTERN__(T,obj) extern T obj; T* _imp__/**/obj = &obj argument
148 # define __DEFINE__(T,obj,val) T obj = val; T* _imp__/**/obj = &obj argument
151 # define __EXTERN__(T,obj) extern T obj argument
152 # define __DEFINE__(T,obj,val) T obj = val argument
/titanic_41/usr/src/lib/libast/sparc/src/lib/libast/
H A Dast_common.h123 # define __EXTERN__(T,obj) extern T obj; T* _imp__ ## obj = &obj argument
124 # define __DEFINE__(T,obj,val) T obj = val; T* _imp__ ## obj = &obj argument
126 # define __EXTERN__(T,obj) extern T obj; T* _imp__/**/obj = &obj argument
127 # define __DEFINE__(T,obj,val) T obj = val; T* _imp__/**/obj = &obj argument
130 # define __EXTERN__(T,obj) extern T obj argument
131 # define __DEFINE__(T,obj,val) T obj = val argument
/titanic_41/usr/src/lib/libexacct/common/
H A Dexacct_ops.c319 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 …]

12345678910>>...20