Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

arch/x86/kernel/ldt.c ldt_dup_context() -> alloc_ldt_struct()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
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() -> alloc_ldt_struct()

Type Parameter Key Value
PARAM_VALUE 0 num_entries 1-u32max
USER_DATA 0 num_entries 1-8192[c]
LOCK2 &mm->context.ldt_usr_sem
TYPE_LOCK (struct mm_context_t)->ldt_usr_sem