Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/9p/protocol.c p9pdu_writef() -> p9pdu_vwritef()

Type Parameter Key Value
PARAM_VALUE 2 fmt 4096-ptr_max
BUF_SIZE 2 fmt 2,4,10,18
BUF_SIZE 2 fmt 2,4,10,18
BUF_SIZE 3 ap 8
BUF_SIZE 3 ap 8
DATA_SOURCE 0 pdu $0
DATA_SOURCE 1 proto_version $1
DATA_SOURCE 2 fmt $2
STR_LEN 0 pdu (-1),1,3,6,8-9,17
STR_LEN 0 pdu (-1),1,3,6,8-9,17
STR_LEN 0 pdu->id (-1)
STR_LEN 1 proto_version (-1),1,3,9,17
STR_LEN 2 fmt (-1),1,3,9,17
STR_LEN 2 fmt (-1),1,3,9,17
STR_LEN 3 *ap (-1),1,3,9,17
PARAM_COMPARE 2 &fmt == $3
TERMINATED 2 fmt 1
TERMINATED 3 *ap 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 pdu->capacity

net/9p/client.c p9_client_prepare_req() -> p9pdu_vwritef()

Type Parameter Key Value
PARAM_VALUE 0 pdu 4096-ptr_max
PARAM_VALUE 0 pdu->cache 0,4096-ptr_max
PARAM_VALUE 0 pdu->capacity 0-s32max,18446744071562067968-u64max
PARAM_VALUE 0 pdu->id 8,12,14,16,18,20,22,24,26,30,32,40,50,52,54,70,72,74,76,100,104,108,110,112,114,116,118,120,122,124,126
PARAM_VALUE 0 pdu->offset 0
PARAM_VALUE 0 pdu->sdata 1-u64max
PARAM_VALUE 2 fmt 4096-ptr_max
BUF_SIZE 2 fmt 2-8
BUF_SIZE 2 fmt 2-8
BUF_SIZE 3 ap 8
BUF_SIZE 3 ap 8
DATA_SOURCE 2 fmt $4
DATA_SOURCE 3 ap $5
TERMINATED 2 fmt 1
TERMINATED 3 *ap 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 pdu->capacity
HALF_LOCKED2 &inode->i_rwsem