Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
arch/x86/kernel/ldt.c ldt_dup_context() -> finalize_ldt_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ldt | 4096-ptr_max |
| PARAM_VALUE | 0 | ldt->entries | 1-u64max |
| PARAM_VALUE | 0 | ldt->nr_entries | 0-8192 |
| BUF_SIZE | 0 | ldt | 16 |
| DATA_SOURCE | 0 | ldt | r alloc_ldt_struct |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mm->mmap_lock | ||
| LOCK2 | &old_mm->context.lock | ||
| LOCK2 | &old_mm->mmap_lock | ||
| TYPE_LOCK | (struct mm_context_t)->lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
arch/x86/kernel/ldt.c write_ldt() -> finalize_ldt_struct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ldt | 4096-ptr_max |
| PARAM_VALUE | 0 | ldt->entries | 4096-ptr_max |
| PARAM_VALUE | 0 | ldt->nr_entries | 1-8192 |
| BUF_SIZE | 0 | ldt | 16 |
| DATA_SOURCE | 0 | ldt | r alloc_ldt_struct |
| NOCHECK_CALL | |||
| USER_DATA | 0 | ldt->nr_entries | 1-8192[c] |
| LOCK2 | &mm->context.ldt_usr_sem | ||
| TYPE_LOCK | (struct mm_context_t)->ldt_usr_sem |