Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/comedi/comedi_fops.c comedi_mmap() -> comedi_file_write_subdevice()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->private_data | 4096-ptr_max |
| BUF_SIZE | 0 | file | (-1),4,24,64,168-s32max |
| BUF_SIZE | 0 | file | (-1),4,24,64,168-s32max |
| BUF_SIZE | 0 | file->private_data | (-1),1216 |
| CAPPED_DATA | 0 | file | 1 |
| DATA_SOURCE | 0 | file | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->attach_lock | ||
| HALF_LOCKED2 | &ipcp->lock | ||
| TYPE_LOCK | (struct comedi_device)->attach_lock |
drivers/comedi/comedi_fops.c comedi_poll() -> comedi_file_write_subdevice()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | file->private_data->last_attached | 0-1 |
| PARAM_VALUE | 0 | file->private_data->last_detach_count | 0-4294967295 |
| CAPPED_DATA | 0 | file | 1 |
| DATA_SOURCE | 0 | file | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->attach_lock | ||
| HALF_LOCKED2 | &kvm->irq_srcu | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &vm->irqfds_lock | ||
| HALF_LOCKED2 | global &irqfds_srcu | ||
| TYPE_LOCK | (struct comedi_device)->attach_lock |
drivers/comedi/comedi_fops.c comedi_write() -> comedi_file_write_subdevice()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op->write | 1-u64max |
| PARAM_VALUE | 0 | file->private_data | 4096-ptr_max |
| DATA_SOURCE | 0 | file | $0 |
| BIT_INFO | 0 | file->f_mode | 0x40002,0xffffffffffffffff |
| LOCK2 | &dev->attach_lock | ||
| TYPE_LOCK | (struct comedi_device)->attach_lock |
drivers/comedi/comedi_fops.c comedi_write() -> comedi_file_write_subdevice()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op->write | 1-u64max |
| PARAM_VALUE | 0 | file->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | file->private_data->last_attached | 0-1 |
| PARAM_VALUE | 0 | file->private_data->last_detach_count | 0-4294967295 |
| CAPPED_DATA | 0 | file | 1 |
| DATA_SOURCE | 0 | file | $0 |
| BIT_INFO | 0 | file->f_mode | 0x40002,0xffffffffffffffff |
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct comedi_device)->mutex |
drivers/comedi/comedi_fops.c do_devinfo_ioctl() -> comedi_file_write_subdevice()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | file->private_data->last_attached | 0-1 |
| PARAM_VALUE | 0 | file->private_data->last_detach_count | 0-4294967295 |
| DATA_SOURCE | 0 | file | $2 |
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct comedi_device)->mutex |
drivers/comedi/comedi_fops.c do_setwsubd_ioctl() -> comedi_file_write_subdevice()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->private_data | 4096-ptr_max |
| DATA_SOURCE | 0 | file | $2 |
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct comedi_device)->mutex |