Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/loop.c loop_change_fd() -> is_loop_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| CAPPED_DATA | 0 | file | 1 |
| DATA_SOURCE | 0 | file | r fget |
drivers/block/loop.c loop_configure() -> is_loop_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| CAPPED_DATA | 0 | file | 1 |
| DATA_SOURCE | 0 | file | r fget |
drivers/block/loop.c loop_validate_file() -> is_loop_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &lo->lo_mutex | ||
| TYPE_LOCK | (struct loop_device)->lo_mutex |
drivers/block/loop.c loop_validate_file() -> is_loop_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file->f_mapping->host | 4096-ptr_max |
| LOCK2 | &lo->lo_mutex | ||
| TYPE_LOCK | (struct loop_device)->lo_mutex |