Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

net/ceph/ceph_common.c ceph_destroy_client() -> ceph_destroy_options()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &client_mutex

drivers/block/rbd.c rbd_add_parse_args() -> ceph_destroy_options()

Type Parameter Key Value
PARAM_VALUE 0 opt 0,4096-ptr_max
PARAM_VALUE 0 opt->con_modes 4096-ptr_max
PARAM_VALUE 0 opt->mon_addr 4096-ptr_max
PARAM_VALUE 0 opt->mount_timeout 0-536870912
PARAM_VALUE 0 opt->osd_idle_ttl 0-536870912
PARAM_VALUE 0 opt->osd_keepalive_timeout 0-536870912
PARAM_VALUE 0 opt->osd_request_timeout 0-536870912
PARAM_VALUE 0 opt->read_from_replica 0,256,8192
BUF_SIZE 0 opt (-1)-0,248
BUF_SIZE 0 opt (-1)-0,248
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 opt->key->type 0-u16max
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/block/rbd.c rbd_client_create() -> ceph_destroy_options()

Type Parameter Key Value
PARAM_VALUE 0 opt 4096-ptr_max
PARAM_VALUE 0 opt->flags 0-s32max
PARAM_VALUE 0 opt->mount_timeout 0-536870912
PARAM_VALUE 0 opt->osd_idle_ttl 0-536870912
PARAM_VALUE 0 opt->osd_keepalive_timeout 0-536870912
PARAM_VALUE 0 opt->osd_request_timeout 0-536870912
PARAM_VALUE 0 opt->read_from_replica 0,256,8192
DATA_SOURCE 0 opt $0
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 global &client_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/block/rbd.c rbd_get_client() -> ceph_destroy_options()

Type Parameter Key Value
PARAM_VALUE 0 opt 4096-ptr_max
PARAM_VALUE 0 opt->key 0,4096-ptr_max
PARAM_VALUE 0 opt->num_mon 1-s32max
PARAM_VALUE 0 opt->osd_idle_ttl 0-536870912
PARAM_VALUE 0 opt->osd_keepalive_timeout 0-536870912
CAPPED_DATA 0 opt->num_mon 1
DATA_SOURCE 0 opt $0
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 global &client_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

fs/ceph/super.c ceph_free_fc() -> ceph_destroy_options()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/ceph/super.c ceph_init_fs_context() -> ceph_destroy_options()

Type Parameter Key Value
PARAM_VALUE 0 opt 0,4096-ptr_max
PARAM_VALUE 0 opt->con_modes 4096-ptr_max
PARAM_VALUE 0 opt->flags 16
PARAM_VALUE 0 opt->mon_addr 4096-ptr_max
PARAM_VALUE 0 opt->mount_timeout 0-536870912
PARAM_VALUE 0 opt->osd_idle_ttl 0-536870912
PARAM_VALUE 0 opt->osd_keepalive_timeout 0-536870912
PARAM_VALUE 0 opt->osd_request_timeout 0
PARAM_VALUE 0 opt->read_from_replica 0
BUF_SIZE 0 opt (-1),248
BUF_SIZE 0 opt (-1),248
DATA_SOURCE 0 opt r ceph_alloc_options
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fc->uapi_mutex

fs/ceph/super.c create_fs_client() -> ceph_destroy_options()

Type Parameter Key Value
DATA_SOURCE 0 opt $1 [m]
BIT_INFO 0 opt 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fc->uapi_mutex