Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/ceph/mds_client.c ceph_pagelist_encode_string() -> ceph_pagelist_encode_32()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->head.prev 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 pl->mapped_tail 18379471554275704832,18446612682070032384
PARAM_VALUE 1 v 0
DATA_SOURCE 0 pl $0
DATA_SOURCE 1 v $2
RX_PATH
TASK_NOT_RUNNING
UNITS 1 v unit_byte
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &mdsc->snap_rwsem
HALF_LOCKED2 &s->lock
HALF_LOCKED2 &session->s_mutex

fs/ceph/mds_client.c encode_snap_realms() -> ceph_pagelist_encode_32()

Type Parameter Key Value
LOCK2 &mdsc->snap_rwsem
LOCK2 &session->s_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_mds_client)->snap_rwsem
TYPE_LOCK (struct ceph_mds_session)->s_mutex

fs/ceph/mds_client.c encode_snap_realms() -> ceph_pagelist_encode_32()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->head.prev 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 pl->mapped_tail 18379471554275704832,18446612682070032384
PARAM_VALUE 1 v 24
NOCHECK_CALL
UNITS 1 v unit_byte
LOCK2 &mdsc->snap_rwsem
LOCK2 &session->s_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_mds_client)->snap_rwsem
TYPE_LOCK (struct ceph_mds_session)->s_mutex

fs/ceph/mds_client.c reconnect_caps_cb() -> ceph_pagelist_encode_32()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->head.prev 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 pl->mapped_tail 18379471554275704832,18446612682070032384
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &mdsc->snap_rwsem
HALF_LOCKED2 &s->lock
HALF_LOCKED2 &session->s_mutex

fs/ceph/mds_client.c send_mds_reconnect() -> ceph_pagelist_encode_32()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->head.next 4096-ptr_max
PARAM_VALUE 0 pl->head.next->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->length 0
PARAM_VALUE 0 pl->mapped_tail 0
PARAM_VALUE 0 pl->num_pages_free 0
PARAM_VALUE 0 pl->refcnt.refs.counter 1
PARAM_VALUE 0 pl->room 0
PARAM_VALUE 1 v 0
BUF_SIZE 0 pl 72
DATA_SOURCE 0 pl r ceph_pagelist_alloc
LOCK2 &mdsc->snap_rwsem
LOCK2 &session->s_mutex
TYPE_LOCK (struct ceph_mds_client)->snap_rwsem
TYPE_LOCK (struct ceph_mds_session)->s_mutex

fs/ceph/mds_client.c send_reconnect_partial() -> ceph_pagelist_encode_32()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->head.next 4096-ptr_max
PARAM_VALUE 0 pl->head.next->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->length 0
PARAM_VALUE 0 pl->mapped_tail 0
PARAM_VALUE 0 pl->num_pages_free 0
PARAM_VALUE 0 pl->refcnt.refs.counter 1
PARAM_VALUE 0 pl->room 0
PARAM_VALUE 1 v 0
BUF_SIZE 0 pl 72
DATA_SOURCE 0 pl r ceph_pagelist_alloc
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mdsc->snap_rwsem
HALF_LOCKED2 &session->s_mutex

fs/ceph/mds_client.c send_reconnect_partial() -> ceph_pagelist_encode_32()

Type Parameter Key Value
PARAM_VALUE 1 v 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mdsc->snap_rwsem
HALF_LOCKED2 &session->s_mutex

fs/ceph/mds_client.c send_reconnect_partial() -> ceph_pagelist_encode_32()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->head.next 4096-ptr_max
PARAM_VALUE 0 pl->head.next->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->mapped_tail 0,18379471554275704832,18446612682070032384
PARAM_VALUE 0 pl->refcnt.refs.counter 1
PARAM_VALUE 1 v 0
BUF_SIZE 0 pl 72
DATA_SOURCE 0 pl r ceph_pagelist_alloc
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mdsc->snap_rwsem
HALF_LOCKED2 &session->s_mutex

fs/ceph/acl.c ceph_pagelist_encode_string() -> ceph_pagelist_encode_32()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->head.next 4096-ptr_max
PARAM_VALUE 0 pl->head.next->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next 1-u64max
PARAM_VALUE 0 pl->head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->mapped_tail 0,18379471554275704832,18446612682070032384
PARAM_VALUE 0 pl->refcnt.refs.counter 1
PARAM_VALUE 1 v 23-24
BUF_SIZE 0 pl 72
DATA_SOURCE 0 pl $0
DATA_SOURCE 1 v $2
STR_LEN 0 pl 23-24
STR_LEN 0 pl 23-24
HARD_MAX 1 v 24
RX_PATH
TASK_NOT_RUNNING

fs/ceph/acl.c ceph_pre_init_acls() -> ceph_pagelist_encode_32()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->head.next 4096-ptr_max
PARAM_VALUE 0 pl->head.next->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->length 0
PARAM_VALUE 0 pl->mapped_tail 0
PARAM_VALUE 0 pl->refcnt.refs.counter 1
PARAM_VALUE 0 pl->room 0
PARAM_VALUE 1 v 1-2
BUF_SIZE 0 pl 72
DATA_SOURCE 0 pl r ceph_pagelist_alloc
FUZZY_MAX 1 v 2
HARD_MAX 1 v 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/ceph/acl.c ceph_pre_init_acls() -> ceph_pagelist_encode_32()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->head.next 4096-ptr_max
PARAM_VALUE 0 pl->head.next->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next 1-u64max
PARAM_VALUE 0 pl->head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->mapped_tail 0,18379471554275704832,18446612682070032384
PARAM_VALUE 0 pl->refcnt.refs.counter 1
PARAM_VALUE 1 v 0-4000000
BUF_SIZE 0 pl 72
DATA_SOURCE 0 pl r ceph_pagelist_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/ceph/acl.c ceph_pre_init_acls() -> ceph_pagelist_encode_32()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->head.next 4096-ptr_max
PARAM_VALUE 0 pl->head.next->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next 1-u64max
PARAM_VALUE 0 pl->head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->mapped_tail 0,18379471554275704832,18446612682070032384
PARAM_VALUE 0 pl->refcnt.refs.counter 1
PARAM_VALUE 1 v 0-4000000
BUF_SIZE 0 pl 72
DATA_SOURCE 0 pl r ceph_pagelist_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/ceph/xattr.c ceph_security_init_secctx() -> ceph_pagelist_encode_32()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->head.next 4096-ptr_max
PARAM_VALUE 0 pl->head.next->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->length 0
PARAM_VALUE 0 pl->mapped_tail 0
PARAM_VALUE 0 pl->refcnt.refs.counter 1
PARAM_VALUE 0 pl->room 0
PARAM_VALUE 1 v 1
BUF_SIZE 0 pl 72
DATA_SOURCE 0 pl r ceph_pagelist_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dentry->d_lockref.lock

fs/ceph/xattr.c ceph_security_init_secctx() -> ceph_pagelist_encode_32()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next 4096-ptr_max
PARAM_VALUE 0 pl->head.next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev 4096-ptr_max
PARAM_VALUE 0 pl->mapped_tail 0,18379471554275704832,18446612682070032384
PARAM_VALUE 0 pl->refcnt.refs.counter 1
PARAM_VALUE 1 v 0-1010101
BUF_SIZE 0 pl (-1),72
BUF_SIZE 0 pl (-1),72
CAPPED_DATA 0 pl->head.next 1
CAPPED_DATA 0 pl->head.prev 1
CAPPED_DATA 1 v 1
DATA_SOURCE 1 v r __fortify_strlen
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dentry->d_lockref.lock

fs/ceph/xattr.c ceph_security_init_secctx() -> ceph_pagelist_encode_32()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next 4096-ptr_max
PARAM_VALUE 0 pl->head.next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 pl->mapped_tail 0,18379471554275704832,18446612682070032384
PARAM_VALUE 0 pl->refcnt.refs.counter 1
PARAM_VALUE 1 v 0
BUF_SIZE 0 pl (-1),72
BUF_SIZE 0 pl (-1),72
CAPPED_DATA 0 pl->head.next 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 v unit_byte
HALF_LOCKED2 &dentry->d_lockref.lock

net/ceph/osd_client.c ceph_osdc_notify() -> ceph_pagelist_encode_32()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->head.next 4096-ptr_max
PARAM_VALUE 0 pl->head.next->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->length 0
PARAM_VALUE 0 pl->mapped_tail 0
PARAM_VALUE 0 pl->num_pages_free 0
PARAM_VALUE 0 pl->refcnt.refs.counter 1
PARAM_VALUE 0 pl->room 0
PARAM_VALUE 1 v 1
BUF_SIZE 0 pl 72
DATA_SOURCE 0 pl r ceph_pagelist_alloc
HALF_LOCKED2 &pool->lock

net/ceph/osd_client.c ceph_osdc_notify() -> ceph_pagelist_encode_32()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->head.next 4096-ptr_max
PARAM_VALUE 0 pl->head.next->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->mapped_tail 0,18379471554275704832,18446612682070032384
PARAM_VALUE 0 pl->refcnt.refs.counter 1
PARAM_VALUE 1 v 5
BUF_SIZE 0 pl 72
DATA_SOURCE 0 pl r ceph_pagelist_alloc
DATA_SOURCE 1 v $5
HALF_LOCKED2 &pool->lock

net/ceph/osd_client.c ceph_osdc_notify() -> ceph_pagelist_encode_32()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->head.next 4096-ptr_max
PARAM_VALUE 0 pl->head.next->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->mapped_tail 0,18379471554275704832,18446612682070032384
PARAM_VALUE 0 pl->refcnt.refs.counter 1
PARAM_VALUE 1 v 26
BUF_SIZE 0 pl 72
DATA_SOURCE 0 pl r ceph_pagelist_alloc
DATA_SOURCE 1 v $4
UNITS 1 v unit_byte
HALF_LOCKED2 &pool->lock

net/ceph/osd_client.c osd_req_op_notify_ack_init() -> ceph_pagelist_encode_32()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->head.next 4096-ptr_max
PARAM_VALUE 0 pl->head.next->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->mapped_tail 0,18379471554275704832,18446612682070032384
PARAM_VALUE 0 pl->refcnt.refs.counter 1
PARAM_VALUE 1 v 0,10
BUF_SIZE 0 pl 72
DATA_SOURCE 0 pl r ceph_pagelist_alloc
DATA_SOURCE 1 v $5
BIT_INFO 1 v 0x0,0xa
UNITS 1 v unit_byte
LOCK2 &pool->lock

net/ceph/osd_client.c osd_req_op_notify_ack_init() -> ceph_pagelist_encode_32()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.next->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->free_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->head.next 4096-ptr_max
PARAM_VALUE 0 pl->head.next->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 pl->head.prev->prev 4096-ptr_max
PARAM_VALUE 0 pl->mapped_tail 0,18379471554275704832,18446612682070032384
PARAM_VALUE 0 pl->refcnt.refs.counter 1
PARAM_VALUE 1 v 0
BUF_SIZE 0 pl 72
DATA_SOURCE 0 pl r ceph_pagelist_alloc
LOCK2 &pool->lock