Home
last modified time | relevance | path

Searched refs:rule_attr (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dbwc.c75 struct mlx5hws_rule_attr rule_attr; in hws_bwc_matcher_move_all_simple() local
83 mlx5hws_bwc_rule_fill_attr(bwc_matcher, 0, 0, &rule_attr); in hws_bwc_matcher_move_all_simple()
90 rule_attr.queue_id = mlx5hws_bwc_get_queue_id(ctx, i); in hws_bwc_matcher_move_all_simple()
96 &rule_attr); in hws_bwc_matcher_move_all_simple()
110 hws_bwc_get_burst_th(ctx, rule_attr.queue_id); in hws_bwc_matcher_move_all_simple()
112 rule_attr.queue_id, in hws_bwc_matcher_move_all_simple()
132 queue = &ctx->send_queue[rule_attr.queue_id]; in hws_bwc_matcher_move_all_simple()
135 rule_attr.queue_id, in hws_bwc_matcher_move_all_simple()
462 struct mlx5hws_rule_attr *rule_attr) in mlx5hws_bwc_rule_fill_attr() argument
467 rule_attr->rule_idx = 0; in mlx5hws_bwc_rule_fill_attr()
[all …]
/linux/security/landlock/
H A Dsyscalls.c318 const void __user *const rule_attr) in add_rule_path_beneath()
326 res = copy_from_user(&path_beneath_attr, rule_attr, in add_rule_path_beneath()
356 const void __user *const rule_attr) in add_rule_net_port()
363 res = copy_from_user(&net_port_attr, rule_attr, sizeof(net_port_attr)); in add_rule_net_port()
393 * @rule_type: Identify the structure type pointed to by @rule_attr:
395 * @rule_attr: Pointer to a rule (matching the @rule_type).
415 * member of @rule_attr is not a file descriptor as expected;
417 * @rule_attr is not the expected file descriptor type;
419 * - %EFAULT: @rule_attr was not a valid address. in SYSCALL_DEFINE4()
423 const void __user *const, rule_attr, cons in SYSCALL_DEFINE4()
315 add_rule_path_beneath(struct landlock_ruleset * const ruleset,const void __user * const rule_attr) add_rule_path_beneath() argument
353 add_rule_net_port(struct landlock_ruleset * ruleset,const void __user * const rule_attr) add_rule_net_port() argument
420 SYSCALL_DEFINE4(landlock_add_rule,const int,ruleset_fd,const enum landlock_rule_type,rule_type,const void __user * const,rule_attr,const __u32,flags) SYSCALL_DEFINE4() argument
[all...]
/linux/tools/testing/selftests/landlock/
H A Dwrappers.h28 const void *const rule_attr, in landlock_add_rule() argument
31 return syscall(__NR_landlock_add_rule, ruleset_fd, rule_type, rule_attr, in landlock_add_rule()
/linux/samples/landlock/
H A Dsandboxer.c43 const void *const rule_attr, in landlock_add_rule() argument
46 return syscall(__NR_landlock_add_rule, ruleset_fd, rule_type, rule_attr, in landlock_add_rule()
/linux/include/linux/
H A Dsyscalls.h987 const void __user *rule_attr, __u32 flags);