/fs/fscache/ |
D | object.c | 148 static inline void fscache_done_parent_op(struct fscache_object *object) in fscache_done_parent_op() argument 150 struct fscache_object *parent = object->parent; in fscache_done_parent_op() 153 object->debug_id, parent->debug_id, parent->n_ops); in fscache_done_parent_op() 166 static void fscache_object_sm_dispatcher(struct fscache_object *object) in fscache_object_sm_dispatcher() argument 174 ASSERT(object != NULL); in fscache_object_sm_dispatcher() 177 object->debug_id, object->state->name, object->events); in fscache_object_sm_dispatcher() 179 event_mask = object->event_mask; in fscache_object_sm_dispatcher() 181 object->event_mask = 0; /* Mask normal event handling */ in fscache_object_sm_dispatcher() 182 state = object->state; in fscache_object_sm_dispatcher() 184 events = object->events; in fscache_object_sm_dispatcher() [all …]
|
D | operation.c | 63 struct fscache_cookie *cookie = op->object->cookie; in fscache_enqueue_operation() 66 op->object->debug_id, op->debug_id, atomic_read(&op->usage)); in fscache_enqueue_operation() 70 ASSERT(fscache_object_is_available(op->object)); in fscache_enqueue_operation() 99 static void fscache_run_op(struct fscache_object *object, in fscache_run_op() argument 105 object->n_in_progress++; in fscache_run_op() 111 trace_fscache_op(object->cookie, op, fscache_op_run); in fscache_run_op() 118 static void fscache_report_unexpected_submission(struct fscache_object *object, in fscache_report_unexpected_submission() argument 131 op->debug_id, object->debug_id, object->state->name); in fscache_report_unexpected_submission() 132 kdebug("objstate=%s [%s]", object->state->name, ostate->name); in fscache_report_unexpected_submission() 133 kdebug("objflags=%lx", object->flags); in fscache_report_unexpected_submission() [all …]
|
D | page.c | 146 static void fscache_end_page_write(struct fscache_object *object, in fscache_end_page_write() argument 152 spin_lock(&object->lock); in fscache_end_page_write() 153 cookie = object->cookie; in fscache_end_page_write() 179 spin_unlock(&object->lock); in fscache_end_page_write() 189 struct fscache_object *object = op->object; in fscache_attr_changed_op() local 192 _enter("{OBJ%x OP%x}", object->debug_id, op->debug_id); in fscache_attr_changed_op() 196 if (fscache_object_is_active(object)) { in fscache_attr_changed_op() 198 ret = object->cache->ops->attr_changed(object); in fscache_attr_changed_op() 201 fscache_abort_object(object); in fscache_attr_changed_op() 216 struct fscache_object *object; in __fscache_attr_changed() local [all …]
|
D | cookie.c | 30 struct fscache_object *object); 34 struct fscache_object *object; in fscache_print_cookie() local 54 object = hlist_entry(o, struct fscache_object, cookie_link); in fscache_print_cookie() 55 pr_err("%c-cookie o=%u\n", prefix, object->debug_id); in fscache_print_cookie() 405 struct fscache_object *object; in fscache_acquire_non_index_cookie() local 451 object = hlist_entry(cookie->backing_objects.first, in fscache_acquire_non_index_cookie() 454 fscache_set_store_limit(object, object_size); in fscache_acquire_non_index_cookie() 458 fscache_raise_event(object, FSCACHE_OBJECT_EV_NEW_CHILD); in fscache_acquire_non_index_cookie() 487 struct fscache_object *object; in fscache_alloc_object() local 493 hlist_for_each_entry(object, &cookie->backing_objects, in fscache_alloc_object() [all …]
|
D | io.c | 31 struct fscache_object *object; in __fscache_begin_read_operation() local 62 object = hlist_entry(cookie->backing_objects.first, in __fscache_begin_read_operation() 66 atomic_inc(&object->n_reads); in __fscache_begin_read_operation() 69 if (fscache_submit_op(object, &op->op) < 0) in __fscache_begin_read_operation() 78 object, &op->op, in __fscache_begin_read_operation() 85 ret = object->cache->ops->begin_read_operation(rreq, op); in __fscache_begin_read_operation() 104 atomic_dec(&object->n_reads); in __fscache_begin_read_operation()
|
D | cache.c | 94 struct fscache_object *object; in fscache_select_cache_for_object() local 110 object = hlist_entry(cookie->backing_objects.first, in fscache_select_cache_for_object() 113 cache = object->cache; in fscache_select_cache_for_object() 114 if (fscache_object_is_dying(object) || in fscache_select_cache_for_object() 327 struct fscache_object *object; in fscache_withdraw_all_objects() local 333 object = list_entry(cache->object_list.next, in fscache_withdraw_all_objects() 335 list_move_tail(&object->cache_link, dying_objects); in fscache_withdraw_all_objects() 337 _debug("withdraw %x", object->cookie->debug_id); in fscache_withdraw_all_objects() 342 fscache_raise_event(object, FSCACHE_OBJECT_EV_KILL); in fscache_withdraw_all_objects()
|
D | internal.h | 285 static inline void fscache_raise_event(struct fscache_object *object, in fscache_raise_event() argument 291 object->debug_id, object->event_mask, (1 << event)); in fscache_raise_event() 293 if (!test_and_set_bit(event, &object->events) && in fscache_raise_event() 294 test_bit(event, &object->event_mask)) in fscache_raise_event() 295 fscache_enqueue_object(object); in fscache_raise_event()
|
D | Makefile | 15 object.o \
|
/fs/cachefiles/ |
D | interface.c | 27 struct cachefiles_object *object; in cachefiles_alloc_object() local 43 object = kmem_cache_alloc(cachefiles_object_jar, cachefiles_gfp); in cachefiles_alloc_object() 44 if (!object) in cachefiles_alloc_object() 47 ASSERTCMP(object->backer, ==, NULL); in cachefiles_alloc_object() 49 BUG_ON(test_bit(CACHEFILES_OBJECT_ACTIVE, &object->flags)); in cachefiles_alloc_object() 50 atomic_set(&object->usage, 1); in cachefiles_alloc_object() 52 fscache_object_init(&object->fscache, cookie, &cache->cache); in cachefiles_alloc_object() 54 object->type = cookie->def->type; in cachefiles_alloc_object() 77 key = cachefiles_cook_key(buffer, keylen + 2, object->type); in cachefiles_alloc_object() 97 object->lookup_data = lookup_data; in cachefiles_alloc_object() [all …]
|
D | namei.c | 27 void __cachefiles_printk_object(struct cachefiles_object *object, in __cachefiles_printk_object() argument 34 pr_err("%sobject: OBJ%x\n", prefix, object->fscache.debug_id); in __cachefiles_printk_object() 36 prefix, object->fscache.state->name, in __cachefiles_printk_object() 37 object->fscache.flags, work_busy(&object->fscache.work), in __cachefiles_printk_object() 38 object->fscache.events, object->fscache.event_mask); in __cachefiles_printk_object() 40 prefix, object->fscache.n_ops, object->fscache.n_in_progress, in __cachefiles_printk_object() 41 object->fscache.n_exclusive); in __cachefiles_printk_object() 43 prefix, object->fscache.parent ? object->fscache.parent->debug_id : 0); in __cachefiles_printk_object() 45 spin_lock(&object->fscache.lock); in __cachefiles_printk_object() 46 cookie = object->fscache.cookie; in __cachefiles_printk_object() [all …]
|
D | rdwr.c | 25 struct cachefiles_object *object; in cachefiles_read_waiter() local 59 object = container_of(op->op.object, struct cachefiles_object, fscache); in cachefiles_read_waiter() 60 spin_lock(&object->work_lock); in cachefiles_read_waiter() 63 spin_unlock(&object->work_lock); in cachefiles_read_waiter() 76 static int cachefiles_read_reissue(struct cachefiles_object *object, in cachefiles_read_reissue() argument 79 struct address_space *bmapping = d_backing_inode(object->backer)->i_mapping; in cachefiles_read_reissue() 84 d_backing_inode(object->backer)->i_ino, in cachefiles_read_reissue() 141 spin_lock_irq(&object->work_lock); in cachefiles_read_reissue() 143 spin_unlock_irq(&object->work_lock); in cachefiles_read_reissue() 155 struct cachefiles_object *object; in cachefiles_read_copier() local [all …]
|
D | xattr.c | 25 int cachefiles_check_object_type(struct cachefiles_object *object) in cachefiles_check_object_type() argument 27 struct dentry *dentry = object->dentry; in cachefiles_check_object_type() 34 if (!object->fscache.cookie) in cachefiles_check_object_type() 37 snprintf(type, 3, "%02x", object->fscache.cookie->def->type); in cachefiles_check_object_type() 39 _enter("%x{%s}", object->fscache.debug_id, type); in cachefiles_check_object_type() 100 int cachefiles_set_object_xattr(struct cachefiles_object *object, in cachefiles_set_object_xattr() argument 103 struct dentry *dentry = object->dentry; in cachefiles_set_object_xattr() 108 _enter("%p,#%d", object, auxdata->len); in cachefiles_set_object_xattr() 113 clear_bit(FSCACHE_COOKIE_AUX_UPDATED, &object->fscache.cookie->flags); in cachefiles_set_object_xattr() 118 object, in cachefiles_set_object_xattr() [all …]
|
D | internal.h | 108 struct cachefiles_object *object; member 165 struct cachefiles_object *object, 168 struct cachefiles_object *object); 170 struct cachefiles_object *object, 227 extern int cachefiles_check_object_type(struct cachefiles_object *object); 228 extern int cachefiles_set_object_xattr(struct cachefiles_object *object, 230 extern int cachefiles_update_object_xattr(struct cachefiles_object *object, 232 extern int cachefiles_check_auxdata(struct cachefiles_object *object); 233 extern int cachefiles_check_object_xattr(struct cachefiles_object *object, 250 #define cachefiles_io_error_obj(object, FMT, ...) \ argument [all …]
|
D | io.c | 272 struct cachefiles_object *object; in cachefiles_prepare_read() local 280 object = container_of(op->op.object, in cachefiles_prepare_read() 282 cache = container_of(object->fscache.cache, in cachefiles_prepare_read() 383 struct cachefiles_object *object; in cachefiles_begin_read_operation() local 390 object = container_of(op->op.object, in cachefiles_begin_read_operation() 392 cache = container_of(object->fscache.cache, in cachefiles_begin_read_operation() 396 path.dentry = object->backer; in cachefiles_begin_read_operation() 398 d_inode(object->backer), cache->cache_cred); in cachefiles_begin_read_operation() 413 rreq->cache_resources.debug_id = object->fscache.debug_id; in cachefiles_begin_read_operation()
|
D | main.c | 43 struct cachefiles_object *object = _object; in cachefiles_object_init_once() local 45 memset(object, 0, sizeof(*object)); in cachefiles_object_init_once() 46 spin_lock_init(&object->work_lock); in cachefiles_object_init_once()
|
/fs/gfs2/ |
D | glock.h | 295 static inline void glock_set_object(struct gfs2_glock *gl, void *object) in glock_set_object() argument 300 gl->gl_object = object; in glock_set_object() 322 static inline void glock_clear_object(struct gfs2_glock *gl, void *object) in glock_clear_object() argument 325 if (gl->gl_object == object) in glock_clear_object()
|
/fs/overlayfs/ |
D | Kconfig | 8 object in the 'upper' filesystem is visible while the object in the 10 merged with the 'upper' object.
|
/fs/jffs2/ |
D | README.Locking | 104 correspondent jffs2_inode_cache object). So, the inocache_lock 158 creating or deleting any xattr related object. 162 when updating such a object is necessary under holding read semaphore.
|
/fs/sysfs/ |
D | Kconfig | 17 /sbin/hotplug uses device and object attributes in sysfs to assist in
|
/fs/ |
D | Kconfig.binfmt | 76 For an unmodified text mapping of an ELF object, including just
|