v4l2_device...ll_until_err(9)
π NAME π
okay so this is v4l2_device...ll_until_err(9) from the Kernel API Manual, and itβs giving βgroup-chat organizerβ energy: v4l2_device_mask_call_until_err calls the specified operation for all subdevices where a group ID matches a specified bitmask. no cap, thatβs the whole point. π
π«Ά SYNOPSIS π«Ά
v4l2_device_mask_call_until_err (v4l2_dev , grpmsk , o , f , args... );
π ARGUMENTS π
v4l2_devβ thestruct v4l2_devicethat owns the sub-devices youβre iterating over.grpmskβ the bitmask checked againststruct v4l2_subdev->grp_id, aka the group ID to be matched. use0to match them all.oβ the name of the element atstruct v4l2_subdev_opsthat containsf. each element there groups a set of operations functions.fβ the operation function that will be called ifcondmatches. operation functions are defined in groups, according to each element atstruct v4l2_subdev_ops.argsβ arguments forf.
π₯ DESCRIPTION π₯
if the operation returns an error other than 0 or -ENOIOCTLCMD for any subdevice, then it aborts and returns with that error code. zero otherwise. periodt. β¨
π¨ NOTE π¨
π¨ bestie, listen: subdevs cannot be added or deleted while walking the subdevs list. thatβs the rule. π
π SEE ALSO π
the whole linked squad is: π¦
Kernel file ./include/media/v4l2-device.hstruct v4l2_device(9)v4l2_device_get(9)v4l2_device_put(9)v4l2_device_register(9)v4l2_device_set_name(9)v4l2_device_disconnect(9)v4l2_device_unregister(9)v4l2_device_register_subdev(9)v4l2_device_unregister_subdev(9)__v4l2_device_register_subdev_nodes(9)v4l2_device_register_subdev_nodes(9)v4l2_device_register_ro_subdev_nodes(9)v4l2_subdev_notify(9)v4l2_device_supports_requests(9)v4l2_device_for_each_subdev(9)__v4l2_device_call_subdevs_p(9)__v4l2_device_call_subdevs(9)__v4l2_device_call_subdevs_until_err_p(9)__v4l2_device_call_subdevs_until_err(9)v4l2_device_call_all(9)v4l2_device_call_until_err(9)v4l2_device_mask_call_all(9)v4l2_device_has_op(9)v4l2_device_mask_has_op(9)
and thatβs the tea π
this page comes from ./include/media, dated October 2026, with the footer tag v4l2_device...ll_until_err(9). bye bestie, go slay those subdevices π«Άβ¨
π¦ 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