Query: sysfs_schedule_callback
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SYSFS_SCHEDULE_CALLB(9) The Filesystem for Exporting K SYSFS_SCHEDULE_CALLB(9)NAMEsysfs_schedule_callback - helper to schedule a callback for a kobjectSYNOPSISint sysfs_schedule_callback(struct kobject * kobj, void (*func) (void *), void * data, struct module * owner);ARGUMENTSkobj object we're acting for. func callback function to invoke later. data argument to pass to func. owner module owning the callback codeDESCRIPTIONsysfs attribute methods must not unregister themselves or their parent kobject (which would amount to the same thing). Attempts to do so will deadlock, since unregistration is mutually exclusive with driver callbacks. Instead methods can call this routine, which will attempt to allocate and schedule a workqueue request to call back func with data as its argument in the workqueue's process context. kobj will be pinned until func returns. Returns 0 if the request was submitted, -ENOMEM if storage could not be allocated, -ENODEV if a reference to owner isn't available, -EAGAIN if a callback has already been scheduled for kobj.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SYSFS_SCHEDULE_CALLB(9)
Related Man Pages |
---|
glutidlefunc(3glut) - mojave |
glutidlefunc(3glut) - suse |
device_schedule_callback_owner(9) - suse |
workqueue_create(9) - netbsd |
glutidlefunc(3glut) - osx |
Similar Topics in the Unix Linux Community |
---|
Set hard block limit for user using quota |
Best performance UNIX just for HOST Virtualization? |
Tar Command |
CentOS7 restoring file capabilities |
CentOS 6 ran out of space, need to reclaim it |