Home
last modified time | relevance | path

Searched refs:cls (Results 1 - 25 of 185) sorted by relevance

12345678

/kernel/linux/linux-5.10/drivers/base/
H A Dclass.c88 int class_create_file_ns(struct class *cls, const struct class_attribute *attr, in class_create_file_ns() argument
93 if (cls) in class_create_file_ns()
94 error = sysfs_create_file_ns(&cls->p->subsys.kobj, in class_create_file_ns()
101 void class_remove_file_ns(struct class *cls, const struct class_attribute *attr, in class_remove_file_ns() argument
104 if (cls) in class_remove_file_ns()
105 sysfs_remove_file_ns(&cls->p->subsys.kobj, &attr->attr, ns); in class_remove_file_ns()
108 static struct class *class_get(struct class *cls) in class_get() argument
110 if (cls) in class_get()
111 kset_get(&cls->p->subsys); in class_get()
112 return cls; in class_get()
115 class_put(struct class *cls) class_put() argument
141 class_add_groups(struct class *cls, const struct attribute_group **groups) class_add_groups() argument
147 class_remove_groups(struct class *cls, const struct attribute_group **groups) class_remove_groups() argument
153 __class_register(struct class *cls, struct lock_class_key *key) __class_register() argument
204 class_unregister(struct class *cls) class_unregister() argument
211 class_create_release(struct class *cls) class_create_release() argument
234 struct class *cls; __class_create() local
266 class_destroy(struct class *cls) class_destroy() argument
504 struct class_compat *cls; class_compat_register() local
522 class_compat_unregister(struct class_compat *cls) class_compat_unregister() argument
536 class_compat_create_link(struct class_compat *cls, struct device *dev, struct device *device_link) class_compat_create_link() argument
569 class_compat_remove_link(struct class_compat *cls, struct device *dev, struct device *device_link) class_compat_remove_link() argument
[all...]
/test/testfwk/xdevice/src/xdevice/_core/context/
H A Dchannel.py29 def append(cls, command):
30 cls._queue.append(command)
33 def pop(cls, index=-1):
34 return cls._queue.pop(index)
37 def get_last(cls):
38 return cls._queue[-1]
41 def get(cls, index: int):
42 return cls._queue[index]
45 def update(cls, index, command):
46 cls
[all...]
H A Dabs.py78 def __max_command_size__(cls) -> int:
82 def terminate_cmd_exec(cls):
83 cls._is_running = False
84 result = cls._call_terminate()
90 def is_executing(cls):
91 return cls._is_running
95 def _exec_type_(cls) -> list:
116 def _call_terminate(cls):
121 def _reset_environment(cls, environment="", config_file=""):
129 def is_need_auto_retry(cls)
[all...]
H A Dimpl.py63 def add_life_stage_listener(cls, listener: ILifeStageListener):
64 cls._stage_listeners.append(listener)
67 def notify_stage(cls, stage_event: StageEvent):
68 for listener in cls._stage_listeners:
72 def remove_life_stage_listener(cls):
73 cls._stage_listeners.clear()
76 def __max_command_size__(cls) -> int:
80 def _start_auto_retry(cls):
81 if not cls.is_need_auto_retry():
82 cls
[all...]
H A Dsingle.py27 def __call__(cls, *args, **kwargs):
29 if not hasattr(cls, "_instance"):
30 cls._instance = super(SingleType, cls).__call__(*args, **kwargs)
31 return getattr(cls, "_instance")
H A Dupload.py45 def is_enable(cls):
51 def get_session(cls):
55 def upload_task_result(cls, task, error_message=""):
58 task_name = cls.get_session().task_name
86 def upload_module_result(cls, exec_message):
87 proxy = cls.get_session().proxy
98 cls.get_session().task_name = test_name
103 upload_params = cls._get_upload_params(result_file, request)
126 cls.get_session().task_name = ""
129 def upload_unavailable_result(cls, error_ms
[all...]
/test/testfwk/xdevice/src/xdevice/_core/
H A Dinterface.py38 for cls in mro:
39 if method in cls.__dict__:
40 if cls.__dict__[method] is None:
69 def __subclasshook__(cls, class_info):
70 if cls is IDevice:
109 def __subclasshook__(cls, class_info):
110 if cls is IDevice:
125 def check_advance_option(cls, extend_value, **kwargs):
136 def __check_failed__(cls, msg):
163 def __dry_run_execute__(cls, reques
[all...]
H A Dplugin.py107 def __call__(self, cls):
108 if hasattr(cls, _DEFAULT_CONFIG_NAME):
109 raise TypeError(ErrorMessage.InterfaceImplement.Code_0102002.format(_DEFAULT_CONFIG_NAME, cls.__name__))
110 setattr(cls, _DEFAULT_CONFIG_NAME, Config(self.params))
112 init_func = getattr(cls, "__init__", None)
116 raise TypeError(ErrorMessage.InterfaceImplement.Code_0102003.format(cls.__name__))
118 if hasattr(cls, "get_plugin_config"):
119 raise TypeError(ErrorMessage.InterfaceImplement.Code_0102004.format("get_plugin_config", cls.__name__))
123 return getattr(cls, _DEFAULT_CONFIG_NAME)
125 setattr(cls, "get_plugin_confi
[all...]
/kernel/linux/linux-6.6/drivers/base/
H A Dclass.c129 int class_create_file_ns(const struct class *cls, const struct class_attribute *attr, in class_create_file_ns() argument
132 struct subsys_private *sp = class_to_subsys(cls); in class_create_file_ns()
145 void class_remove_file_ns(const struct class *cls, const struct class_attribute *attr, in class_remove_file_ns() argument
148 struct subsys_private *sp = class_to_subsys(cls); in class_remove_file_ns()
178 int class_register(const struct class *cls) in class_register() argument
184 pr_debug("device class '%s': registering\n", cls->name); in class_register()
195 error = kobject_set_name(&cp->subsys.kobj, "%s", cls->name); in class_register()
203 cp->class = cls; in class_register()
209 error = sysfs_create_groups(&cp->subsys.kobj, cls->class_groups); in class_register()
224 void class_unregister(const struct class *cls) in class_unregister() argument
239 class_create_release(const struct class *cls) class_create_release() argument
259 struct class *cls; class_create() local
290 class_destroy(const struct class *cls) class_destroy() argument
559 struct class_compat *cls; class_compat_register() local
577 class_compat_unregister(struct class_compat *cls) class_compat_unregister() argument
591 class_compat_create_link(struct class_compat *cls, struct device *dev, struct device *device_link) class_compat_create_link() argument
624 class_compat_remove_link(struct class_compat *cls, struct device *dev, struct device *device_link) class_compat_remove_link() argument
[all...]
/kernel/linux/linux-6.6/scripts/
H A Drust_is_available_test.py27 def generate_executable(cls, content):
28 path = pathlib.Path(cls.tempdir.name)
37 def generate_clang(cls, stdout):
38 return cls.generate_executable(f"""#!/usr/bin/env python3
41 print({repr("Clang " + " ".join(cls.llvm_default_version.split(" ")))})
47 def generate_rustc(cls, stdout):
48 return cls.generate_executable(f"""#!/usr/bin/env python3
51 print({repr(cls.rust_default_sysroot)})
57 def generate_bindgen(cls, version_stdout, libclang_stderr):
58 return cls
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_u32.c46 struct tc_cls_u32_offload *cls, in fill_match_fields()
55 for (i = 0; i < cls->knode.sel->nkeys; i++) { in fill_match_fields()
56 off = cls->knode.sel->keys[i].off; in fill_match_fields()
57 val = cls->knode.sel->keys[i].val; in fill_match_fields()
58 mask = cls->knode.sel->keys[i].mask; in fill_match_fields()
62 if (!cls->knode.sel->keys[i].offmask) in fill_match_fields()
66 if (cls->knode.sel->keys[i].offmask) in fill_match_fields()
92 struct tc_cls_u32_offload *cls) in fill_action_fields()
99 exts = cls->knode.exts; in fill_action_fields()
149 int cxgb4_config_knode(struct net_device *dev, struct tc_cls_u32_offload *cls) in cxgb4_config_knode() argument
44 fill_match_fields(struct adapter *adap, struct ch_filter_specification *fs, struct tc_cls_u32_offload *cls, const struct cxgb4_match_field *entry, bool next_header) fill_match_fields() argument
90 fill_action_fields(struct adapter *adap, struct ch_filter_specification *fs, struct tc_cls_u32_offload *cls) fill_action_fields() argument
352 cxgb4_delete_knode(struct net_device *dev, struct tc_cls_u32_offload *cls) cxgb4_delete_knode() argument
[all...]
H A Dcxgb4_tc_matchall.c12 struct tc_cls_matchall_offload *cls) in cxgb4_matchall_egress_validate()
14 struct netlink_ext_ack *extack = cls->common.extack; in cxgb4_matchall_egress_validate()
15 struct flow_action *actions = &cls->rule->action; in cxgb4_matchall_egress_validate()
121 struct tc_cls_matchall_offload *cls) in cxgb4_matchall_alloc_tc()
134 struct netlink_ext_ack *extack = cls->common.extack; in cxgb4_matchall_alloc_tc()
145 flow_action_for_each(i, entry, &cls->rule->action) in cxgb4_matchall_alloc_tc()
167 tc_port_matchall->egress.cookie = cls->cookie; in cxgb4_matchall_alloc_tc()
192 struct tc_cls_matchall_offload *cls) in cxgb4_matchall_mirror_alloc()
194 struct netlink_ext_ack *extack = cls->common.extack; in cxgb4_matchall_mirror_alloc()
203 flow_action_for_each(i, act, &cls in cxgb4_matchall_mirror_alloc()
11 cxgb4_matchall_egress_validate(struct net_device *dev, struct tc_cls_matchall_offload *cls) cxgb4_matchall_egress_validate() argument
120 cxgb4_matchall_alloc_tc(struct net_device *dev, struct tc_cls_matchall_offload *cls) cxgb4_matchall_alloc_tc() argument
191 cxgb4_matchall_mirror_alloc(struct net_device *dev, struct tc_cls_matchall_offload *cls) cxgb4_matchall_mirror_alloc() argument
251 cxgb4_matchall_add_filter(struct net_device *dev, struct tc_cls_matchall_offload *cls, u8 filter_type) cxgb4_matchall_add_filter() argument
299 cxgb4_matchall_alloc_filter(struct net_device *dev, struct tc_cls_matchall_offload *cls) cxgb4_matchall_alloc_filter() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_u32.c46 struct tc_cls_u32_offload *cls, in fill_match_fields()
55 for (i = 0; i < cls->knode.sel->nkeys; i++) { in fill_match_fields()
56 off = cls->knode.sel->keys[i].off; in fill_match_fields()
57 val = cls->knode.sel->keys[i].val; in fill_match_fields()
58 mask = cls->knode.sel->keys[i].mask; in fill_match_fields()
62 if (!cls->knode.sel->keys[i].offmask) in fill_match_fields()
66 if (cls->knode.sel->keys[i].offmask) in fill_match_fields()
92 struct tc_cls_u32_offload *cls) in fill_action_fields()
99 exts = cls->knode.exts; in fill_action_fields()
149 int cxgb4_config_knode(struct net_device *dev, struct tc_cls_u32_offload *cls) in cxgb4_config_knode() argument
44 fill_match_fields(struct adapter *adap, struct ch_filter_specification *fs, struct tc_cls_u32_offload *cls, const struct cxgb4_match_field *entry, bool next_header) fill_match_fields() argument
90 fill_action_fields(struct adapter *adap, struct ch_filter_specification *fs, struct tc_cls_u32_offload *cls) fill_action_fields() argument
352 cxgb4_delete_knode(struct net_device *dev, struct tc_cls_u32_offload *cls) cxgb4_delete_knode() argument
[all...]
H A Dcxgb4_tc_matchall.c52 struct tc_cls_matchall_offload *cls) in cxgb4_matchall_egress_validate()
54 struct netlink_ext_ack *extack = cls->common.extack; in cxgb4_matchall_egress_validate()
55 struct flow_action *actions = &cls->rule->action; in cxgb4_matchall_egress_validate()
165 struct tc_cls_matchall_offload *cls) in cxgb4_matchall_alloc_tc()
178 struct netlink_ext_ack *extack = cls->common.extack; in cxgb4_matchall_alloc_tc()
189 flow_action_for_each(i, entry, &cls->rule->action) in cxgb4_matchall_alloc_tc()
193 ret = cxgb4_policer_validate(&cls->rule->action, entry, extack); in cxgb4_matchall_alloc_tc()
215 tc_port_matchall->egress.cookie = cls->cookie; in cxgb4_matchall_alloc_tc()
240 struct tc_cls_matchall_offload *cls) in cxgb4_matchall_mirror_alloc()
242 struct netlink_ext_ack *extack = cls in cxgb4_matchall_mirror_alloc()
51 cxgb4_matchall_egress_validate(struct net_device *dev, struct tc_cls_matchall_offload *cls) cxgb4_matchall_egress_validate() argument
164 cxgb4_matchall_alloc_tc(struct net_device *dev, struct tc_cls_matchall_offload *cls) cxgb4_matchall_alloc_tc() argument
239 cxgb4_matchall_mirror_alloc(struct net_device *dev, struct tc_cls_matchall_offload *cls) cxgb4_matchall_mirror_alloc() argument
299 cxgb4_matchall_add_filter(struct net_device *dev, struct tc_cls_matchall_offload *cls, u8 filter_type) cxgb4_matchall_add_filter() argument
347 cxgb4_matchall_alloc_filter(struct net_device *dev, struct tc_cls_matchall_offload *cls) cxgb4_matchall_alloc_filter() argument
[all...]
/kernel/linux/linux-5.10/fs/cifs/
H A Dasn1.c157 unsigned int *cls, unsigned int *con, unsigned int *tag) in asn1_id_decode()
164 *cls = (ch & 0xC0) >> 6; in asn1_id_decode()
214 unsigned int *cls, unsigned int *con, unsigned int *tag) in asn1_header_decode()
219 if (!asn1_id_decode(ctx, cls, con, tag)) in asn1_header_decode()
490 unsigned int cls, con, tag, oidlen, rc; in decode_negTokenInit() local
497 if (asn1_header_decode(&ctx, &end, &cls, &con, &tag) == 0) { in decode_negTokenInit()
500 } else if ((cls != ASN1_APL) || (con != ASN1_CON) in decode_negTokenInit()
502 cifs_dbg(FYI, "cls = %d con = %d tag = %d\n", cls, con, tag); in decode_negTokenInit()
507 rc = asn1_header_decode(&ctx, &end, &cls, in decode_negTokenInit()
156 asn1_id_decode(struct asn1_ctx *ctx, unsigned int *cls, unsigned int *con, unsigned int *tag) asn1_id_decode() argument
212 asn1_header_decode(struct asn1_ctx *ctx, unsigned char **eoc, unsigned int *cls, unsigned int *con, unsigned int *tag) asn1_header_decode() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_tc.c29 struct tc_cls_u32_offload *cls, in tc_find_entry()
33 u32 loc = cls->knode.handle; in tc_find_entry()
59 struct tc_cls_u32_offload *cls) in tc_fill_actions()
66 exts = cls->knode.exts; in tc_fill_actions()
92 struct tc_cls_u32_offload *cls) in tc_fill_entry()
95 struct tc_u32_sel *sel = cls->knode.sel; in tc_fill_entry()
97 u32 prio = cls->common.prio << 16; in tc_fill_entry()
108 switch (ntohs(cls->common.protocol)) { in tc_fill_entry()
124 entry = tc_find_entry(priv, cls, true); in tc_fill_entry()
129 frag = tc_find_entry(priv, cls, tru in tc_fill_entry()
28 tc_find_entry(struct stmmac_priv *priv, struct tc_cls_u32_offload *cls, bool free) tc_find_entry() argument
57 tc_fill_actions(struct stmmac_tc_entry *entry, struct stmmac_tc_entry *frag, struct tc_cls_u32_offload *cls) tc_fill_actions() argument
91 tc_fill_entry(struct stmmac_priv *priv, struct tc_cls_u32_offload *cls) tc_fill_entry() argument
171 tc_unfill_entry(struct stmmac_priv *priv, struct tc_cls_u32_offload *cls) tc_unfill_entry() argument
188 tc_config_knode(struct stmmac_priv *priv, struct tc_cls_u32_offload *cls) tc_config_knode() argument
209 tc_delete_knode(struct stmmac_priv *priv, struct tc_cls_u32_offload *cls) tc_delete_knode() argument
219 tc_setup_cls_u32(struct stmmac_priv *priv, struct tc_cls_u32_offload *cls) tc_setup_cls_u32() argument
458 tc_add_basic_flow(struct stmmac_priv *priv, struct flow_cls_offload *cls, struct stmmac_flow_entry *entry) tc_add_basic_flow() argument
476 tc_add_ip4_flow(struct stmmac_priv *priv, struct flow_cls_offload *cls, struct stmmac_flow_entry *entry) tc_add_ip4_flow() argument
511 tc_add_ports_flow(struct stmmac_priv *priv, struct flow_cls_offload *cls, struct stmmac_flow_entry *entry) tc_add_ports_flow() argument
560 tc_find_flow(struct stmmac_priv *priv, struct flow_cls_offload *cls, bool get_free) tc_find_flow() argument
587 tc_add_flow(struct stmmac_priv *priv, struct flow_cls_offload *cls) tc_add_flow() argument
618 tc_del_flow(struct stmmac_priv *priv, struct flow_cls_offload *cls) tc_del_flow() argument
641 tc_find_rfs(struct stmmac_priv *priv, struct flow_cls_offload *cls, bool get_free) tc_find_rfs() argument
661 tc_add_vlan_flow(struct stmmac_priv *priv, struct flow_cls_offload *cls) tc_add_vlan_flow() argument
712 tc_del_vlan_flow(struct stmmac_priv *priv, struct flow_cls_offload *cls) tc_del_vlan_flow() argument
732 tc_add_ethtype_flow(struct stmmac_priv *priv, struct flow_cls_offload *cls) tc_add_ethtype_flow() argument
804 tc_del_ethtype_flow(struct stmmac_priv *priv, struct flow_cls_offload *cls) tc_del_ethtype_flow() argument
840 tc_add_flow_cls(struct stmmac_priv *priv, struct flow_cls_offload *cls) tc_add_flow_cls() argument
856 tc_del_flow_cls(struct stmmac_priv *priv, struct flow_cls_offload *cls) tc_del_flow_cls() argument
872 tc_setup_cls(struct stmmac_priv *priv, struct flow_cls_offload *cls) tc_setup_cls() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Ddynamic_debug.h163 #define DEFINE_DYNAMIC_DEBUG_METADATA_CLS(name, cls, fmt) \
172 .class_id = cls, \
175 BUILD_BUG_ON_MSG(cls > _DPRINTK_CLASS_DFLT, \
221 #define __dynamic_func_call_cls(id, cls, fmt, func, ...) do { \
222 DEFINE_DYNAMIC_DEBUG_METADATA_CLS(id, cls, fmt); \
230 #define __dynamic_func_call_cls_no_desc(id, cls, fmt, func, ...) do { \
231 DEFINE_DYNAMIC_DEBUG_METADATA_CLS(id, cls, fmt); \
247 #define _dynamic_func_call_cls(cls, fmt, func, ...) \
248 __dynamic_func_call_cls(__UNIQUE_ID(ddebug), cls, fmt, func, ##__VA_ARGS__)
257 #define _dynamic_func_call_cls_no_desc(cls, fm
[all...]
/test/testfwk/xdevice/src/xdevice/_core/report/
H A Dsuite_reporter.py223 def update_attributes(cls, case_result, test_case_attributes,
285 def clear_report_result(cls):
288 cls.suite_report_result.clear()
291 def clear_failed_case_list(cls):
294 cls.failed_case_list.clear()
297 def append_report_result(cls, report_result):
303 for index, exist_result in enumerate(cls.suite_report_result):
306 cls.suite_report_result[index] = report_result
308 cls.suite_report_result.append(report_result)
309 cls
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_tc.c29 struct tc_cls_u32_offload *cls, in tc_find_entry()
33 u32 loc = cls->knode.handle; in tc_find_entry()
59 struct tc_cls_u32_offload *cls) in tc_fill_actions()
66 exts = cls->knode.exts; in tc_fill_actions()
92 struct tc_cls_u32_offload *cls) in tc_fill_entry()
95 struct tc_u32_sel *sel = cls->knode.sel; in tc_fill_entry()
97 u32 prio = cls->common.prio << 16; in tc_fill_entry()
108 switch (ntohs(cls->common.protocol)) { in tc_fill_entry()
124 entry = tc_find_entry(priv, cls, true); in tc_fill_entry()
129 frag = tc_find_entry(priv, cls, tru in tc_fill_entry()
28 tc_find_entry(struct stmmac_priv *priv, struct tc_cls_u32_offload *cls, bool free) tc_find_entry() argument
57 tc_fill_actions(struct stmmac_tc_entry *entry, struct stmmac_tc_entry *frag, struct tc_cls_u32_offload *cls) tc_fill_actions() argument
91 tc_fill_entry(struct stmmac_priv *priv, struct tc_cls_u32_offload *cls) tc_fill_entry() argument
171 tc_unfill_entry(struct stmmac_priv *priv, struct tc_cls_u32_offload *cls) tc_unfill_entry() argument
188 tc_config_knode(struct stmmac_priv *priv, struct tc_cls_u32_offload *cls) tc_config_knode() argument
209 tc_delete_knode(struct stmmac_priv *priv, struct tc_cls_u32_offload *cls) tc_delete_knode() argument
225 tc_setup_cls_u32(struct stmmac_priv *priv, struct tc_cls_u32_offload *cls) tc_setup_cls_u32() argument
423 tc_add_basic_flow(struct stmmac_priv *priv, struct flow_cls_offload *cls, struct stmmac_flow_entry *entry) tc_add_basic_flow() argument
440 tc_add_ip4_flow(struct stmmac_priv *priv, struct flow_cls_offload *cls, struct stmmac_flow_entry *entry) tc_add_ip4_flow() argument
475 tc_add_ports_flow(struct stmmac_priv *priv, struct flow_cls_offload *cls, struct stmmac_flow_entry *entry) tc_add_ports_flow() argument
524 tc_find_flow(struct stmmac_priv *priv, struct flow_cls_offload *cls, bool get_free) tc_find_flow() argument
551 tc_add_flow(struct stmmac_priv *priv, struct flow_cls_offload *cls) tc_add_flow() argument
584 tc_del_flow(struct stmmac_priv *priv, struct flow_cls_offload *cls) tc_del_flow() argument
607 tc_setup_cls(struct stmmac_priv *priv, struct flow_cls_offload *cls) tc_setup_cls() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch-flower.c11 static int dpaa2_switch_flower_parse_key(struct flow_cls_offload *cls, in dpaa2_switch_flower_parse_key() argument
14 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in dpaa2_switch_flower_parse_key()
16 struct netlink_ext_ack *extack = cls->common.extack; in dpaa2_switch_flower_parse_key()
491 struct flow_cls_offload *cls) in dpaa2_switch_cls_flower_replace_acl()
493 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in dpaa2_switch_cls_flower_replace_acl()
494 struct netlink_ext_ack *extack = cls->common.extack; in dpaa2_switch_cls_flower_replace_acl()
509 err = dpaa2_switch_flower_parse_key(cls, &acl_entry->key); in dpaa2_switch_cls_flower_replace_acl()
519 acl_entry->prio = cls->common.prio; in dpaa2_switch_cls_flower_replace_acl()
520 acl_entry->cookie = cls->cookie; in dpaa2_switch_cls_flower_replace_acl()
534 static int dpaa2_switch_flower_parse_mirror_key(struct flow_cls_offload *cls, in dpaa2_switch_flower_parse_mirror_key() argument
490 dpaa2_switch_cls_flower_replace_acl(struct dpaa2_switch_filter_block *block, struct flow_cls_offload *cls) dpaa2_switch_cls_flower_replace_acl() argument
577 dpaa2_switch_cls_flower_replace_mirror(struct dpaa2_switch_filter_block *block, struct flow_cls_offload *cls) dpaa2_switch_cls_flower_replace_mirror() argument
642 dpaa2_switch_cls_flower_replace(struct dpaa2_switch_filter_block *block, struct flow_cls_offload *cls) dpaa2_switch_cls_flower_replace() argument
668 dpaa2_switch_cls_flower_destroy(struct dpaa2_switch_filter_block *block, struct flow_cls_offload *cls) dpaa2_switch_cls_flower_destroy() argument
691 dpaa2_switch_cls_matchall_replace_acl(struct dpaa2_switch_filter_block *block, struct tc_cls_matchall_offload *cls) dpaa2_switch_cls_matchall_replace_acl() argument
731 dpaa2_switch_cls_matchall_replace_mirror(struct dpaa2_switch_filter_block *block, struct tc_cls_matchall_offload *cls) dpaa2_switch_cls_matchall_replace_mirror() argument
788 dpaa2_switch_cls_matchall_replace(struct dpaa2_switch_filter_block *block, struct tc_cls_matchall_offload *cls) dpaa2_switch_cls_matchall_replace() argument
864 dpaa2_switch_cls_matchall_destroy(struct dpaa2_switch_filter_block *block, struct tc_cls_matchall_offload *cls) dpaa2_switch_cls_matchall_destroy() argument
[all...]
/test/testfwk/xdevice/plugins/devicetest/controllers/tools/
H A Dscreen_agent.py49 def get_instance(cls, _device):
61 def remove_instance(cls, _device):
68 def get_screenshot_dir(cls):
73 def get_take_picture_path(cls, _device, picture_name,
81 folder = cls.get_screenshot_dir()
113 def screen_take_picture(cls, args, result, _ta=None, is_raise_exception=True):
118 def _do_capture(cls, _device, link, path, title, ext=".png"):
128 cls.compress_image(path)
135 '</a>'.format(link, path, cls.resize_image(path), title, link))
139 def __screen_and_save_picture(cls, _devic
[all...]
/kernel/linux/linux-5.10/scripts/gdb/linux/
H A Ddevice.py78 def class_for_each_device(cls):
79 for kn in klist_for_each(cls['p']['klist_devices']):
125 for cls in for_each_class():
126 gdb.write("class {}:\t{}\n".format(cls['name'].string(), cls))
127 for dev in class_for_each_device(cls):
130 cls = get_class_by_name(arg)
131 for dev in class_for_each_device(cls):
170 def invoke(self, cls, name):
172 cls
[all...]
/kernel/linux/linux-6.6/scripts/gdb/linux/
H A Ddevice.py78 def class_for_each_device(cls):
79 for kn in klist_for_each(cls['klist_devices']):
125 for cls in for_each_class():
126 gdb.write("class {}:\t{}\n".format(cls['class']['name'].string(), cls))
127 for dev in class_for_each_device(cls):
130 cls = get_class_by_name(arg)
131 for dev in class_for_each_device(cls):
170 def invoke(self, cls, name):
172 cls
[all...]
/test/testfwk/xdevice/plugins/devicetest/utils/
H A Dtime_util.py68 def get_formated_datetime(cls, time_value=None):
88 def get_formated_datetime_name(cls, time_val=None):
103 for _str in cls.get_formated_datetime(time_val).timetuple()[:6]:
108 def convert_formated_name(cls, convert_time,
119 def get_now_datetime(cls, time_format="%Y%m%d%H%M%S%f"):
130 def get_timeout_value(cls):
140 def get_formated_time(cls, time_format='%Y-%m-%d %H:%M:%S'):
149 def get_interval_timestamp(cls, start_format_time, end_format_time,
/test/testfwk/developer_test/src/core/command/
H A Dconsole.py61 def __new__(cls, *args, **kwargs):
62 if cls.__instance is None:
63 cls.__instance = super(Console, cls).__new__(cls, *args, **kwargs)
64 return cls.__instance
93 def argument_parser(cls, para_list):
265 cls._params_pre_processing(para_list)
267 cls._params_post_processing(options)
286 def _params_pre_processing(cls, para_lis
[all...]

Completed in 12 milliseconds

12345678