Defined in 1 files as a prototype:

Defined in 4 files as a member:

Defined in 6 files as a function:

Referenced in 25 files:

Smatch caller information:

drivers/usb/host/ehci-hcd.c debug_async_open() -> alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 1 gfp_mask 4946318196075601920
BUF_SIZE 0 c s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 c unit_array_size

drivers/usb/host/ehci-hcd.c debug_bandwidth_open() -> alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 1 gfp_mask 4492009802164846592
BUF_SIZE 0 c s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 c unit_array_size

drivers/usb/host/ehci-hcd.c debug_periodic_open() -> alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 1 gfp_mask 6443662111556558848
BUF_SIZE 0 c s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 c unit_array_size

drivers/usb/host/ehci-hcd.c debug_registers_open() -> alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 1 gfp_mask 4867664067556577280
BUF_SIZE 0 c s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 c unit_array_size

drivers/usb/fotg210/fotg210-hcd.c debug_async_open() -> alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 1 gfp_mask 1295314690965970944
BUF_SIZE 0 c s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 c unit_array_size

drivers/usb/fotg210/fotg210-hcd.c debug_periodic_open() -> alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 1 gfp_mask 623523267119607808
BUF_SIZE 0 c s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 c unit_array_size

drivers/usb/fotg210/fotg210-hcd.c debug_registers_open() -> alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 1 gfp_mask 33462255851978752
BUF_SIZE 0 c s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 c unit_array_size

drivers/usb/host/ohci-hcd.c debug_async_open() -> alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 1 gfp_mask 6353606779956441088
BUF_SIZE 0 c s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 c unit_array_size

drivers/usb/host/ohci-hcd.c debug_periodic_open() -> alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 1 gfp_mask 1934640409476337664
BUF_SIZE 0 c s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 c unit_array_size

drivers/usb/host/ohci-hcd.c debug_registers_open() -> alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 1 gfp_mask 1161587661937393664
BUF_SIZE 0 c s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 c unit_array_size

drivers/md/dm-bufio.c __alloc_buffer_wait_no_callback() -> alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->lock.dep_map->name 0-255
PARAM_VALUE 0 c->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 c->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 c->lock.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 1 gfp_mask 600064
BUF_SIZE 0 c (-1),704-12992
BUF_SIZE 0 c (-1),704-12992
DATA_SOURCE 0 c $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 c->block_size
NO_OVERFLOW_SIMPLE 0 c->dm_io->bios.bio_pool.min_nr
NO_OVERFLOW_SIMPLE 0 c->dm_io->bios.bvec_pool.min_nr
NO_OVERFLOW_SIMPLE 0 c->dm_io->bios.rescue_workqueue->rescuer->task->dl.dl_runtime
NO_OVERFLOW_SIMPLE 0 c->dm_io->pool.min_nr
NO_OVERFLOW_SIMPLE 0 c->slab_buffer->sheaf_capacity
NO_OVERFLOW_SIMPLE 0 c->slab_cache->object_size
NO_OVERFLOW_SIMPLE 0 c->slab_cache->sheaf_capacity

drivers/md/dm-bufio.c __alloc_buffer_wait_no_callback() -> alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->lock.dep_map->name 0-255
PARAM_VALUE 0 c->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 c->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 c->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 c->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 c->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 c->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 c->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 c->slab_buffer 4096-ptr_max
PARAM_VALUE 0 c->slab_buffer->object_size 0-4294967295
PARAM_VALUE 1 gfp_mask 601088
BUF_SIZE 0 c (-1),704-12992
BUF_SIZE 0 c (-1),704-12992
CAPPED_DATA 0 c->slab_buffer 1
DATA_SOURCE 0 c $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 c->block_size
NO_OVERFLOW_SIMPLE 0 c->dm_io->bios.bio_pool.min_nr
NO_OVERFLOW_SIMPLE 0 c->dm_io->bios.bvec_pool.min_nr
NO_OVERFLOW_SIMPLE 0 c->dm_io->bios.rescue_workqueue->rescuer->task->dl.dl_runtime
NO_OVERFLOW_SIMPLE 0 c->dm_io->pool.min_nr
NO_OVERFLOW_SIMPLE 0 c->slab_buffer->sheaf_capacity
NO_OVERFLOW_SIMPLE 0 c->slab_cache->object_size
NO_OVERFLOW_SIMPLE 0 c->slab_cache->sheaf_capacity

drivers/md/dm-bufio.c dm_bufio_client_create() -> alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->async_write_error 0
PARAM_VALUE 0 c->block_size 1-u32max
PARAM_VALUE 0 c->cache.num_locks 0-64
PARAM_VALUE 0 c->dm_io 4096-ptr_max
PARAM_VALUE 0 c->dm_io->bios.back_pad 0,64
PARAM_VALUE 0 c->dm_io->bios.bio_pool.alloc 7276475779886346240
PARAM_VALUE 0 c->dm_io->bios.bio_pool.curr_nr 1-s32max
PARAM_VALUE 0 c->dm_io->bios.bio_pool.free 8263660038527102976
PARAM_VALUE 0 c->dm_io->bios.bio_pool.min_nr 1-1024
PARAM_VALUE 0 c->dm_io->bios.bvec_pool.alloc 7276475779886346240
PARAM_VALUE 0 c->dm_io->bios.bvec_pool.curr_nr 1-s32max
PARAM_VALUE 0 c->dm_io->bios.bvec_pool.free 8263660038527102976
PARAM_VALUE 0 c->dm_io->bios.front_pad 0
PARAM_VALUE 0 c->dm_io->bios.rescue_list.head 0
PARAM_VALUE 0 c->dm_io->bios.rescue_list.tail 0
PARAM_VALUE 0 c->dm_io->pool.alloc 7276475779886346240
PARAM_VALUE 0 c->dm_io->pool.curr_nr 1-s32max
PARAM_VALUE 0 c->dm_io->pool.free 8263660038527102976
PARAM_VALUE 0 c->dm_io->pool.min_nr 1-1024
PARAM_VALUE 0 c->free_buffer_wait.head.next 4096-ptr_max
PARAM_VALUE 0 c->free_buffer_wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 c->free_buffer_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 c->free_buffer_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 c->free_buffer_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 c->lock.dep_map->name 0-255
PARAM_VALUE 0 c->lock.first_waiter 0
PARAM_VALUE 0 c->lock.magic 4096-ptr_max
PARAM_VALUE 0 c->lock.osq.tail.counter 0
PARAM_VALUE 0 c->lock.owner.counter 0
PARAM_VALUE 0 c->minimum_buffers 8
PARAM_VALUE 0 c->need_reserved_buffers 1-u32max
PARAM_VALUE 0 c->reserved_buffers.next 4096-ptr_max
PARAM_VALUE 0 c->reserved_buffers.next->next 4096-ptr_max
PARAM_VALUE 0 c->reserved_buffers.prev 4096-ptr_max
PARAM_VALUE 0 c->reserved_buffers.prev->next 4096-ptr_max
PARAM_VALUE 0 c->reserved_buffers.prev->prev 4096-ptr_max
PARAM_VALUE 0 c->slab_buffer 1-u64max
PARAM_VALUE 1 gfp_mask 3264
BUF_SIZE 0 c 704-12992
BUF_SIZE 0 c 704-12992
BUF_SIZE 0 c->dm_io 824
CAPPED_DATA 0 c->slab_buffer 1
DATA_SOURCE 0 c r _kzalloc_noprof
BIT_INFO 0 c->block_size 0x0,0xfffffe00
RX_PATH
TASK_NOT_RUNNING

kernel/trace/ring_buffer.c __ring_buffer_alloc() -> alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 0 c 0-s32max,18446744071562067968-u64max
PARAM_VALUE 1 gfp_mask 0-1
PARAM_VALUE 2 order 0
PARAM_VALUE 3 start 0
PARAM_VALUE 4 end 0
PARAM_VALUE 5 scratch_size 0
PARAM_VALUE 6 key 195105428146065408,1685562058564644864,6799004575533862912,8151620029876428800
PARAM_VALUE 7 remote 0
DATA_SOURCE 0 c $0
DATA_SOURCE 1 gfp_mask $1
DATA_SOURCE 6 key $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 irq

kernel/trace/ring_buffer.c __ring_buffer_alloc_range() -> alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 0 c 0-s32max,18446744071562067968-u64max
PARAM_VALUE 1 gfp_mask 0-3
PARAM_VALUE 2 order 0
PARAM_VALUE 3 start 1-u64max
PARAM_VALUE 5 scratch_size 8216
PARAM_VALUE 6 key 1685562058564644864
PARAM_VALUE 7 remote 0
DATA_SOURCE 0 c $0
DATA_SOURCE 1 gfp_mask $1
DATA_SOURCE 2 order $2
DATA_SOURCE 3 start $3
DATA_SOURCE 5 scratch_size $5
DATA_SOURCE 6 key $6
RX_PATH
TASK_NOT_RUNNING
UNITS 5 scratch_size unit_byte
HALF_LOCKED2 irq

kernel/trace/ring_buffer.c __ring_buffer_alloc_remote() -> alloc_buffer()

Type Parameter Key Value
PARAM_VALUE 0 c 0
PARAM_VALUE 1 gfp_mask 0
PARAM_VALUE 2 order 0
PARAM_VALUE 3 start 0
PARAM_VALUE 4 end 0
PARAM_VALUE 5 scratch_size 0
PARAM_VALUE 6 key 2209997585349664768
PARAM_VALUE 7 remote 4096-ptr_max
PARAM_VALUE 7 remote->desc 4096-ptr_max
PARAM_VALUE 7 remote->desc->nr_cpus 0-s32max
PARAM_VALUE 7 remote->desc->struct_len 16-4000000
PARAM_VALUE 7 remote->reset 1644223708537741312
PARAM_VALUE 7 remote->swap_reader_page 9212522125699915776
BUF_SIZE 7 remote 32
BUF_SIZE 7 remote->desc 16-s32max
CAPPED_DATA 7 remote->desc->nr_cpus 1
DATA_SOURCE 6 key $1
DATA_SOURCE 7 remote $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock