Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpio/gpiolib-sysfs.c gpiofind_sysfs_register() -> gpiochip_sysfs_register()

Type Parameter Key Value
PARAM_VALUE 0 gc 1-u64max
DATA_SOURCE 0 gc $0
STR_LEN 0 gc (-1),17,32
STR_LEN 0 gc (-1),17,32
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/gpio/gpiolib.c gpiochip_setup_dev() -> gpiochip_sysfs_register()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
PARAM_VALUE 0 gc->gpiodev 4096-ptr_max
PARAM_VALUE 0 gc->gpiodev->chrdev.count 0-1
PARAM_VALUE 0 gc->gpiodev->chrdev.kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 gc->gpiodev->chrdev.kobj.kset 0
PARAM_VALUE 0 gc->gpiodev->chrdev.kobj.ktype 1499647686170447872
PARAM_VALUE 0 gc->gpiodev->chrdev.kobj.name 0
PARAM_VALUE 0 gc->gpiodev->chrdev.kobj.parent 0,4096-ptr_max
PARAM_VALUE 0 gc->gpiodev->chrdev.kobj.release.cpu 0
PARAM_VALUE 0 gc->gpiodev->chrdev.kobj.release.wq 0
PARAM_VALUE 0 gc->gpiodev->chrdev.kobj.sd 0
PARAM_VALUE 0 gc->gpiodev->chrdev.kobj.state_in_sysfs 0
PARAM_VALUE 0 gc->gpiodev->chrdev.list.next 4096-ptr_max
PARAM_VALUE 0 gc->gpiodev->chrdev.list.next->next 4096-ptr_max
PARAM_VALUE 0 gc->gpiodev->chrdev.list.prev 4096-ptr_max
PARAM_VALUE 0 gc->gpiodev->chrdev.list.prev->next 4096-ptr_max
PARAM_VALUE 0 gc->gpiodev->chrdev.list.prev->prev 4096-ptr_max
PARAM_VALUE 0 gc->gpiodev->chrdev.owner 0
PARAM_VALUE 0 gc->gpiodev->dev.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 gc->gpiodev->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 gc->gpiodev->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 gc->gpiodev->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 gc->gpiodev->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 gc->gpiodev->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 gc->gpiodev->dev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 gc->gpiodev->dev.kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 gc->gpiodev->dev.kobj.sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 0 gc->gpiodev->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 gc->gpiodev->dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 0 gc->gpiodev->dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 0 gc->gpiodev->dev.p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 gc->gpiodev->dev.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 gc->gpiodev->dev.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 gc->gpiodev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 gc->gpiodev->line_state_wq 4096-ptr_max
BUF_SIZE 0 gc (-1),512
BUF_SIZE 0 gc (-1),512
BUF_SIZE 0 gc->fwnode (-1),64
BUF_SIZE 0 gc->gpiodev (-1),2416
BUF_SIZE 0 gc->label s32min,(-10),(-1)-s32max
BUF_SIZE 0 gc->names (-1)-s32max
BUF_SIZE 0 gc->parent (-1)-0,24-s32max
CAPPED_DATA 0 gc 1
DATA_SOURCE 0 gc $0
STR_LEN 0 gc->label (-1),9-10,12,15
MEM_ZERO 0 &gc->gpiodev->chrdev
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 gc->irq.domain->hwirq_max
NO_OVERFLOW_SIMPLE 0 gc->irq.domain->revmap_size
NO_OVERFLOW_SIMPLE 0 gc->ngpio
LOCK2 _T->lock