• Home
  • Raw
  • Download

Lines Matching refs:action

293 			int action;  member
339 static inline bool flow_action_has_entries(const struct flow_action *action) in flow_action_has_entries() argument
341 return action->num_entries; in flow_action_has_entries()
350 static inline bool flow_offload_has_one_action(const struct flow_action *action) in flow_offload_has_one_action() argument
352 return action->num_entries == 1; in flow_offload_has_one_action()
355 static inline bool flow_action_is_last_entry(const struct flow_action *action, in flow_action_is_last_entry() argument
358 return entry == &action->entries[action->num_entries - 1]; in flow_action_is_last_entry()
367 flow_action_mixed_hw_stats_check(const struct flow_action *action, in flow_action_mixed_hw_stats_check() argument
374 if (flow_offload_has_one_action(action)) in flow_action_mixed_hw_stats_check()
377 flow_action_for_each(i, action_entry, action) { in flow_action_mixed_hw_stats_check()
388 flow_action_first_entry_get(const struct flow_action *action) in flow_action_first_entry_get() argument
390 WARN_ON(!flow_action_has_entries(action)); in flow_action_first_entry_get()
391 return &action->entries[0]; in flow_action_first_entry_get()
395 __flow_action_hw_stats_check(const struct flow_action *action, in __flow_action_hw_stats_check() argument
402 if (!flow_action_has_entries(action)) in __flow_action_hw_stats_check()
404 if (!flow_action_mixed_hw_stats_check(action, extack)) in __flow_action_hw_stats_check()
407 action_entry = flow_action_first_entry_get(action); in __flow_action_hw_stats_check()
425 flow_action_hw_stats_check(const struct flow_action *action, in flow_action_hw_stats_check() argument
429 return __flow_action_hw_stats_check(action, extack, true, allow_bit); in flow_action_hw_stats_check()
433 flow_action_basic_hw_stats_check(const struct flow_action *action, in flow_action_basic_hw_stats_check() argument
436 return __flow_action_hw_stats_check(action, extack, false, 0); in flow_action_basic_hw_stats_check()
441 struct flow_action action; member
714 struct flow_action action; member