Lines Matching defs:lu_object

60  *     lu_object. Compound layered object --- by struct lu_object_header. Most
61 * interface functions take lu_object as an argument and operate on the
65 * - it's envisaged that lu_object will be used much more often than
100 struct lu_object;
113 * from the parent layer, and should setup at least lu_object::lo_dev
114 * and lu_object::lo_ops fields of resulting lu_object.
142 struct lu_object *(*ldo_object_alloc)(const struct lu_env *env,
198 * Operations specific for particular lu_object.
212 struct lu_object *o,
220 struct lu_object *o);
227 struct lu_object *o);
233 struct lu_object *o);
239 struct lu_object *o);
244 lu_printer_t p, const struct lu_object *o);
249 int (*loo_object_invariant)(const struct lu_object *o);
460 struct lu_object {
600 * lu_object.
669 int lu_object_init (struct lu_object *o,
671 void lu_object_fini (struct lu_object *o);
672 void lu_object_add_top (struct lu_object_header *h, struct lu_object *o);
673 void lu_object_add (struct lu_object *before, struct lu_object *o);
698 static inline void lu_object_get(struct lu_object *o)
713 void lu_object_put(const struct lu_env *env, struct lu_object *o);
714 void lu_object_put_nocache(const struct lu_env *env, struct lu_object *o);
715 void lu_object_unhash(const struct lu_env *env, struct lu_object *o);
721 struct lu_object *lu_object_find(const struct lu_env *env,
724 struct lu_object *lu_object_find_at(const struct lu_env *env,
728 struct lu_object *lu_object_find_slice(const struct lu_env *env,
742 static inline struct lu_object *lu_object_top(struct lu_object_header *h)
745 return container_of0(h->loh_layers.next, struct lu_object, lo_linkage);
751 static inline struct lu_object *lu_object_next(const struct lu_object *o)
753 return container_of0(o->lo_linkage.next, struct lu_object, lo_linkage);
759 static inline const struct lu_fid *lu_object_fid(const struct lu_object *o)
768 lu_object_ops(const struct lu_object *o)
777 struct lu_object *lu_object_locate(struct lu_object_header *h,
815 lu_printer_t printer, const struct lu_object *o);
823 int lu_object_invariant(const struct lu_object *o);
838 static inline int lu_object_assert_exists(const struct lu_object *o)
843 static inline int lu_object_assert_not_exists(const struct lu_object *o)
851 static inline __u32 lu_object_attr(const struct lu_object *o)
857 static inline void lu_object_ref_add(struct lu_object *o,
864 static inline void lu_object_ref_add_at(struct lu_object *o,
872 static inline void lu_object_ref_del(struct lu_object *o,
878 static inline void lu_object_ref_del_at(struct lu_object *o,
918 * lu_context. Execution context for lu_object methods. Currently associated
921 * All lu_object methods, except device and device type methods (called during
930 * lu_object methods mainly use lu_context through lu_context_key interface
1024 * This is only for contexts used internally by lu_object framework.
1323 void lu_object_assign_fid(const struct lu_env *env, struct lu_object *o,
1325 struct lu_object *lu_object_anon(const struct lu_env *env,