Home
last modified time | relevance | path

Searched refs:cls (Results 1 – 25 of 38) sorted by relevance

12

/f-stack/freebsd/kern/
H A Dsubr_kobj.c109 if (cls->ops) in kobj_class_compile_common()
125 ops->cls = cls; in kobj_class_compile_common()
126 cls->ops = ops; in kobj_class_compile_common()
146 if (cls->ops) { in kobj_class_compile1()
175 cls->refs++; in kobj_class_compile_static()
253 ops = cls->ops; in kobj_class_free()
254 cls->ops = NULL; in kobj_class_free()
268 cls->refs++; in kobj_init_common()
332 kobj_class_t cls = obj->ops->cls; in kobj_delete() local
342 cls->refs--; in kobj_delete()
[all …]
H A Dlinker_if.m134 linker_class_t cls;
139 linker_class_t cls;
/f-stack/dpdk/lib/librte_flow_classify/
H A Drte_flow_classify.c107 if (cls == NULL) { in rte_flow_classify_validate()
135 memset(&cls->ntuple_filter, 0, sizeof(cls->ntuple_filter)); in rte_flow_classify_validate()
279 if (cls == NULL) { in rte_flow_classifier_create()
291 return cls; in rte_flow_classifier_create()
307 if (cls == NULL) { in rte_flow_classifier_free()
322 rte_free(cls); in rte_flow_classifier_free()
331 if (cls == NULL) { in rte_table_check_params()
400 table = &cls->tables[cls->num_tables]; in rte_flow_classify_table_create()
402 cls->num_tables++; in rte_flow_classify_table_create()
569 if (!cls || !rule) in rte_flow_classify_table_entry_delete()
[all …]
H A Drte_flow_classify.h174 rte_flow_classifier_free(struct rte_flow_classifier *cls);
188 rte_flow_classify_table_create(struct rte_flow_classifier *cls,
210 rte_flow_classify_validate(struct rte_flow_classifier *cls,
237 rte_flow_classify_table_entry_add(struct rte_flow_classifier *cls,
256 rte_flow_classify_table_entry_delete(struct rte_flow_classifier *cls,
278 rte_flow_classifier_query(struct rte_flow_classifier *cls,
/f-stack/dpdk/app/test/
H A Dtest_flow_classify.c307 ret = rte_flow_classify_validate(cls->cls, &attr, pattern, in test_valid_parameters()
324 ret = rte_flow_classify_table_entry_delete(cls->cls, rule); in test_valid_parameters()
359 ret = rte_flow_classify_validate(cls->cls, &attr, pattern, in test_invalid_patterns()
375 ret = rte_flow_classify_table_entry_delete(cls->cls, rule); in test_invalid_patterns()
387 ret = rte_flow_classify_validate(cls->cls, &attr, pattern, in test_invalid_patterns()
403 ret = rte_flow_classify_table_entry_delete(cls->cls, rule); in test_invalid_patterns()
435 ret = rte_flow_classify_validate(cls->cls, &attr, pattern, in test_invalid_actions()
451 ret = rte_flow_classify_table_entry_delete(cls->cls, rule); in test_invalid_actions()
647 ret = rte_flow_classify_validate(cls->cls, &attr, pattern, in test_query_udp()
830 cls->cls = rte_flow_classifier_create(&cls_params); in test_flow_classify()
[all …]
/f-stack/dpdk/lib/librte_eal/include/
H A Drte_class.h56 typedef int (*rte_class_cmp_t)(const struct rte_class *cls, const void *data);
100 void rte_class_register(struct rte_class *cls);
110 void rte_class_unregister(struct rte_class *cls);
117 #define RTE_REGISTER_CLASS(nm, cls) \ argument
120 (cls).name = RTE_STR(nm); \
121 rte_class_register(&cls); \
124 #define RTE_UNREGISTER_CLASS(nm, cls) \ argument
127 rte_class_unregister(&cls); \
H A Drte_devargs.h69 struct rte_class *cls; /**< class handle. */ member
H A Drte_dev.h243 struct rte_class *cls; /**< class handle. */ member
/f-stack/dpdk/lib/librte_eal/common/
H A Deal_common_class.c36 struct rte_class *cls; in rte_class_find() local
39 cls = TAILQ_NEXT(start, next); in rte_class_find()
41 cls = TAILQ_FIRST(&rte_class_list); in rte_class_find()
42 while (cls != NULL) { in rte_class_find()
43 if (cmp(cls, data) == 0) in rte_class_find()
45 cls = TAILQ_NEXT(cls, next); in rte_class_find()
47 return cls; in rte_class_find()
H A Deal_common_dev.c579 struct rte_class *cls = NULL; in rte_dev_iterator_init() local
594 cls = devargs.cls; in rte_dev_iterator_init()
609 if (cls != NULL && cls->dev_iterate == NULL) { in rte_dev_iterator_init()
618 it->cls = cls; in rte_dev_iterator_init()
658 if (cls->dev_iterate == NULL) in class_next_dev_cmp()
666 if (it->cls_str != NULL && cls != it->cls) in class_next_dev_cmp()
714 if (it->cls != NULL) in bus_next_dev_cmp()
715 cls = TAILQ_PREV(it->cls, rte_class_list, next); in bus_next_dev_cmp()
716 cls = rte_class_find(cls, class_next_dev_cmp, ctx); in bus_next_dev_cmp()
717 if (cls != NULL) { in bus_next_dev_cmp()
[all …]
H A Deal_common_devargs.c57 struct rte_class *cls = NULL; in rte_devargs_layers_parse() local
128 cls = rte_class_find_by_name(kv->value); in rte_devargs_layers_parse()
129 if (cls == NULL) { in rte_devargs_layers_parse()
146 devargs->cls = cls; in rte_devargs_layers_parse()
284 listed_da->cls = (*da)->cls; in rte_devargs_insert()
/f-stack/freebsd/sys/
H A Dkobj.h86 kobj_class_t cls; member
181 void kobj_class_compile(kobj_class_t cls);
187 void kobj_class_compile_static(kobj_class_t cls, kobj_ops_t ops);
192 void kobj_class_free(kobj_class_t cls);
197 kobj_t kobj_create(kobj_class_t cls,
204 void kobj_init(kobj_t obj, kobj_class_t cls);
205 void kobj_init_static(kobj_t obj, kobj_class_t cls);
231 _ce = kobj_lookup_method(OPS->cls, \
245 _ce = kobj_lookup_method(OPS->cls, \
251 kobj_method_t* kobj_lookup_method(kobj_class_t cls,
/f-stack/dpdk/doc/guides/prog_guide/
H A Dflow_classify_lib.rst62 * @param cls
68 rte_flow_classifier_free(struct rte_flow_classifier *cls);
73 * @param cls
81 rte_flow_classify_table_create(struct rte_flow_classifier *cls,
87 * @param[in] cls
102 rte_flow_classify_validate(struct rte_flow_classifier *cls,
111 * @param[in] cls
138 * @param[in] cls
152 * @param[in] cls
167 rte_flow_classifier_query(struct rte_flow_classifier *cls,
[all …]
/f-stack/tools/libutil/
H A Dlogin_cap.c303 login_getclass(const char *cls) in login_getclass() argument
305 return login_getclassbyname(cls, NULL); in login_getclass()
324 const char *cls = NULL; in login_getpwclass() local
327 cls = pwd->pw_class; in login_getpwclass()
328 if (cls == NULL || *cls == '\0') in login_getpwclass()
329 cls = (pwd->pw_uid == 0) ? LOGIN_DEFROOTCLASS : LOGIN_DEFCLASS; in login_getpwclass()
335 return login_getclassbyname(cls, pwd); in login_getpwclass()
/f-stack/dpdk/examples/flow_classify/
H A Dflow_classify.c69 struct rte_flow_classifier *cls; member
73 struct flow_classifier cls; member
275 ret = rte_flow_classify_table_entry_delete(cls_app->cls, in lcore_main()
317 cls_app->cls, in lcore_main()
635 ret = rte_flow_classify_validate(cls_app->cls, &attr, in add_classify_rule()
644 cls_app->cls, &attr, pattern_ipv4_5tuple, in add_classify_rule()
819 cls_app->cls = rte_flow_classifier_create(&cls_params); in main()
820 if (cls_app->cls == NULL) { in main()
836 ret = rte_flow_classify_table_create(cls_app->cls, &cls_table_params); in main()
838 rte_flow_classifier_free(cls_app->cls); in main()
[all …]
/f-stack/freebsd/mips/broadcom/
H A Dbcm_machdep.c293 bhnd_erom_class_t *cls; in bcm_erom_probe_and_attach() local
296 cls = *clsp; in bcm_erom_probe_and_attach()
299 kobj_class_compile_static(cls, &kops); in bcm_erom_probe_and_attach()
302 result = bhnd_erom_probe(cls, eio, NULL, &pcid); in bcm_erom_probe_and_attach()
305 cls->ops = NULL; in bcm_erom_probe_and_attach()
316 *erom_cls = cls; in bcm_erom_probe_and_attach()
H A Dbcm_nvram_cfevar.h45 bhnd_nvram_data_class **cls);
H A Dbcm_nvram_cfe.c201 bhnd_nvram_data_class **cls) in bcm_nvram_find_cfedev() argument
208 *cls = nvram_cfe_fmts[i]; in bcm_nvram_find_cfedev()
228 result = bhnd_nvram_data_probe(*cls, &iocfe->io); in bcm_nvram_find_cfedev()
/f-stack/freebsd/arm/arm/
H A Dplatform.c116 plat_obj->cls = platp; in platform_probe_and_attach()
214 for (counts = plat_obj->cls->delay_count; counts > 0; counts--) in platform_delay()
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dflow_classify.rst203 struct rte_flow_classifier *cls;
207 struct flow_classifier cls;
219 cls_app->cls = rte_flow_classifier_create(&cls_params);
220 if (cls_app->cls == NULL) {
236 ret = rte_flow_classify_table_create(cls_app->cls, &cls_table_params);
238 rte_flow_classifier_free(cls_app->cls);
239 rte_free(cls);
250 rte_flow_classifier_free(cls_app->cls);
467 cls_app->cls,
/f-stack/freebsd/arm/include/
H A Dplatformvar.h70 struct platform_class *cls; member
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-uart.c123 lcrval.s.cls = CVMX_UART_BITS8; in cvmx_uart_setup2()
/f-stack/dpdk/drivers/crypto/caam_jr/
H A Dcaam_jr_desc.h175 unsigned int cls:2; member
/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dliolib.c530 static void newfenv (lua_State *L, lua_CFunction cls) { in newfenv() argument
532 lua_pushcfunction(L, cls); in newfenv()
/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs_dataset.c1749 prop_changelist_t **cls = NULL; in zfs_prop_set_list() local
1814 if (cls[cl_idx] == NULL) in zfs_prop_set_list()
1819 changelist_haszonedchild(cls[cl_idx])) { in zfs_prop_set_list()
1827 if (cls[cl_idx] != NULL && in zfs_prop_set_list()
1828 (ret = changelist_prefix(cls[cl_idx])) != 0) in zfs_prop_set_list()
1884 if (cls[cl_idx] != NULL) { in zfs_prop_set_list()
1885 int clp_err = changelist_postfix(cls[cl_idx]); in zfs_prop_set_list()
1912 if (cls != NULL) { in zfs_prop_set_list()
1914 if (cls[cl_idx] != NULL) in zfs_prop_set_list()
1915 changelist_free(cls[cl_idx]); in zfs_prop_set_list()
[all …]

12