Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 13 files:

Smatch caller information:

net/9p/trans_xen.c xen_9pfs_front_init() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 1 dir 1-u64max
PARAM_VALUE 2 node 7891015857229520896
PARAM_VALUE 3 len 6824550035819139072
PARAM_VALUE 3 *len 0
BUF_SIZE 2 node 9
STR_LEN 0 t 8
TERMINATED 2 node 1
TASK_NOT_RUNNING
LOCK2 global &xenwatch_mutex

net/9p/trans_xen.c xen_9pfs_front_init() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 2 node 2114771989412626432
PARAM_VALUE 3 len 0
BUF_SIZE 2 node 4
STR_LEN 0 t 3
TERMINATED 2 node 1
TASK_NOT_RUNNING
LOCK2 global &xenwatch_mutex

drivers/net/xen-netfront.c xen_net_read_mac() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 2 node 7105731552166748160
PARAM_VALUE 3 len 0
BUF_SIZE 2 node 4
STR_LEN 0 t 3
TERMINATED 2 node 1
TASK_NOT_RUNNING
LOCK2 global &xenwatch_mutex

drivers/xen/xen-scsiback.c scsiback_do_1lun_hotplug() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 2 node 8932225660633923584
PARAM_VALUE 3 len 0
BUF_SIZE 2 node 64
STR_LEN 0 t 63
TASK_NOT_RUNNING
LOCK2 global &xenwatch_mutex

drivers/xen/pvcalls-front.c pvcalls_front_probe() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 2 node 7891015857229520896
PARAM_VALUE 3 len 7134468611978457088
BUF_SIZE 2 node 9
STR_LEN 0 t 8
TERMINATED 2 node 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->reclaim_sem
TYPE_LOCK (struct xenbus_device)->reclaim_sem

drivers/xen/xenbus/xenbus_xs.c xenbus_gather() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 2 node 1-u64max
PARAM_VALUE 3 len 0
BUF_SIZE 1 dir (-1)-s32max
BUF_SIZE 1 dir (-1)-s32max
DATA_SOURCE 0 t $0
DATA_SOURCE 1 dir $1
STR_LEN 0 t 5,7-8,10-11,16
STR_LEN 1 dir 2-3
STR_LEN 1 dir 2-3
STR_LEN 2 node 2-3
STR_LEN 2 node 2-3
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pdev->dev_lock
HALF_LOCKED2 global &xenwatch_mutex

drivers/xen/xenbus/xenbus_xs.c xenbus_scanf() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 2 node 4096-ptr_max
PARAM_VALUE 3 len 0
BUF_SIZE 1 dir s32min,(-1)-s32max
BUF_SIZE 1 dir s32min,(-1)-s32max
BUF_SIZE 2 node (-1),5-21,23-26,29,34,64
BUF_SIZE 2 node (-1),5-21,23-26,29,34,64
DATA_SOURCE 0 t $0
DATA_SOURCE 1 dir $1
DATA_SOURCE 2 node $2
STR_LEN 0 t 0,4-20,22-25,28,63
STR_LEN 1 dir (-1),2-6,10-11,17,33
STR_LEN 1 dir (-1),2-6,10-11,17,33
STR_LEN 2 node (-1)-0,2,4
STR_LEN 2 node (-1)-0,2,4
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->reclaim_sem
HALF_LOCKED2 &pdev->dev_lock
HALF_LOCKED2 global &xenwatch_mutex

drivers/block/xen-blkback/xenbus.c backend_changed() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 2 node 5987828078236520448
PARAM_VALUE 3 len 0
BUF_SIZE 2 node 5
STR_LEN 0 t 4
TERMINATED 2 node 1
TASK_NOT_RUNNING
LOCK2 global &xenwatch_mutex

drivers/block/xen-blkback/xenbus.c backend_changed() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 2 node 2260913194314338304
PARAM_VALUE 3 len 0
BUF_SIZE 2 node 12
STR_LEN 0 t 11
TERMINATED 2 node 1
TASK_NOT_RUNNING
LOCK2 global &xenwatch_mutex

drivers/block/xen-blkback/xenbus.c blkback_name() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 2 node 6768653905073967104
PARAM_VALUE 3 len 0
BUF_SIZE 2 node 4
STR_LEN 0 t 3
TERMINATED 2 node 1
TASK_NOT_RUNNING
LOCK2 global &xenwatch_mutex

drivers/xen/manage.c shutdown_handler() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 1 dir 5676549578348605440
PARAM_VALUE 2 node 6259556262503854080
PARAM_VALUE 3 len 0
BUF_SIZE 1 dir 8
BUF_SIZE 2 node 9
STR_LEN 0 t 7
STR_LEN 1 dir 8
TERMINATED 1 dir 1
TERMINATED 2 node 1
TASK_NOT_RUNNING
LOCK2 global &xenwatch_mutex

drivers/net/xen-netback/xenbus.c hotplug_status_changed() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 2 node 1339001483324235776
PARAM_VALUE 3 len 8183214520876711936
BUF_SIZE 2 node 15
STR_LEN 0 t 14
TERMINATED 2 node 1
TASK_NOT_RUNNING
LOCK2 global &xenwatch_mutex

drivers/net/xen-netback/xenbus.c netback_probe() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 2 node 7375934096285106176
PARAM_VALUE 3 len 0
BUF_SIZE 2 node 7
STR_LEN 0 t 6
TERMINATED 2 node 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->reclaim_sem
TYPE_LOCK (struct xenbus_device)->reclaim_sem

drivers/net/xen-netback/xenbus.c xen_net_read_mac() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 2 node 7105731552166748160
PARAM_VALUE 3 len 0
BUF_SIZE 2 node 4
STR_LEN 0 t 3
TERMINATED 2 node 1
TASK_NOT_RUNNING
LOCK2 global &xenwatch_mutex

drivers/net/xen-netback/xenbus.c xen_net_read_rate() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 2 node 5558640161330319360
PARAM_VALUE 3 len 0
BUF_SIZE 2 node 5
STR_LEN 0 t 4
TERMINATED 2 node 1
TASK_NOT_RUNNING
LOCK2 global &xenwatch_mutex

drivers/xen/privcmd.c init_restrict() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 1 dir 3079799115295019008
PARAM_VALUE 2 node 4602998933304729600
PARAM_VALUE 3 len 0
BUF_SIZE 1 dir 7
STR_LEN 0 t 6
STR_LEN 1 dir 0
TERMINATED 1 dir 1
TERMINATED 2 node 1

drivers/xen/xenbus/xenbus_probe_frontend.c xenbus_check_frontend() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 1 dir 1-u64max
PARAM_VALUE 2 node 9015067919679885312
PARAM_VALUE 3 len 0
BUF_SIZE 1 dir 0-s32max
BUF_SIZE 1 dir 0-s32max
BUF_SIZE 2 node 8
CAPPED_DATA 1 dir 1
DATA_SOURCE 1 dir r kasprintf
STR_LEN 0 t 7
TERMINATED 2 node 1

sound/xen/xen_snd_front_cfg.c cfg_device() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 1 dir 1-u64max
PARAM_VALUE 2 node 8684986619966238720
PARAM_VALUE 3 len 0
BUF_SIZE 1 dir 0-s32max
BUF_SIZE 1 dir 0-s32max
BUF_SIZE 2 node 5
CAPPED_DATA 1 dir 1
DATA_SOURCE 1 dir r kasprintf
STR_LEN 0 t 4
TERMINATED 2 node 1
TASK_NOT_RUNNING
LOCK2 global &xenwatch_mutex

sound/xen/xen_snd_front_cfg.c cfg_get_stream_type() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 1 dir 1-u64max
PARAM_VALUE 2 node 6570699494095450112
PARAM_VALUE 3 len 0
BUF_SIZE 1 dir 0-s32max
BUF_SIZE 1 dir 0-s32max
BUF_SIZE 2 node 5
CAPPED_DATA 1 dir 1
DATA_SOURCE 1 dir r kasprintf
STR_LEN 0 t 4
TERMINATED 2 node 1
TASK_NOT_RUNNING
LOCK2 global &xenwatch_mutex

sound/xen/xen_snd_front_cfg.c cfg_read_pcm_hw() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 2 node 1444568991696535552
PARAM_VALUE 3 len 591509718044135424
BUF_SIZE 1 dir (-1)-s32max
BUF_SIZE 1 dir (-1)-s32max
BUF_SIZE 2 node 13
DATA_SOURCE 1 dir $0
STR_LEN 0 t 12
TERMINATED 2 node 1
TASK_NOT_RUNNING
LOCK2 global &xenwatch_mutex

sound/xen/xen_snd_front_cfg.c cfg_read_pcm_hw() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 2 node 1048242322058686464
PARAM_VALUE 3 len 591509718044135424
BUF_SIZE 1 dir (-1)-s32max
BUF_SIZE 1 dir (-1)-s32max
BUF_SIZE 2 node 15
DATA_SOURCE 1 dir $0
STR_LEN 0 t 14
TERMINATED 2 node 1
TASK_NOT_RUNNING
LOCK2 global &xenwatch_mutex

sound/xen/xen_snd_front_cfg.c cfg_stream() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 1 dir 1-u64max
PARAM_VALUE 2 node 6570699494095450112
PARAM_VALUE 3 len 0
BUF_SIZE 1 dir 0-s32max
BUF_SIZE 1 dir 0-s32max
BUF_SIZE 2 node 5
CAPPED_DATA 1 dir 1
DATA_SOURCE 1 dir r devm_kasprintf
STR_LEN 0 t 4
TERMINATED 2 node 1
TASK_NOT_RUNNING
LOCK2 global &xenwatch_mutex

drivers/xen/sys-hypervisor.c uuid_show_fallback() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 1 dir 5977317931491401728
PARAM_VALUE 2 node 4602998933304729600
PARAM_VALUE 3 len 0
BUF_SIZE 1 dir 3
STR_LEN 0 t 2
STR_LEN 1 dir 0
TERMINATED 1 dir 1
TERMINATED 2 node 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/xen/sys-hypervisor.c uuid_show_fallback() -> xenbus_read()

Type Parameter Key Value
PARAM_VALUE 1 dir 0-ptr_max
PARAM_VALUE 2 node 392839856491114496
PARAM_VALUE 3 len 0
BUF_SIZE 1 dir s32min,(-1)-s32max
BUF_SIZE 1 dir s32min,(-1)-s32max
BUF_SIZE 2 node 5
DATA_SOURCE 1 dir r xenbus_read
STR_LEN 0 t 4
TERMINATED 2 node 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex