Home
last modified time | relevance | path

Searched refs:object (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/linux-2.6.39/arch/parisc/math-emu/
Dfloat.h61 #define Sall(object) (object) argument
62 #define Ssign(object) Bitfield_extract( 0, 1,object) argument
63 #define Ssignedsign(object) Bitfield_signed_extract( 0, 1,object) argument
64 #define Sexponent(object) Bitfield_extract( 1, 8,object) argument
65 #define Smantissa(object) Bitfield_mask( 9, 23,object) argument
66 #define Ssignaling(object) Bitfield_extract( 9, 1,object) argument
67 #define Ssignalingnan(object) Bitfield_extract( 1, 9,object) argument
68 #define Shigh2mantissa(object) Bitfield_extract( 9, 2,object) argument
69 #define Sexponentmantissa(object) Bitfield_mask( 1, 31,object) argument
70 #define Ssignexponent(object) Bitfield_extract( 0, 9,object) argument
[all …]
Dfpbits.h53 #define Bitfield_extract(start, length, object) \ argument
54 ((object) >> (HOSTWDSZ - (start) - (length)) & \
57 #define Bitfield_signed_extract(start, length, object) \ argument
58 ((int)((object) << start) >> (HOSTWDSZ - (length)))
60 #define Bitfield_mask(start, len, object) \ argument
61 ((object) & (((unsigned)-1 >> (HOSTWDSZ-len)) << (HOSTWDSZ-start-len)))
63 #define Bitfield_deposit(value,start,len,object) object = \ argument
64 ((object) & ~(((unsigned)-1 >> (HOSTWDSZ-len)) << (HOSTWDSZ-start-len))) | \
/linux-2.6.39/fs/fscache/
Dobject.c66 static inline void fscache_done_parent_op(struct fscache_object *object) in fscache_done_parent_op() argument
68 struct fscache_object *parent = object->parent; in fscache_done_parent_op()
71 object->debug_id, parent->debug_id, parent->n_ops); in fscache_done_parent_op()
89 static void fscache_object_state_machine(struct fscache_object *object) in fscache_object_state_machine() argument
94 ASSERT(object != NULL); in fscache_object_state_machine()
97 object->debug_id, fscache_object_states[object->state], in fscache_object_state_machine()
98 object->events); in fscache_object_state_machine()
100 switch (object->state) { in fscache_object_state_machine()
103 object->event_mask = in fscache_object_state_machine()
105 fscache_initialise_object(object); in fscache_object_state_machine()
[all …]
Doperation.c34 op->object->debug_id, op->debug_id, atomic_read(&op->usage)); in fscache_enqueue_operation()
40 ASSERTCMP(op->object->state, >=, FSCACHE_OBJECT_AVAILABLE); in fscache_enqueue_operation()
66 static void fscache_run_op(struct fscache_object *object, in fscache_run_op() argument
71 object->n_in_progress++; in fscache_run_op()
84 int fscache_submit_exclusive_op(struct fscache_object *object, in fscache_submit_exclusive_op() argument
89 _enter("{OBJ%x OP%x},", object->debug_id, op->debug_id); in fscache_submit_exclusive_op()
93 spin_lock(&object->lock); in fscache_submit_exclusive_op()
94 ASSERTCMP(object->n_ops, >=, object->n_in_progress); in fscache_submit_exclusive_op()
95 ASSERTCMP(object->n_ops, >=, object->n_exclusive); in fscache_submit_exclusive_op()
99 if (fscache_object_is_active(object)) { in fscache_submit_exclusive_op()
[all …]
Dcookie.c28 struct fscache_object *object);
148 struct fscache_object *object; in fscache_acquire_non_index_cookie() local
201 object = hlist_entry(cookie->backing_objects.first, in fscache_acquire_non_index_cookie()
204 fscache_set_store_limit(object, i_size); in fscache_acquire_non_index_cookie()
208 fscache_enqueue_object(object); in fscache_acquire_non_index_cookie()
239 struct fscache_object *object; in fscache_alloc_object() local
246 hlist_for_each_entry(object, _n, &cookie->backing_objects, in fscache_alloc_object()
248 if (object->cache == cache) in fscache_alloc_object()
256 object = cache->ops->alloc_object(cache, cookie); in fscache_alloc_object()
258 if (IS_ERR(object)) { in fscache_alloc_object()
[all …]
Dpage.c118 static void fscache_end_page_write(struct fscache_object *object, in fscache_end_page_write() argument
124 spin_lock(&object->lock); in fscache_end_page_write()
125 cookie = object->cookie; in fscache_end_page_write()
140 spin_unlock(&object->lock); in fscache_end_page_write()
150 struct fscache_object *object = op->object; in fscache_attr_changed_op() local
153 _enter("{OBJ%x OP%x}", object->debug_id, op->debug_id); in fscache_attr_changed_op()
157 if (fscache_object_is_active(object)) { in fscache_attr_changed_op()
160 ret = object->cache->ops->attr_changed(object); in fscache_attr_changed_op()
164 fscache_abort_object(object); in fscache_attr_changed_op()
176 struct fscache_object *object; in __fscache_attr_changed() local
[all …]
/linux-2.6.39/drivers/acpi/acpica/
Dutdelete.c54 static void acpi_ut_delete_internal_obj(union acpi_operand_object *object);
57 acpi_ut_update_ref_count(union acpi_operand_object *object, u32 action);
72 static void acpi_ut_delete_internal_obj(union acpi_operand_object *object) in acpi_ut_delete_internal_obj() argument
80 ACPI_FUNCTION_TRACE_PTR(ut_delete_internal_obj, object); in acpi_ut_delete_internal_obj()
82 if (!object) { in acpi_ut_delete_internal_obj()
90 switch (object->common.type) { in acpi_ut_delete_internal_obj()
94 "**** String %p, ptr %p\n", object, in acpi_ut_delete_internal_obj()
95 object->string.pointer)); in acpi_ut_delete_internal_obj()
99 if (!(object->common.flags & AOPOBJ_STATIC_POINTER)) { in acpi_ut_delete_internal_obj()
103 obj_pointer = object->string.pointer; in acpi_ut_delete_internal_obj()
[all …]
Dnsobject.c74 union acpi_operand_object *object, acpi_object_type type) in acpi_ns_attach_object() argument
93 if (!object && (ACPI_TYPE_ANY != type)) { in acpi_ns_attach_object()
113 if (node->object == object) { in acpi_ns_attach_object()
116 object, node)); in acpi_ns_attach_object()
123 if (!object) { in acpi_ns_attach_object()
132 else if ((ACPI_GET_DESCRIPTOR_TYPE(object) == ACPI_DESC_TYPE_NAMED) && in acpi_ns_attach_object()
133 ((struct acpi_namespace_node *)object)->object) { in acpi_ns_attach_object()
138 obj_desc = ((struct acpi_namespace_node *)object)->object; in acpi_ns_attach_object()
139 object_type = ((struct acpi_namespace_node *)object)->type; in acpi_ns_attach_object()
147 obj_desc = (union acpi_operand_object *)object; in acpi_ns_attach_object()
[all …]
Ddsmthdat.c61 union acpi_operand_object *object,
146 if (walk_state->local_variables[index].object) { in acpi_ds_method_data_delete_all()
150 object)); in acpi_ds_method_data_delete_all()
162 if (walk_state->arguments[index].object) { in acpi_ds_method_data_delete_all()
165 walk_state->arguments[index].object)); in acpi_ds_method_data_delete_all()
315 union acpi_operand_object *object, in acpi_ds_method_data_set_value() argument
324 "NewObj %p Type %2.2X, Refs=%u [%s]\n", object, in acpi_ds_method_data_set_value()
325 type, object->common.reference_count, in acpi_ds_method_data_set_value()
326 acpi_ut_get_type_name(object->common.type))); in acpi_ds_method_data_set_value()
341 acpi_ut_add_reference(object); in acpi_ds_method_data_set_value()
[all …]
Dutdecode.c313 char *acpi_ut_get_node_name(void *object) in acpi_ut_get_node_name() argument
315 struct acpi_namespace_node *node = (struct acpi_namespace_node *)object; in acpi_ut_get_node_name()
319 if (!object) { in acpi_ut_get_node_name()
325 if ((object == ACPI_ROOT_OBJECT) || (object == acpi_gbl_root_node)) { in acpi_ut_get_node_name()
379 char *acpi_ut_get_descriptor_name(void *object) in acpi_ut_get_descriptor_name() argument
382 if (!object) { in acpi_ut_get_descriptor_name()
386 if (ACPI_GET_DESCRIPTOR_TYPE(object) > ACPI_DESC_TYPE_MAX) { in acpi_ut_get_descriptor_name()
392 (object)])); in acpi_ut_get_descriptor_name()
420 const char *acpi_ut_get_reference_name(union acpi_operand_object *object) in acpi_ut_get_reference_name() argument
423 if (!object) { in acpi_ut_get_reference_name()
[all …]
Dutobject.c93 union acpi_operand_object *object; in acpi_ut_create_internal_object_dbg() local
101 object = in acpi_ut_create_internal_object_dbg()
104 if (!object) { in acpi_ut_create_internal_object_dbg()
119 acpi_ut_delete_object_desc(object); in acpi_ut_create_internal_object_dbg()
128 object->common.next_object = second_object; in acpi_ut_create_internal_object_dbg()
138 object->common.type = (u8) type; in acpi_ut_create_internal_object_dbg()
142 object->common.reference_count = 1; in acpi_ut_create_internal_object_dbg()
146 return_PTR(object); in acpi_ut_create_internal_object_dbg()
334 u8 acpi_ut_valid_internal_object(void *object) in acpi_ut_valid_internal_object() argument
341 if (!object) { in acpi_ut_valid_internal_object()
[all …]
/linux-2.6.39/mm/
Dkmemleak.c284 struct kmemleak_object *object) in hex_dump_object() argument
286 const u8 *ptr = (const u8 *)object->pointer; in hex_dump_object()
292 min(object->size, (size_t)(HEX_MAX_LINES * HEX_ROW_SIZE)); in hex_dump_object()
316 static bool color_white(const struct kmemleak_object *object) in color_white() argument
318 return object->count != KMEMLEAK_BLACK && in color_white()
319 object->count < object->min_count; in color_white()
322 static bool color_gray(const struct kmemleak_object *object) in color_gray() argument
324 return object->min_count != KMEMLEAK_BLACK && in color_gray()
325 object->count >= object->min_count; in color_gray()
333 static bool unreferenced_object(struct kmemleak_object *object) in unreferenced_object() argument
[all …]
/linux-2.6.39/fs/cachefiles/
Dinterface.c34 struct cachefiles_object *object; in cachefiles_alloc_object() local
50 object = kmem_cache_alloc(cachefiles_object_jar, GFP_KERNEL); in cachefiles_alloc_object()
51 if (!object) in cachefiles_alloc_object()
54 ASSERTCMP(object->backer, ==, NULL); in cachefiles_alloc_object()
56 BUG_ON(test_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)); in cachefiles_alloc_object()
57 atomic_set(&object->usage, 1); in cachefiles_alloc_object()
59 fscache_object_init(&object->fscache, cookie, &cache->cache); in cachefiles_alloc_object()
61 object->type = cookie->def->type; in cachefiles_alloc_object()
80 key = cachefiles_cook_key(buffer, keylen + 2, object->type); in cachefiles_alloc_object()
98 object->lookup_data = lookup_data; in cachefiles_alloc_object()
[all …]
Dnamei.c31 void __cachefiles_printk_object(struct cachefiles_object *object, in __cachefiles_printk_object() argument
39 prefix, object->fscache.debug_id); in __cachefiles_printk_object()
41 prefix, fscache_object_states[object->fscache.state], in __cachefiles_printk_object()
42 object->fscache.flags, work_busy(&object->fscache.work), in __cachefiles_printk_object()
43 object->fscache.events, in __cachefiles_printk_object()
44 object->fscache.event_mask & FSCACHE_OBJECT_EVENTS_MASK); in __cachefiles_printk_object()
46 prefix, object->fscache.n_ops, object->fscache.n_in_progress, in __cachefiles_printk_object()
47 object->fscache.n_exclusive); in __cachefiles_printk_object()
49 prefix, object->fscache.parent); in __cachefiles_printk_object()
51 spin_lock(&object->fscache.lock); in __cachefiles_printk_object()
[all …]
Dxattr.c29 int cachefiles_check_object_type(struct cachefiles_object *object) in cachefiles_check_object_type() argument
31 struct dentry *dentry = object->dentry; in cachefiles_check_object_type()
38 if (!object->fscache.cookie) in cachefiles_check_object_type()
41 snprintf(type, 3, "%02x", object->fscache.cookie->def->type); in cachefiles_check_object_type()
43 _enter("%p{%s}", object, type); in cachefiles_check_object_type()
106 int cachefiles_set_object_xattr(struct cachefiles_object *object, in cachefiles_set_object_xattr() argument
109 struct dentry *dentry = object->dentry; in cachefiles_set_object_xattr()
112 ASSERT(object->fscache.cookie); in cachefiles_set_object_xattr()
115 _enter("%p,#%d", object, auxdata->len); in cachefiles_set_object_xattr()
118 _debug("SET %s #%u", object->fscache.cookie->def->name, auxdata->len); in cachefiles_set_object_xattr()
[all …]
Drdwr.c28 struct cachefiles_object *object; in cachefiles_read_waiter() local
55 object = container_of(monitor->op->op.object, in cachefiles_read_waiter()
58 spin_lock(&object->work_lock); in cachefiles_read_waiter()
60 spin_unlock(&object->work_lock); in cachefiles_read_waiter()
73 static int cachefiles_read_reissue(struct cachefiles_object *object, in cachefiles_read_reissue() argument
76 struct address_space *bmapping = object->backer->d_inode->i_mapping; in cachefiles_read_reissue()
81 object->backer->d_inode->i_ino, in cachefiles_read_reissue()
137 spin_lock_irq(&object->work_lock); in cachefiles_read_reissue()
139 spin_unlock_irq(&object->work_lock); in cachefiles_read_reissue()
151 struct cachefiles_object *object; in cachefiles_read_copier() local
[all …]
/linux-2.6.39/sound/pci/asihpi/
Dhpimsginit.c37 static void hpi_init_message(struct hpi_message *phm, u16 object, in hpi_init_message() argument
41 if ((object > 0) && (object <= HPI_OBJ_MAXINDEX)) in hpi_init_message()
42 phm->size = msg_size[object]; in hpi_init_message()
50 phm->object = object; in hpi_init_message()
60 void hpi_init_response(struct hpi_response *phr, u16 object, u16 function, in hpi_init_response() argument
65 if ((object > 0) && (object <= HPI_OBJ_MAXINDEX)) in hpi_init_response()
66 phr->size = res_size[object]; in hpi_init_response()
69 phr->object = object; in hpi_init_response()
77 struct hpi_response *phr, u16 object, u16 function) in hpi_init_message_response() argument
79 hpi_init_message(phm, object, function); in hpi_init_message_response()
[all …]
/linux-2.6.39/include/linux/
Dfscache-cache.h81 struct fscache_object *object; /* object to be operated upon */ member
225 int (*lookup_object)(struct fscache_object *object);
228 void (*lookup_complete)(struct fscache_object *object);
231 struct fscache_object *(*grab_object)(struct fscache_object *object);
234 int (*pin_object)(struct fscache_object *object);
237 void (*unpin_object)(struct fscache_object *object);
240 void (*update_object)(struct fscache_object *object);
244 void (*drop_object)(struct fscache_object *object);
247 void (*put_object)(struct fscache_object *object);
254 int (*attr_changed)(struct fscache_object *object);
[all …]
/linux-2.6.39/arch/powerpc/boot/
Dwrapper50 object=arch/powerpc/boot
51 objbin=$object
102 object="$1"
125 if [ ! -r "$dts" -a -r "$object/dts/$dts" ]; then
126 dts="$object/dts/$dts"
138 platformo=$object/"$platform".o
139 lds=$object/zImage.lds
149 platformo=$object/of.o
153 platformo=$object/of.o
157 platformo=$object/of.o
[all …]
/linux-2.6.39/drivers/gpu/drm/
Ddrm_global.c38 void *object; member
51 item->object = NULL; in drm_global_init()
61 BUG_ON(item->object != NULL); in drm_global_release()
70 void *object; in drm_global_item_ref() local
74 item->object = kzalloc(ref->size, GFP_KERNEL); in drm_global_item_ref()
75 if (unlikely(item->object == NULL)) { in drm_global_item_ref()
80 ref->object = item->object; in drm_global_item_ref()
87 ref->object = item->object; in drm_global_item_ref()
88 object = item->object; in drm_global_item_ref()
93 item->object = NULL; in drm_global_item_ref()
[all …]
/linux-2.6.39/arch/arm/mm/
Dproc-arm7tdmi.S62 .type arm7tdmi_processor_functions, #object
80 .type cpu_arch_name, #object
85 .type cpu_elf_name, #object
90 .type cpu_arm7tdmi_name, #object
95 .type cpu_triscenda7_name, #object
100 .type cpu_at91_name, #object
105 .type cpu_s3c3410_name, #object
110 .type cpu_s3c44b0x_name, #object
115 .type cpu_s3c4510b, #object
120 .type cpu_s3c4530_name, #object
[all …]
/linux-2.6.39/Documentation/filesystems/caching/
Dobject.txt25 FS-Cache maintains an in-kernel representation of each object that a netfs is
40 correspond, but the cookies tree is a superset of the union of the object trees
96 Within FS-Cache, each active object is managed by its own individual state
97 machine. The state for an object is kept in the fscache_object struct, in
98 object->state. A cookie may point to a set of objects that are in different
105 representations are hierarchical, and it is expected that an object must
106 be created or accessed with respect to its parent object.
121 which it is interested (object->event_mask) and relinquish the worker thread.
123 is not masked, the object will be queued for processing (by calling
147 Because only one worker thread may be operating on any particular object's
[all …]
Dbackend-api.txt47 (*) "fsdef" which should point to the object representation for the FS-Cache
49 here. FS-Cache keeps the caller's reference to the index object if
117 The fields that might be of use to the backend describe the object
119 The object definition contain functions supplied by the netfs for loading
124 (*) In-cache object representation:
140 the case of CacheFS, they're embedded in CacheFS's internal object
144 that refer to a particular object. In such a case it should be printed
147 Each object contains a pointer to the cookie that represents the object it
148 is backing. An object should retired when put_object() is called if it is
150 initialised by calling fscache_object_init(object).
[all …]
/linux-2.6.39/drivers/input/touchscreen/
Datmel_mxt_ts.c434 struct mxt_object *object; in mxt_get_object() local
438 object = data->object_table + i; in mxt_get_object()
439 if (object->type == type) in mxt_get_object()
440 return object; in mxt_get_object()
450 struct mxt_object *object; in mxt_read_message() local
453 object = mxt_get_object(data, MXT_GEN_MESSAGE); in mxt_read_message()
454 if (!object) in mxt_read_message()
457 reg = object->start_address; in mxt_read_message()
465 struct mxt_object *object; in mxt_read_object() local
468 object = mxt_get_object(data, type); in mxt_read_object()
[all …]
/linux-2.6.39/net/tipc/
Dref.c48 void *object; member
154 u32 tipc_ref_acquire(void *object, spinlock_t **lock) in tipc_ref_acquire() argument
162 if (!object) { in tipc_ref_acquire()
198 entry->object = object; in tipc_ref_acquire()
233 if (!entry->object) { in tipc_ref_discard()
247 entry->object = NULL; in tipc_ref_discard()
275 if (likely((entry->ref == ref) && (entry->object))) in tipc_ref_lock()
276 return entry->object; in tipc_ref_lock()
296 return entry->object; in tipc_ref_deref()

12345678910>>...12