batadv_set_l...ep_class_one(9)
π batadv_set_l...ep_class_one(9) β from the Kernel API Manual, bestie π
okay so picture this: you're deep in the kernel, you've got a device, you've got queues, and somebody needs to tell lockdep which class each queue belongs to. that's it. that's the whole function. it's giving tiny-but-essential, and honestly? iconic. β¨
πΈ NAME πΈ
batadv_set_lockdep_class_one β set the lockdep class for a single tx queue, one queue at a time, no cap π¦
π SYNOPSIS π
void batadv_set_lockdep_class_one (struct net_device *dev , struct netdev_queue *txq , void *_unused );
like, that's the whole signature. she's short, she's sweet, she returns void because she is not here to give you answers π
π ARGUMENTS π
devβ the device that owns the tx queue. it's the main character here, the one whose queue we're about to touch. πtxqβ the actual tx queue to modify. this is the glow-up target, bestie. π_unusedβ alwaysNULL. literally always. it's there for the callback shape, it is not doing anything, and we respect that about it. π
π¦ SEE ALSO π¦
okay this is the part where I list literally everyone in the group chat, because the whole squad lives in the kernel file ./net/batman-adv/mesh-interface.c and they're all linked here, and yes I'm listing every single one because loyalty is everything:
batadv_skb_head_push(9)batadv_sum_counter(9)batadv_interface_stats(9)batadv_interface_set_mac_addr(9)batadv_interface_change_mtu(9)batadv_interface_set_rx_mode(9)batadv_interface_tx(9)batadv_interface_rx(9)batadv_meshif_vlan_release(9)batadv_meshif_vlan_get(9)batadv_meshif_create_vlan(9)batadv_meshif_destroy_vlan(9)batadv_interface_add_vid(9)batadv_interface_kill_vid(9)batadv_set_lockdep_class(9)batadv_meshif_init_late(9)batadv_meshif_slave_add(9)batadv_meshif_slave_del(9)batadv_get_drvinfo(9)batadv_get_strings(9)batadv_get_ethtool_stats(9)batadv_get_sset_count(9)batadv_meshif_free(9)batadv_meshif_init_early(9)batadv_meshif_validate(9)batadv_meshif_newlink(9)batadv_meshif_destroy_netlink(9)batadv_meshif_is_valid(9)
like, the whole friend group fr fr π
ngl bestie, if you got here from the_onevariant, you probably want the non-_onebatadv_set_lockdep_class(9)too β she's right there in the list above, go say hi π«Ά
β that's the page! this little number ships out of ./net/batman-adv, dated October 2026, filed under batadv_set_l...ep_class_one(9) in the Kernel API Manual β slay, bye! ππΈβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms