tc_bus_match(9)
π tc_bus_match(9) π
okay bestie, welcome to the Kernel API Manual β this page is all about tc_bus_match, and it's giving very specific matchmaker energy for a device structure and a matching TC device ID structure. no cap, it's a tiny function with a very specific job β¨
πΈ NAME πΈ
tc_bus_match β tell if a device structure has a matching TC device ID structure π
β¨ SYNOPSIS β¨
int tc_bus_match (struct device *dev , const struct device_driver *drv
);
π¦ ARGUMENTS π¦
devβ the device structure to match against. this is the one we're checking, bestie π«Άdrvβ the device driver to search for matching TC device ID strings. yes, it's out here looking for its match π
π DESCRIPTION π
so this one is used by a driver to check whether a TC device present in the system is in its list of supported devices. that's the whole plot. it returns 1 if there is a match, or 0 otherwise. iconic binary behavior, honestly π
π SEE ALSO π
- Kernel file
./drivers/tc/tc-driver.c tc_register_driver(9)tc_unregister_driver(9)tc_match_device(9)
mwah π this little page lives under ./drivers/tc and was dated October 2026 β go forth and match those devices, bestie π
π¦ 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