/kernel/linux/linux-6.6/net/devlink/ |
H A D | netlink.c | 162 return __devlink_nl_pre_doit(skb, info, ops->internal_flags); in devlink_nl_pre_doit() 264 .internal_flags = DEVLINK_NL_FLAG_NEED_PORT, 286 .internal_flags = DEVLINK_NL_FLAG_NEED_PORT, 293 .internal_flags = DEVLINK_NL_FLAG_NEED_PORT, 304 .internal_flags = DEVLINK_NL_FLAG_NEED_PORT, 323 .internal_flags = DEVLINK_NL_FLAG_NEED_PORT, 330 .internal_flags = DEVLINK_NL_FLAG_NEED_PORT, 409 .internal_flags = DEVLINK_NL_FLAG_NEED_PORT, 417 .internal_flags = DEVLINK_NL_FLAG_NEED_PORT, 443 .internal_flags [all...] |
/kernel/linux/linux-6.6/net/ieee802154/ |
H A D | nl802154.c | 2523 bool rtnl = ops->internal_flags & NL802154_FLAG_NEED_RTNL; in nl802154_pre_doit() 2528 if (ops->internal_flags & NL802154_FLAG_NEED_WPAN_PHY) { in nl802154_pre_doit() 2536 } else if (ops->internal_flags & NL802154_FLAG_NEED_NETDEV || in nl802154_pre_doit() 2537 ops->internal_flags & NL802154_FLAG_NEED_WPAN_DEV) { in nl802154_pre_doit() 2550 if (ops->internal_flags & NL802154_FLAG_NEED_NETDEV) { in nl802154_pre_doit() 2563 if (ops->internal_flags & NL802154_FLAG_CHECK_NETDEV_UP && in nl802154_pre_doit() 2584 if (ops->internal_flags & NL802154_FLAG_NEED_WPAN_DEV) { in nl802154_post_doit() 2593 if (ops->internal_flags & NL802154_FLAG_NEED_RTNL) in nl802154_post_doit() 2606 .internal_flags = NL802154_FLAG_NEED_WPAN_PHY | 2615 .internal_flags [all...] |
/kernel/linux/linux-5.10/net/ieee802154/ |
H A D | nl802154.c | 2170 bool rtnl = ops->internal_flags & NL802154_FLAG_NEED_RTNL; in nl802154_pre_doit() 2175 if (ops->internal_flags & NL802154_FLAG_NEED_WPAN_PHY) { in nl802154_pre_doit() 2183 } else if (ops->internal_flags & NL802154_FLAG_NEED_NETDEV || in nl802154_pre_doit() 2184 ops->internal_flags & NL802154_FLAG_NEED_WPAN_DEV) { in nl802154_pre_doit() 2197 if (ops->internal_flags & NL802154_FLAG_NEED_NETDEV) { in nl802154_pre_doit() 2210 if (ops->internal_flags & NL802154_FLAG_CHECK_NETDEV_UP && in nl802154_pre_doit() 2230 if (ops->internal_flags & NL802154_FLAG_NEED_WPAN_DEV) { in nl802154_post_doit() 2240 if (ops->internal_flags & NL802154_FLAG_NEED_RTNL) in nl802154_post_doit() 2253 .internal_flags = NL802154_FLAG_NEED_WPAN_PHY | 2262 .internal_flags [all...] |
/kernel/linux/linux-5.10/net/batman-adv/ |
H A D | netlink.c | 63 * enum batadv_genl_ops_flags - flags for genl_ops's internal_flags 1279 if (WARN_ON(hweight8(ops->internal_flags & user_ptr1_flags) > 1)) in batadv_pre_doit() 1283 if (WARN_ON((ops->internal_flags & mesh_dep_flags) && in batadv_pre_doit() 1284 (~ops->internal_flags & BATADV_FLAG_NEED_MESH))) in batadv_pre_doit() 1287 if (ops->internal_flags & BATADV_FLAG_NEED_MESH) { in batadv_pre_doit() 1296 if (ops->internal_flags & BATADV_FLAG_NEED_HARDIF) { in batadv_pre_doit() 1306 if (ops->internal_flags & BATADV_FLAG_NEED_VLAN) { in batadv_pre_doit() 1338 if (ops->internal_flags & BATADV_FLAG_NEED_HARDIF && in batadv_post_doit() 1345 if (ops->internal_flags & BATADV_FLAG_NEED_VLAN && info->user_ptr[1]) { in batadv_post_doit() 1350 if (ops->internal_flags in batadv_post_doit() [all...] |
/kernel/linux/linux-6.6/net/batman-adv/ |
H A D | netlink.c | 64 * enum batadv_genl_ops_flags - flags for genl_ops's internal_flags 1284 if (WARN_ON(hweight8(ops->internal_flags & user_ptr1_flags) > 1)) in batadv_pre_doit() 1288 if (WARN_ON((ops->internal_flags & mesh_dep_flags) && in batadv_pre_doit() 1289 (~ops->internal_flags & BATADV_FLAG_NEED_MESH))) in batadv_pre_doit() 1292 if (ops->internal_flags & BATADV_FLAG_NEED_MESH) { in batadv_pre_doit() 1301 if (ops->internal_flags & BATADV_FLAG_NEED_HARDIF) { in batadv_pre_doit() 1311 if (ops->internal_flags & BATADV_FLAG_NEED_VLAN) { in batadv_pre_doit() 1344 if (ops->internal_flags & BATADV_FLAG_NEED_HARDIF && in batadv_post_doit() 1351 if (ops->internal_flags & BATADV_FLAG_NEED_VLAN && info->user_ptr[1]) { in batadv_post_doit() 1356 if (ops->internal_flags in batadv_post_doit() [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | genetlink.h | 154 * @internal_flags: flags used by the family 167 u8 internal_flags; member 175 * @internal_flags: flags used by the family 195 u8 internal_flags; member 203 * @internal_flags: flags used by the family 247 u8 internal_flags; member
|
/kernel/linux/linux-6.6/net/wireless/ |
H A D | nl80211.c | 16461 u32 internal_flags; in nl80211_pre_doit() local 16464 if (WARN_ON(ops->internal_flags >= ARRAY_SIZE(nl80211_internal_flags))) in nl80211_pre_doit() 16467 internal_flags = nl80211_internal_flags[ops->internal_flags]; in nl80211_pre_doit() 16470 if (internal_flags & NL80211_FLAG_NEED_WIPHY) { in nl80211_pre_doit() 16477 } else if (internal_flags & NL80211_FLAG_NEED_NETDEV || in nl80211_pre_doit() 16478 internal_flags & NL80211_FLAG_NEED_WDEV) { in nl80211_pre_doit() 16490 if (internal_flags & NL80211_FLAG_NEED_NETDEV) { in nl80211_pre_doit() 16501 if (internal_flags & NL80211_FLAG_CHECK_NETDEV_UP && in nl80211_pre_doit() 16510 if (internal_flags in nl80211_pre_doit() 16560 u32 internal_flags = nl80211_internal_flags[ops->internal_flags]; nl80211_post_doit() local [all...] |
/kernel/linux/linux-5.10/net/wireless/ |
H A D | nl80211.c | 14616 bool rtnl = ops->internal_flags & NL80211_FLAG_NEED_RTNL; in nl80211_pre_doit() 14621 if (ops->internal_flags & NL80211_FLAG_NEED_WIPHY) { in nl80211_pre_doit() 14629 } else if (ops->internal_flags & NL80211_FLAG_NEED_NETDEV || in nl80211_pre_doit() 14630 ops->internal_flags & NL80211_FLAG_NEED_WDEV) { in nl80211_pre_doit() 14644 if (ops->internal_flags & NL80211_FLAG_NEED_NETDEV) { in nl80211_pre_doit() 14656 if (ops->internal_flags & NL80211_FLAG_CHECK_NETDEV_UP && in nl80211_pre_doit() 14676 if (ops->internal_flags & NL80211_FLAG_NEED_WDEV) { in nl80211_post_doit() 14686 if (ops->internal_flags & NL80211_FLAG_NEED_RTNL) in nl80211_post_doit() 14694 if (ops->internal_flags & NL80211_FLAG_CLEAR_SKB) { in nl80211_post_doit() 14709 .internal_flags [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | genetlink.h | 120 * @internal_flags: flags used by the family 133 u8 internal_flags; member 141 * @internal_flags: flags used by the family 161 u8 internal_flags; member
|
/kernel/linux/linux-5.10/net/core/ |
H A D | devlink.c | 428 if (~ops->internal_flags & DEVLINK_NL_FLAG_NO_LOCK) in devlink_nl_pre_doit() 431 if (ops->internal_flags & DEVLINK_NL_FLAG_NEED_PORT) { in devlink_nl_pre_doit() 438 } else if (ops->internal_flags & DEVLINK_NL_FLAG_NEED_DEVLINK_OR_PORT) { in devlink_nl_pre_doit() 446 if (~ops->internal_flags & DEVLINK_NL_FLAG_NO_LOCK) in devlink_nl_pre_doit() 458 if (~ops->internal_flags & DEVLINK_NL_FLAG_NO_LOCK) in devlink_nl_post_doit() 7612 .internal_flags = DEVLINK_NL_FLAG_NEED_PORT, 7620 .internal_flags = DEVLINK_NL_FLAG_NEED_PORT, 7627 .internal_flags = DEVLINK_NL_FLAG_NO_LOCK, 7634 .internal_flags = DEVLINK_NL_FLAG_NO_LOCK, 7661 .internal_flags [all...] |
/kernel/linux/linux-6.6/net/netlink/ |
H A D | genetlink.c | 188 op->internal_flags = family->small_ops[i].internal_flags; in genl_op_from_small() 287 op->internal_flags = full->internal_flags; in genl_cmd_full_to_split() 615 if (a->internal_flags != b->internal_flags || in genl_validate_ops()
|
/kernel/linux/linux-5.10/net/netlink/ |
H A D | genetlink.c | 147 op->internal_flags = family->small_ops[i].internal_flags; in genl_op_from_small()
|
/kernel/linux/linux-6.6/fs/notify/fanotify/ |
H A D | fanotify_user.c | 1399 unsigned int internal_flags = 0; in SYSCALL_DEFINE2() local 1419 internal_flags |= FANOTIFY_UNPRIV; in SYSCALL_DEFINE2() 1490 group->fanotify_data.flags = flags | internal_flags; in SYSCALL_DEFINE2()
|