Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/nfs/pnfs_nfs.c pnfs_generic_commit_pagelist() -> nfs_retry_commit()

Type Parameter Key Value
PARAM_VALUE 0 page_list 1299022178434179072,5632522301241761792
PARAM_VALUE 0 page_list->next 4096-ptr_max
PARAM_VALUE 0 page_list->prev 4096-ptr_max
PARAM_VALUE 1 lseg 0
PARAM_VALUE 2 cinfo 372900960850735104,6547825919070212096
PARAM_VALUE 2 cinfo->completion_ops 2355520384648577024,8090874710459322368
PARAM_VALUE 2 cinfo->dreq 0,4096-ptr_max
PARAM_VALUE 2 cinfo->ds 4096-ptr_max
PARAM_VALUE 2 cinfo->ds->ncommitting 1-u32max
PARAM_VALUE 2 cinfo->ds->ops 4096-ptr_max
PARAM_VALUE 2 cinfo->mds 4096-ptr_max
PARAM_VALUE 3 ds_commit_idx u32max
BUF_SIZE 0 page_list->next (-1),16
BUF_SIZE 0 page_list->prev (-1),16
CAPPED_DATA 0 page_list 1
DATA_SOURCE 0 page_list $1
DATA_SOURCE 2 cinfo $3
PARAM_COMPARE 0 page_list != $0->next
PARAM_COMPARE 0 page_list != $0->next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 cinfo->inode->i_blkbits
NO_OVERFLOW_SIMPLE 2 cinfo->inode->i_ino
NO_OVERFLOW_SIMPLE 2 cinfo->inode->i_linklen
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock

fs/nfs/pnfs_nfs.c pnfs_generic_retry_commit() -> nfs_retry_commit()

Type Parameter Key Value
PARAM_VALUE 0 page_list 5187674544030507008
PARAM_VALUE 0 page_list->prev 5187674544030507008
PARAM_VALUE 1 lseg->pls_layout->plh_inode->i_sb->s_umount.first_waiter->handoff_set 0-1
PARAM_VALUE 1 lseg->pls_layout->plh_inode->i_sb->s_umount.first_waiter->type 0-1
PARAM_VALUE 2 cinfo 372900960850735104,6547825919070212096
PARAM_VALUE 2 cinfo->ds 4096-ptr_max
PARAM_VALUE 2 cinfo->ds->ops 4096-ptr_max
PARAM_VALUE 2 cinfo->mds 4096-ptr_max
PARAM_VALUE 3 ds_commit_idx 0-4294967294
BUF_SIZE 1 lseg (-1)-0,24,64,96,272
BUF_SIZE 1 lseg (-1)-0,24,64,96,272
CAPPED_DATA 3 ds_commit_idx 1
DATA_SOURCE 1 lseg r pnfs_bucket_get_committing
DATA_SOURCE 2 cinfo $2
DATA_SOURCE 3 ds_commit_idx $3 [m]
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 cinfo->inode->i_blkbits
NO_OVERFLOW_SIMPLE 2 cinfo->inode->i_ino
NO_OVERFLOW_SIMPLE 2 cinfo->inode->i_linklen
UNITS 3 ds_commit_idx unit_array_size
HALF_LOCKED2 &inode->i_rwsem

fs/nfs/write.c nfs_commit_list() -> nfs_retry_commit()

Type Parameter Key Value
PARAM_VALUE 0 page_list 1299022178434179072,5632522301241761792
PARAM_VALUE 1 lseg 0
PARAM_VALUE 2 cinfo 372900960850735104,6547825919070212096
PARAM_VALUE 2 cinfo->ds 0,4096-ptr_max
PARAM_VALUE 2 cinfo->ds->ncommitting 0
PARAM_VALUE 2 cinfo->mds 4096-ptr_max
PARAM_VALUE 3 ds_commit_idx u32max
CAPPED_DATA 0 page_list 1
DATA_SOURCE 0 page_list $1
DATA_SOURCE 2 cinfo $3
PARAM_COMPARE 0 page_list != $0->next
PARAM_COMPARE 0 page_list != $0->next
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_rwsem