Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/nfs/direct.c nfs_direct_read_completion() -> nfs_direct_count_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dreq | 4096-ptr_max |
| PARAM_VALUE | 1 | hdr | 4096-ptr_max |
| BUF_SIZE | 1 | hdr | (-1)-s32max |
| BUF_SIZE | 1 | hdr | (-1)-s32max |
| BUF_SIZE | 1 | hdr->lseg | (-1)-0,24,64,96,272 |
| DATA_SOURCE | 1 | hdr | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | hdr->inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | hdr->page_array.npages | |
| NO_OVERFLOW_SIMPLE | 1 | hdr->pgio_mirror_idx | |
| LOCK2 | 0 | &dreq->lock | |
| TYPE_LOCK | (struct nfs_direct_req)->lock |
fs/nfs/direct.c nfs_direct_write_completion() -> nfs_direct_count_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dreq | 4096-ptr_max |
| PARAM_VALUE | 1 | hdr | 4096-ptr_max |
| BUF_SIZE | 1 | hdr | (-1)-s32max |
| BUF_SIZE | 1 | hdr | (-1)-s32max |
| BUF_SIZE | 1 | hdr->lseg | (-1)-0,24,64,96,272 |
| DATA_SOURCE | 1 | hdr | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | hdr->inode->i_size | |
| NO_OVERFLOW_SIMPLE | 1 | hdr->page_array.npages | |
| NO_OVERFLOW_SIMPLE | 1 | hdr->pgio_mirror_idx | |
| LOCK2 | 0 | &dreq->lock | |
| TYPE_LOCK | (struct nfs_direct_req)->lock |