Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/switchdev/
Dswitchdev.c449 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_obj_add()
462 if (check_cb(dev)) { in __switchdev_handle_port_obj_add()
482 check_cb, add_cb); in __switchdev_handle_port_obj_add()
492 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_add()
500 err = __switchdev_handle_port_obj_add(dev, port_obj_info, check_cb, in switchdev_handle_port_obj_add()
510 bool (*check_cb)(const struct net_device *dev), in __switchdev_handle_port_obj_del()
518 if (check_cb(dev)) { in __switchdev_handle_port_obj_del()
537 check_cb, del_cb); in __switchdev_handle_port_obj_del()
547 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_del()
553 err = __switchdev_handle_port_obj_del(dev, port_obj_info, check_cb, in switchdev_handle_port_obj_del()
[all …]
/kernel/linux/linux-5.10/include/net/
Dswitchdev.h287 bool (*check_cb)(const struct net_device *dev),
294 bool (*check_cb)(const struct net_device *dev),
300 bool (*check_cb)(const struct net_device *dev),
371 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_add()
383 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_obj_del()
393 bool (*check_cb)(const struct net_device *dev), in switchdev_handle_port_attr_set()
/kernel/linux/linux-5.10/net/batman-adv/
Dfragmentation.h19 bool (*check_cb)(struct batadv_frag_table_entry *));
Dfragmentation.c62 bool (*check_cb)(struct batadv_frag_table_entry *)) in batadv_frag_purge_orig()
71 if (!check_cb || check_cb(chain)) { in batadv_frag_purge_orig()
/kernel/linux/linux-5.10/fs/dlm/
Dconfig.c131 int *info_field, int (*check_cb)(unsigned int x), in cluster_set()
143 if (check_cb) { in cluster_set()
144 rc = check_cb(x); in cluster_set()
155 #define CLUSTER_ATTR(name, check_cb) \ argument
161 check_cb, buf, len); \