Lines Matching refs:ops
70 const struct kobj_ns_type_operations *ops; in create_dir() local
95 ops = kobj_child_ns_ops(kobj); in create_dir()
96 if (ops) { in create_dir()
97 BUG_ON(!kobj_ns_type_is_valid(ops->type)); in create_dir()
98 BUG_ON(!kobj_ns_type_registered(ops->type)); in create_dir()
1024 int kobj_ns_type_register(const struct kobj_ns_type_operations *ops) in kobj_ns_type_register() argument
1026 enum kobj_ns_type type = ops->type; in kobj_ns_type_register()
1040 kobj_ns_ops_tbl[type] = ops; in kobj_ns_type_register()
1061 const struct kobj_ns_type_operations *ops = NULL; in kobj_child_ns_ops() local
1064 ops = parent->ktype->child_ns_type(parent); in kobj_child_ns_ops()
1066 return ops; in kobj_child_ns_ops()