Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 3 of 3) sorted by relevance

/lib/
Dtextsearch.c141 int textsearch_register(struct ts_ops *ops) in textsearch_register() argument
146 if (ops->name == NULL || ops->find == NULL || ops->init == NULL || in textsearch_register()
147 ops->get_pattern == NULL || ops->get_pattern_len == NULL) in textsearch_register()
152 if (!strcmp(ops->name, o->name)) in textsearch_register()
156 list_add_tail_rcu(&ops->list, &ts_ops); in textsearch_register()
175 int textsearch_unregister(struct ts_ops *ops) in textsearch_unregister() argument
182 if (o == ops) { in textsearch_unregister()
265 struct ts_ops *ops; in textsearch_prepare() local
270 ops = lookup_ts_algo(algo); in textsearch_prepare()
277 if (ops == NULL && flags & TS_AUTOLOAD) { in textsearch_prepare()
[all …]
Dkobject_uevent.c92 const struct kobj_ns_type_operations *ops; in kobj_bcast_filter() local
94 ops = kobj_ns_ops(kobj); in kobj_bcast_filter()
95 if (ops) { in kobj_bcast_filter()
98 sock_ns = ops->netlink_ns(dsk); in kobj_bcast_filter()
108 const struct kobj_ns_type_operations *ops; in kobj_usermode_filter() local
110 ops = kobj_ns_ops(kobj); in kobj_usermode_filter()
111 if (ops) { in kobj_usermode_filter()
114 init_ns = ops->initial_ns(); in kobj_usermode_filter()
Dkobject.c864 int kobj_ns_type_register(const struct kobj_ns_type_operations *ops) in kobj_ns_type_register() argument
866 enum kobj_ns_type type = ops->type; in kobj_ns_type_register()
884 kobj_ns_ops_tbl[type] = ops; in kobj_ns_type_register()
905 const struct kobj_ns_type_operations *ops = NULL; in kobj_child_ns_ops() local
908 ops = parent->ktype->child_ns_type(parent); in kobj_child_ns_ops()
910 return ops; in kobj_child_ns_ops()