Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/eventpoll.c ep_done_scan() -> ep_is_linked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epi | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ep->lock | ||
| LOCK2 | &ep->mtx | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct eventpoll)->lock | ||
| TYPE_LOCK | (struct eventpoll)->mtx |
fs/eventpoll.c ep_insert() -> ep_is_linked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epi | 4096-ptr_max |
| PARAM_VALUE | 0 | epi->rdllink.next | 4096-ptr_max |
| BUF_SIZE | 0 | epi->ep | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | epi | 1 |
| DATA_SOURCE | 0 | epi | r ep_alloc_epitem |
| BIT_INFO | 0 | epi->event.events | 0x18,0xffffffffffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | epi->event.data | 0-u64max |
| USER_DATA | 0 | epi->event.events | 0,8-u32max |
| USER_DATA | 0 | epi->ffd.fd | s32min-s32max |
| LOCK2 | &ep->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct eventpoll)->lock |
fs/eventpoll.c ep_modify() -> ep_is_linked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epi | 4096-ptr_max |
| DATA_SOURCE | 0 | epi | $1 |
| BIT_INFO | 0 | epi->event.events | 0x18,0xffffffffffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | epi->event.data | 0-u64max |
| USER_DATA | 0 | epi->event.events | 0,8-u32max |
| LOCK2 | &ep->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct eventpoll)->lock |
fs/eventpoll.c ep_poll_callback() -> ep_is_linked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epi | 4096-ptr_max |
| DATA_SOURCE | 0 | epi | r ep_item_from_wait |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ep->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &sci->sc_wait_request.lock | ||
| HALF_LOCKED2 | &x->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct eventpoll)->lock |
fs/eventpoll.c ep_remove_epi() -> ep_is_linked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | epi | 4096-ptr_max |
| BUF_SIZE | 0 | epi->ep | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | epi | 1 |
| CAPPED_DATA | 0 | &epi->rbn | 1 |
| DATA_SOURCE | 0 | epi | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | epi->event.data | 0-u64max |
| USER_DATA | 0 | epi->event.events | 0,8-u32max |
| USER_DATA | 0 | epi->ffd.fd | s32min-s32max |
| UNITS | 0 | epi | unit_byte |
| LOCK2 | &ep->lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &ep->mtx | ||
| TYPE_LOCK | (struct eventpoll)->lock |