context 462 arch/x86/ia32/ia32_signal.c if (current->mm->context.vdso) context 463 arch/x86/ia32/ia32_signal.c restorer = VDSO32_SYMBOL(current->mm->context.vdso, context 554 arch/x86/ia32/ia32_signal.c restorer = VDSO32_SYMBOL(current->mm->context.vdso, context 1036 arch/x86/kernel/cpu/common.c load_LDT(&init_mm.context); context 1106 arch/x86/kernel/cpu/common.c load_LDT(&init_mm.context); context 132 arch/x86/kernel/ds.c if (!context) context 135 arch/x86/kernel/ds.c if (context->owner[qual] == current) context 213 arch/x86/kernel/ds.c struct ds_context *context; context 217 arch/x86/kernel/ds.c context = (task ? task->thread.ds_ctx : this_system_context); context 218 arch/x86/kernel/ds.c if (context) context 219 arch/x86/kernel/ds.c context->count++; context 223 arch/x86/kernel/ds.c return context; context 236 arch/x86/kernel/ds.c struct ds_context *context = *p_context; context 238 arch/x86/kernel/ds.c if (!context) { context 239 arch/x86/kernel/ds.c context = kzalloc(sizeof(*context), GFP_KERNEL); context 241 arch/x86/kernel/ds.c if (!context) context 244 arch/x86/kernel/ds.c context->ds = kzalloc(ds_cfg.sizeof_ds, GFP_KERNEL); context 245 arch/x86/kernel/ds.c if (!context->ds) { context 246 arch/x86/kernel/ds.c kfree(context); context 250 arch/x86/kernel/ds.c *p_context = context; context 252 arch/x86/kernel/ds.c context->this = p_context; context 253 arch/x86/kernel/ds.c context->task = task; context 259 arch/x86/kernel/ds.c wrmsr(MSR_IA32_DS_AREA, (unsigned long)context->ds, 0); context 264 arch/x86/kernel/ds.c context->count++; context 266 arch/x86/kernel/ds.c return context; context 275 arch/x86/kernel/ds.c if (!context) context 280 arch/x86/kernel/ds.c if (--context->count) context 283 arch/x86/kernel/ds.c *(context->this) = NULL; context 285 arch/x86/kernel/ds.c if (context->task) context 286 arch/x86/kernel/ds.c clear_tsk_thread_flag(context->task, TIF_DS_AREA_MSR); context 288 arch/x86/kernel/ds.c if (!context->task || (context->task == current)) context 291 arch/x86/kernel/ds.c put_tracer(context->task); context 295 arch/x86/kernel/ds.c kfree(context->buffer[ds_bts]); context 296 arch/x86/kernel/ds.c kfree(context->buffer[ds_pebs]); context 297 arch/x86/kernel/ds.c kfree(context->ds); context 298 arch/x86/kernel/ds.c kfree(context); context 315 arch/x86/kernel/ds.c if (!context) context 318 arch/x86/kernel/ds.c if (context->callback[qual]) context 319 arch/x86/kernel/ds.c (*context->callback[qual])(task); context 368 arch/x86/kernel/ds.c struct ds_context *context; context 391 arch/x86/kernel/ds.c context = ds_alloc_context(task); context 392 arch/x86/kernel/ds.c if (!context) context 396 arch/x86/kernel/ds.c if (context->owner[qual] == current) context 399 arch/x86/kernel/ds.c if (context->owner[qual] != NULL) context 401 arch/x86/kernel/ds.c context->owner[qual] = current; context 408 arch/x86/kernel/ds.c base = ds_allocate_buffer(size, &context->pages[qual]); context 412 arch/x86/kernel/ds.c context->buffer[qual] = base; context 416 arch/x86/kernel/ds.c context->callback[qual] = ovfl; context 435 arch/x86/kernel/ds.c ds_set(context->ds, qual, ds_buffer_base, buffer); context 436 arch/x86/kernel/ds.c ds_set(context->ds, qual, ds_index, buffer); context 437 arch/x86/kernel/ds.c ds_set(context->ds, qual, ds_absolute_maximum, buffer + size); context 442 arch/x86/kernel/ds.c ds_set(context->ds, qual, context 449 arch/x86/kernel/ds.c context->owner[qual] = NULL; context 450 arch/x86/kernel/ds.c ds_put_context(context); context 455 arch/x86/kernel/ds.c ds_put_context(context); context 473 arch/x86/kernel/ds.c struct ds_context *context; context 476 arch/x86/kernel/ds.c context = ds_get_context(task); context 477 arch/x86/kernel/ds.c error = ds_validate_access(context, qual); context 481 arch/x86/kernel/ds.c kfree(context->buffer[qual]); context 482 arch/x86/kernel/ds.c context->buffer[qual] = NULL; context 484 arch/x86/kernel/ds.c current->mm->total_vm -= context->pages[qual]; context 485 arch/x86/kernel/ds.c current->mm->locked_vm -= context->pages[qual]; context 486 arch/x86/kernel/ds.c context->pages[qual] = 0; context 487 arch/x86/kernel/ds.c context->owner[qual] = NULL; context 494 arch/x86/kernel/ds.c ds_put_context(context); context 496 arch/x86/kernel/ds.c ds_put_context(context); context 513 arch/x86/kernel/ds.c struct ds_context *context; context 517 arch/x86/kernel/ds.c context = ds_get_context(task); context 518 arch/x86/kernel/ds.c error = ds_validate_access(context, qual); context 522 arch/x86/kernel/ds.c base = ds_get(context->ds, qual, ds_buffer_base); context 523 arch/x86/kernel/ds.c index = ds_get(context->ds, qual, ds_index); context 529 arch/x86/kernel/ds.c ds_put_context(context); context 546 arch/x86/kernel/ds.c struct ds_context *context; context 550 arch/x86/kernel/ds.c context = ds_get_context(task); context 551 arch/x86/kernel/ds.c error = ds_validate_access(context, qual); context 555 arch/x86/kernel/ds.c base = ds_get(context->ds, qual, ds_buffer_base); context 556 arch/x86/kernel/ds.c end = ds_get(context->ds, qual, ds_absolute_maximum); context 562 arch/x86/kernel/ds.c ds_put_context(context); context 579 arch/x86/kernel/ds.c struct ds_context *context; context 586 arch/x86/kernel/ds.c context = ds_get_context(task); context 587 arch/x86/kernel/ds.c error = ds_validate_access(context, qual); context 591 arch/x86/kernel/ds.c base = ds_get(context->ds, qual, ds_buffer_base); context 595 arch/x86/kernel/ds.c if (idx > ds_get(context->ds, qual, ds_absolute_maximum)) context 601 arch/x86/kernel/ds.c ds_put_context(context); context 618 arch/x86/kernel/ds.c struct ds_context *context; context 625 arch/x86/kernel/ds.c context = ds_get_context(task); context 626 arch/x86/kernel/ds.c if (!context) context 630 arch/x86/kernel/ds.c error = ds_validate_access(context, qual); context 650 arch/x86/kernel/ds.c base = ds_get(context->ds, qual, ds_buffer_base); context 651 arch/x86/kernel/ds.c index = ds_get(context->ds, qual, ds_index); context 652 arch/x86/kernel/ds.c end = ds_get(context->ds, qual, ds_absolute_maximum); context 653 arch/x86/kernel/ds.c int_th = ds_get(context->ds, qual, ds_interrupt_threshold); context 682 arch/x86/kernel/ds.c ds_set(context->ds, qual, ds_index, index); context 685 arch/x86/kernel/ds.c ds_overflow(task, context, qual); context 689 arch/x86/kernel/ds.c ds_put_context(context); context 718 arch/x86/kernel/ds.c struct ds_context *context; context 722 arch/x86/kernel/ds.c context = ds_get_context(task); context 723 arch/x86/kernel/ds.c error = ds_validate_access(context, qual); context 727 arch/x86/kernel/ds.c base = ds_get(context->ds, qual, ds_buffer_base); context 728 arch/x86/kernel/ds.c end = ds_get(context->ds, qual, ds_absolute_maximum); context 733 arch/x86/kernel/ds.c ds_set(context->ds, qual, ds_index, base); context 737 arch/x86/kernel/ds.c ds_put_context(context); context 763 arch/x86/kernel/ds.c struct ds_context *context; context 769 arch/x86/kernel/ds.c context = ds_get_context(task); context 770 arch/x86/kernel/ds.c error = ds_validate_access(context, ds_pebs); context 774 arch/x86/kernel/ds.c *value = *(u64 *)(context->ds + (ds_cfg.sizeof_field * 8)); context 778 arch/x86/kernel/ds.c ds_put_context(context); context 784 arch/x86/kernel/ds.c struct ds_context *context; context 787 arch/x86/kernel/ds.c context = ds_get_context(task); context 788 arch/x86/kernel/ds.c error = ds_validate_access(context, ds_pebs); context 792 arch/x86/kernel/ds.c *(u64 *)(context->ds + (ds_cfg.sizeof_field * 8)) = value; context 796 arch/x86/kernel/ds.c ds_put_context(context); context 860 arch/x86/kernel/ds.c unsigned long leftovers = context->count; context 862 arch/x86/kernel/ds.c ds_put_context(context); context 105 arch/x86/kernel/dumpstack_32.c struct thread_info *context; context 107 arch/x86/kernel/dumpstack_32.c context = (struct thread_info *) context 109 arch/x86/kernel/dumpstack_32.c bp = print_context_stack(context, stack, bp, ops, data, NULL); context 111 arch/x86/kernel/dumpstack_32.c stack = (unsigned long *)context->previous_esp; context 27 arch/x86/kernel/ldt.c load_LDT(¤t->active_mm->context); context 110 arch/x86/kernel/ldt.c mutex_init(&mm->context.lock); context 111 arch/x86/kernel/ldt.c mm->context.size = 0; context 113 arch/x86/kernel/ldt.c if (old_mm && old_mm->context.size > 0) { context 114 arch/x86/kernel/ldt.c mutex_lock(&old_mm->context.lock); context 115 arch/x86/kernel/ldt.c retval = copy_ldt(&mm->context, &old_mm->context); context 116 arch/x86/kernel/ldt.c mutex_unlock(&old_mm->context.lock); context 128 arch/x86/kernel/ldt.c if (mm->context.size) { context 134 arch/x86/kernel/ldt.c paravirt_free_ldt(mm->context.ldt, mm->context.size); context 135 arch/x86/kernel/ldt.c if (mm->context.size * LDT_ENTRY_SIZE > PAGE_SIZE) context 136 arch/x86/kernel/ldt.c vfree(mm->context.ldt); context 138 arch/x86/kernel/ldt.c put_page(virt_to_page(mm->context.ldt)); context 139 arch/x86/kernel/ldt.c mm->context.size = 0; context 149 arch/x86/kernel/ldt.c if (!mm->context.size) context 154 arch/x86/kernel/ldt.c mutex_lock(&mm->context.lock); context 155 arch/x86/kernel/ldt.c size = mm->context.size * LDT_ENTRY_SIZE; context 160 arch/x86/kernel/ldt.c if (copy_to_user(ptr, mm->context.ldt, size)) context 162 arch/x86/kernel/ldt.c mutex_unlock(&mm->context.lock); context 216 arch/x86/kernel/ldt.c mutex_lock(&mm->context.lock); context 217 arch/x86/kernel/ldt.c if (ldt_info.entry_number >= mm->context.size) { context 218 arch/x86/kernel/ldt.c error = alloc_ldt(¤t->mm->context, context 238 arch/x86/kernel/ldt.c write_ldt_entry(mm->context.ldt, ldt_info.entry_number, &ldt); context 242 arch/x86/kernel/ldt.c mutex_unlock(&mm->context.lock); context 274 arch/x86/kernel/process_64.c if (dead_task->mm->context.size) { context 277 arch/x86/kernel/process_64.c dead_task->mm->context.ldt, context 278 arch/x86/kernel/process_64.c dead_task->mm->context.size); context 369 arch/x86/kernel/signal_32.c if (current->mm->context.vdso) context 370 arch/x86/kernel/signal_32.c restorer = VDSO32_SYMBOL(current->mm->context.vdso, sigreturn); context 445 arch/x86/kernel/signal_32.c restorer = VDSO32_SYMBOL(current->mm->context.vdso, rt_sigreturn); context 31 arch/x86/kernel/step.c mutex_lock(&child->mm->context.lock); context 32 arch/x86/kernel/step.c if (unlikely((seg >> 3) >= child->mm->context.size)) context 35 arch/x86/kernel/step.c desc = child->mm->context.ldt + seg; context 45 arch/x86/kernel/step.c mutex_unlock(&child->mm->context.lock); context 1485 arch/x86/kvm/mmu.c struct kvm_mmu *context = &vcpu->arch.mmu; context 1487 arch/x86/kvm/mmu.c context->new_cr3 = nonpaging_new_cr3; context 1488 arch/x86/kvm/mmu.c context->page_fault = nonpaging_page_fault; context 1489 arch/x86/kvm/mmu.c context->gva_to_gpa = nonpaging_gva_to_gpa; context 1490 arch/x86/kvm/mmu.c context->free = nonpaging_free; context 1491 arch/x86/kvm/mmu.c context->prefetch_page = nonpaging_prefetch_page; context 1492 arch/x86/kvm/mmu.c context->root_level = 0; context 1493 arch/x86/kvm/mmu.c context->shadow_root_level = PT32E_ROOT_LEVEL; context 1494 arch/x86/kvm/mmu.c context->root_hpa = INVALID_PAGE; context 1532 arch/x86/kvm/mmu.c struct kvm_mmu *context = &vcpu->arch.mmu; context 1535 arch/x86/kvm/mmu.c context->new_cr3 = paging_new_cr3; context 1536 arch/x86/kvm/mmu.c context->page_fault = paging64_page_fault; context 1537 arch/x86/kvm/mmu.c context->gva_to_gpa = paging64_gva_to_gpa; context 1538 arch/x86/kvm/mmu.c context->prefetch_page = paging64_prefetch_page; context 1539 arch/x86/kvm/mmu.c context->free = paging_free; context 1540 arch/x86/kvm/mmu.c context->root_level = level; context 1541 arch/x86/kvm/mmu.c context->shadow_root_level = level; context 1542 arch/x86/kvm/mmu.c context->root_hpa = INVALID_PAGE; context 1553 arch/x86/kvm/mmu.c struct kvm_mmu *context = &vcpu->arch.mmu; context 1555 arch/x86/kvm/mmu.c context->new_cr3 = paging_new_cr3; context 1556 arch/x86/kvm/mmu.c context->page_fault = paging32_page_fault; context 1557 arch/x86/kvm/mmu.c context->gva_to_gpa = paging32_gva_to_gpa; context 1558 arch/x86/kvm/mmu.c context->free = paging_free; context 1559 arch/x86/kvm/mmu.c context->prefetch_page = paging32_prefetch_page; context 1560 arch/x86/kvm/mmu.c context->root_level = PT32_ROOT_LEVEL; context 1561 arch/x86/kvm/mmu.c context->shadow_root_level = PT32E_ROOT_LEVEL; context 1562 arch/x86/kvm/mmu.c context->root_hpa = INVALID_PAGE; context 1573 arch/x86/kvm/mmu.c struct kvm_mmu *context = &vcpu->arch.mmu; context 1575 arch/x86/kvm/mmu.c context->new_cr3 = nonpaging_new_cr3; context 1576 arch/x86/kvm/mmu.c context->page_fault = tdp_page_fault; context 1577 arch/x86/kvm/mmu.c context->free = nonpaging_free; context 1578 arch/x86/kvm/mmu.c context->prefetch_page = nonpaging_prefetch_page; context 1579 arch/x86/kvm/mmu.c context->shadow_root_level = kvm_x86_ops->get_tdp_level(); context 1580 arch/x86/kvm/mmu.c context->root_hpa = INVALID_PAGE; context 1583 arch/x86/kvm/mmu.c context->gva_to_gpa = nonpaging_gva_to_gpa; context 1584 arch/x86/kvm/mmu.c context->root_level = 0; context 1586 arch/x86/kvm/mmu.c context->gva_to_gpa = paging64_gva_to_gpa; context 1587 arch/x86/kvm/mmu.c context->root_level = PT64_ROOT_LEVEL; context 1589 arch/x86/kvm/mmu.c context->gva_to_gpa = paging64_gva_to_gpa; context 1590 arch/x86/kvm/mmu.c context->root_level = PT32E_ROOT_LEVEL; context 1592 arch/x86/kvm/mmu.c context->gva_to_gpa = paging32_gva_to_gpa; context 1593 arch/x86/kvm/mmu.c context->root_level = PT32_ROOT_LEVEL; context 2094 arch/x86/kvm/x86.c context, rip, opcodes[0], opcodes[1], opcodes[2], opcodes[3]); context 25 arch/x86/math-emu/fpu_system.h #define LDT_DESCRIPTOR(s) (((struct desc_struct *)current->mm->context.ldt)[(s) >> 3]) context 1127 arch/x86/mm/init_64.c if (vma->vm_mm && vma->vm_start == (long)vma->vm_mm->context.vdso) context 285 arch/x86/pci/mmconfig-shared.c struct resource *mcfg_res = context; context 288 arch/x86/pci/mmconfig-shared.c check_mcfg_resource, context); context 80 arch/x86/power/cpu_32.c load_LDT(¤t->active_mm->context); /* This does lldt */ context 159 arch/x86/power/cpu_64.c load_LDT(¤t->active_mm->context); /* This does lldt */ context 361 arch/x86/vdso/vdso32-setup.c current->mm->context.vdso = (void *)addr; context 412 arch/x86/vdso/vdso32-setup.c if (vma->vm_mm && vma->vm_start == (long)vma->vm_mm->context.vdso) context 422 arch/x86/vdso/vdso32-setup.c if (mm && mm->context.vdso == (void *)VDSO_HIGH_BASE) context 126 arch/x86/vdso/vma.c current->mm->context.vdso = (void *)addr; context 325 fs/binfmt_elf_fdpic.c current->mm->context.exec_fdpic_loadmap = 0; context 326 fs/binfmt_elf_fdpic.c current->mm->context.interp_fdpic_loadmap = 0; context 400 fs/binfmt_elf_fdpic.c current->mm->context.end_brk = current->mm->start_brk; context 401 fs/binfmt_elf_fdpic.c current->mm->context.end_brk += context 527 fs/binfmt_elf_fdpic.c current->mm->context.exec_fdpic_loadmap = (unsigned long) sp; context 540 fs/binfmt_elf_fdpic.c current->mm->context.interp_fdpic_loadmap = (unsigned long) sp; context 1375 fs/binfmt_elf_fdpic.c prstatus->pr_exec_fdpic_loadmap = p->mm->context.exec_fdpic_loadmap; context 1376 fs/binfmt_elf_fdpic.c prstatus->pr_interp_fdpic_loadmap = p->mm->context.interp_fdpic_loadmap; context 1533 fs/binfmt_elf_fdpic.c for (vml = current->mm->context.vmlist; vml; vml = vml->next) { context 1653 fs/binfmt_elf_fdpic.c for (vml = current->mm->context.vmlist; vml; vml = vml->next) context 1734 fs/binfmt_elf_fdpic.c vml = current->mm->context.vmlist; vml; vml = vml->next context 686 fs/binfmt_flat.c current->mm->context.end_brk = memp + kobjsize((void *) memp) - stack_len; context 888 fs/binfmt_flat.c p = ((current->mm->context.end_brk + stack_len + 3) & ~3) - 4; context 46 fs/cifs/cifsencrypt.c struct MD5Context context; context 51 fs/cifs/cifsencrypt.c MD5Init(&context); context 52 fs/cifs/cifsencrypt.c MD5Update(&context, (char *)&key->data, key->len); context 53 fs/cifs/cifsencrypt.c MD5Update(&context, cifs_pdu->Protocol, cifs_pdu->smb_buf_length); context 55 fs/cifs/cifsencrypt.c MD5Final(signature, &context); context 93 fs/cifs/cifsencrypt.c struct MD5Context context; context 99 fs/cifs/cifsencrypt.c MD5Init(&context); context 100 fs/cifs/cifsencrypt.c MD5Update(&context, (char *)&key->data, key->len); context 113 fs/cifs/cifsencrypt.c MD5Update(&context, iov[0].iov_base+4, context 116 fs/cifs/cifsencrypt.c MD5Update(&context, iov[i].iov_base, iov[i].iov_len); context 119 fs/cifs/cifsencrypt.c MD5Final(signature, &context); context 386 fs/cifs/cifsencrypt.c struct HMACMD5Context context; context 405 fs/cifs/cifsencrypt.c hmac_md5_init_limK_to_64(ses->server->ntlmv2_hash, 16, &context); context 406 fs/cifs/cifsencrypt.c hmac_md5_update(resp_buf, 16, &context); context 407 fs/cifs/cifsencrypt.c hmac_md5_final(ses->server->mac_signing_key.data.ntlmv2.key, &context); context 417 fs/cifs/cifsencrypt.c struct HMACMD5Context context; context 420 fs/cifs/cifsencrypt.c hmac_md5_init_limK_to_64(ses->server->ntlmv2_hash, 16, &context); context 423 fs/cifs/cifsencrypt.c sizeof(struct ntlmv2_resp) - 8, &context); context 425 fs/cifs/cifsencrypt.c hmac_md5_final(v2_session_response, &context); context 1640 fs/compat_ioctl.c compat_caddr_t context; context 1656 fs/compat_ioctl.c __get_user(uctx, &udis->context)) context 1659 fs/compat_ioctl.c kdis.context = compat_ptr(uctx); context 46 fs/exportfs/expfs.c if (acceptable(context, result)) context 55 fs/exportfs/expfs.c if (dentry != result && acceptable(context, dentry)) { context 389 fs/exportfs/expfs.c if (!acceptable(context, result)) { context 411 fs/exportfs/expfs.c alias = find_acceptable_alias(result, acceptable, context); context 472 fs/exportfs/expfs.c alias = find_acceptable_alias(result, acceptable, context); context 334 fs/nfs/direct.c data->args.context = get_nfs_open_context(ctx); context 567 fs/nfs/direct.c data->args.context = get_nfs_open_context(dreq->ctx); context 750 fs/nfs/direct.c data->args.context = get_nfs_open_context(ctx); context 1163 fs/nfs/nfs4xdr.c encode_stateid(xdr, args->context); context 1348 fs/nfs/nfs4xdr.c encode_stateid(xdr, args->context); context 72 fs/nfs/read.c put_nfs_open_context(rdata->args.context); context 187 fs/nfs/read.c data->args.context = get_nfs_open_context(req->wb_context); context 1542 fs/nfs/super.c memset(data->context, 0, sizeof(data->context)); context 1598 fs/nfs/super.c if (data->context[0]){ context 1601 fs/nfs/super.c char *opts_str = kmalloc(sizeof(data->context) + 8, GFP_KERNEL); context 1605 fs/nfs/super.c data->context[NFS_MAX_CONTEXT_LEN] = '\0'; context 1606 fs/nfs/super.c strcat(opts_str, &data->context[0]); context 98 fs/nfs/write.c put_nfs_open_context(wdata->args.context); context 819 fs/nfs/write.c data->args.context = get_nfs_open_context(req->wb_context); context 1183 fs/nfs/write.c put_nfs_open_context(wdata->args.context); context 1227 fs/nfs/write.c data->args.context = get_nfs_open_context(first->wb_context); context 22 fs/proc/task_nommu.c for (vml = mm->context.vmlist; vml; vml = vml->next) { context 77 fs/proc/task_nommu.c for (tbp = mm->context.vmlist; tbp; tbp = tbp->next) { context 92 fs/proc/task_nommu.c for (tbp = mm->context.vmlist; tbp; tbp = tbp->next) { context 137 fs/proc/task_nommu.c for (vml = mm->context.vmlist; vml; vml = vml->next) context 234 fs/xfs/linux-2.6/xfs_xattr.c ASSERT(context->count >= 0); context 243 fs/xfs/linux-2.6/xfs_xattr.c arraytop = context->count + prefix_len + namelen + 1; context 244 fs/xfs/linux-2.6/xfs_xattr.c if (arraytop > context->firstu) { context 245 fs/xfs/linux-2.6/xfs_xattr.c context->count = -1; /* insufficient space */ context 248 fs/xfs/linux-2.6/xfs_xattr.c offset = (char *)context->alist + context->count; context 254 fs/xfs/linux-2.6/xfs_xattr.c context->count += prefix_len + namelen + 1; context 262 fs/xfs/linux-2.6/xfs_xattr.c context->count += xfs_xattr_prefix_len(flags) + namelen + 1; context 285 fs/xfs/linux-2.6/xfs_xattr.c struct xfs_attr_list_context context; context 293 fs/xfs/linux-2.6/xfs_xattr.c memset(&context, 0, sizeof(context)); context 294 fs/xfs/linux-2.6/xfs_xattr.c context.dp = XFS_I(inode); context 295 fs/xfs/linux-2.6/xfs_xattr.c context.cursor = &cursor; context 296 fs/xfs/linux-2.6/xfs_xattr.c context.resynch = 1; context 297 fs/xfs/linux-2.6/xfs_xattr.c context.alist = data; context 298 fs/xfs/linux-2.6/xfs_xattr.c context.bufsize = size; context 299 fs/xfs/linux-2.6/xfs_xattr.c context.firstu = context.bufsize; context 302 fs/xfs/linux-2.6/xfs_xattr.c context.put_listent = xfs_xattr_put_listent; context 304 fs/xfs/linux-2.6/xfs_xattr.c context.put_listent = xfs_xattr_put_listent_sizes; context 306 fs/xfs/linux-2.6/xfs_xattr.c xfs_attr_list_int(&context); context 307 fs/xfs/linux-2.6/xfs_xattr.c if (context.count < 0) context 316 fs/xfs/linux-2.6/xfs_xattr.c data, size, &context.count); context 324 fs/xfs/linux-2.6/xfs_xattr.c data, size, &context.count); context 329 fs/xfs/linux-2.6/xfs_xattr.c return context.count; context 630 fs/xfs/xfs_attr.c xfs_inode_t *dp = context->dp; context 638 fs/xfs/xfs_attr.c xfs_attr_trace_l_c("syscall start", context); context 646 fs/xfs/xfs_attr.c error = xfs_attr_shortform_list(context); context 648 fs/xfs/xfs_attr.c error = xfs_attr_leaf_list(context); context 650 fs/xfs/xfs_attr.c error = xfs_attr_node_list(context); context 654 fs/xfs/xfs_attr.c xfs_attr_trace_l_c("syscall end", context); context 676 fs/xfs/xfs_attr.c struct attrlist *alist = (struct attrlist *)context->alist; context 680 fs/xfs/xfs_attr.c ASSERT(!(context->flags & ATTR_KERNOVAL)); context 681 fs/xfs/xfs_attr.c ASSERT(context->count >= 0); context 682 fs/xfs/xfs_attr.c ASSERT(context->count < (ATTR_MAX_VALUELEN/8)); context 683 fs/xfs/xfs_attr.c ASSERT(context->firstu >= sizeof(*alist)); context 684 fs/xfs/xfs_attr.c ASSERT(context->firstu <= context->bufsize); context 689 fs/xfs/xfs_attr.c if (((context->flags & ATTR_SECURE) == 0) != context 692 fs/xfs/xfs_attr.c if (((context->flags & ATTR_ROOT) == 0) != context 697 fs/xfs/xfs_attr.c context->count * sizeof(alist->al_offset[0]); context 698 fs/xfs/xfs_attr.c context->firstu -= ATTR_ENTSIZE(namelen); context 699 fs/xfs/xfs_attr.c if (context->firstu < arraytop) { context 700 fs/xfs/xfs_attr.c xfs_attr_trace_l_c("buffer full", context); context 702 fs/xfs/xfs_attr.c context->seen_enough = 1; context 706 fs/xfs/xfs_attr.c aep = (attrlist_ent_t *)&context->alist[context->firstu]; context 710 fs/xfs/xfs_attr.c alist->al_offset[context->count++] = context->firstu; context 711 fs/xfs/xfs_attr.c alist->al_count = context->count; context 712 fs/xfs/xfs_attr.c xfs_attr_trace_l_c("add", context); context 731 fs/xfs/xfs_attr.c xfs_attr_list_context_t context; context 755 fs/xfs/xfs_attr.c memset(&context, 0, sizeof(context)); context 756 fs/xfs/xfs_attr.c context.dp = dp; context 757 fs/xfs/xfs_attr.c context.cursor = cursor; context 758 fs/xfs/xfs_attr.c context.resynch = 1; context 759 fs/xfs/xfs_attr.c context.flags = flags; context 760 fs/xfs/xfs_attr.c context.alist = buffer; context 761 fs/xfs/xfs_attr.c context.bufsize = (bufsize & ~(sizeof(int)-1)); /* align */ context 762 fs/xfs/xfs_attr.c context.firstu = context.bufsize; context 763 fs/xfs/xfs_attr.c context.put_listent = xfs_attr_put_listent; context 765 fs/xfs/xfs_attr.c alist = (struct attrlist *)context.alist; context 768 fs/xfs/xfs_attr.c alist->al_offset[0] = context.bufsize; context 770 fs/xfs/xfs_attr.c error = xfs_attr_list_int(&context); context 1207 fs/xfs/xfs_attr.c context->cursor->blkno = 0; context 1208 fs/xfs/xfs_attr.c error = xfs_da_read_buf(NULL, context->dp, 0, -1, &bp, XFS_ATTR_FORK); context 1215 fs/xfs/xfs_attr.c context->dp->i_mount, leaf); context 1220 fs/xfs/xfs_attr.c error = xfs_attr_leaf_list_int(bp, context); context 1833 fs/xfs/xfs_attr.c cursor = context->cursor; context 1843 fs/xfs/xfs_attr.c error = xfs_da_read_buf(NULL, context->dp, cursor->blkno, -1, context 1851 fs/xfs/xfs_attr.c xfs_attr_trace_l_cn("wrong blk", context, node); context 1860 fs/xfs/xfs_attr.c context, leaf); context 1866 fs/xfs/xfs_attr.c context, leaf); context 1872 fs/xfs/xfs_attr.c xfs_attr_trace_l_c("wrong blk - ??", context); context 1887 fs/xfs/xfs_attr.c error = xfs_da_read_buf(NULL, context->dp, context 1895 fs/xfs/xfs_attr.c context->dp->i_mount); context 1906 fs/xfs/xfs_attr.c context->dp->i_mount, context 1918 fs/xfs/xfs_attr.c context, btree); context 1942 fs/xfs/xfs_attr.c context->dp->i_mount, leaf); context 1946 fs/xfs/xfs_attr.c error = xfs_attr_leaf_list_int(bp, context); context 1951 fs/xfs/xfs_attr.c if (context->seen_enough || leaf->hdr.info.forw == 0) context 1955 fs/xfs/xfs_attr.c error = xfs_da_read_buf(NULL, context->dp, cursor->blkno, -1, context 1962 fs/xfs/xfs_attr.c context->dp->i_mount); context 2274 fs/xfs/xfs_attr.c xfs_attr_trace_enter(XFS_ATTR_KTRACE_L_C, where, context, context 2287 fs/xfs/xfs_attr.c xfs_attr_trace_enter(XFS_ATTR_KTRACE_L_CN, where, context, context 2301 fs/xfs/xfs_attr.c xfs_attr_trace_enter(XFS_ATTR_KTRACE_L_CB, where, context, context 2314 fs/xfs/xfs_attr.c xfs_attr_trace_enter(XFS_ATTR_KTRACE_L_CL, where, context, context 2334 fs/xfs/xfs_attr.c (void *)((__psunsigned_t)context->dp), context 2335 fs/xfs/xfs_attr.c (void *)((__psunsigned_t)context->cursor->hashval), context 2336 fs/xfs/xfs_attr.c (void *)((__psunsigned_t)context->cursor->blkno), context 2337 fs/xfs/xfs_attr.c (void *)((__psunsigned_t)context->cursor->offset), context 2338 fs/xfs/xfs_attr.c (void *)((__psunsigned_t)context->alist), context 2339 fs/xfs/xfs_attr.c (void *)((__psunsigned_t)context->bufsize), context 2340 fs/xfs/xfs_attr.c (void *)((__psunsigned_t)context->count), context 2341 fs/xfs/xfs_attr.c (void *)((__psunsigned_t)context->firstu), context 2343 fs/xfs/xfs_attr.c (void *)((__psunsigned_t)context->dupcnt), context 2344 fs/xfs/xfs_attr.c (void *)((__psunsigned_t)context->flags), context 577 fs/xfs/xfs_attr_leaf.c ASSERT(context != NULL); context 578 fs/xfs/xfs_attr_leaf.c dp = context->dp; context 585 fs/xfs/xfs_attr_leaf.c cursor = context->cursor; context 588 fs/xfs/xfs_attr_leaf.c xfs_attr_trace_l_c("sf start", context); context 599 fs/xfs/xfs_attr_leaf.c if (context->bufsize == 0 || context 601 fs/xfs/xfs_attr_leaf.c (dp->i_afp->if_bytes + sf->hdr.count * 16) < context->bufsize)) { context 603 fs/xfs/xfs_attr_leaf.c error = context->put_listent(context, context 614 fs/xfs/xfs_attr_leaf.c if (context->seen_enough) context 621 fs/xfs/xfs_attr_leaf.c xfs_attr_trace_l_c("sf big-gulp", context); context 626 fs/xfs/xfs_attr_leaf.c if (context->bufsize == 0) context 646 fs/xfs/xfs_attr_leaf.c context->dp->i_mount, sfe); context 647 fs/xfs/xfs_attr_leaf.c xfs_attr_trace_l_c("sf corrupted", context); context 687 fs/xfs/xfs_attr_leaf.c xfs_attr_trace_l_c("blk end", context); context 699 fs/xfs/xfs_attr_leaf.c error = context->put_listent(context, context 707 fs/xfs/xfs_attr_leaf.c if (context->seen_enough) context 713 fs/xfs/xfs_attr_leaf.c xfs_attr_trace_l_c("sf E-O-F", context); context 2327 fs/xfs/xfs_attr_leaf.c cursor = context->cursor; context 2330 fs/xfs/xfs_attr_leaf.c xfs_attr_trace_l_cl("blk start", context, leaf); context 2335 fs/xfs/xfs_attr_leaf.c if (context->resynch) { context 2339 fs/xfs/xfs_attr_leaf.c if (cursor->offset == context->dupcnt) { context 2340 fs/xfs/xfs_attr_leaf.c context->dupcnt = 0; context 2343 fs/xfs/xfs_attr_leaf.c context->dupcnt++; context 2346 fs/xfs/xfs_attr_leaf.c context->dupcnt = 0; context 2351 fs/xfs/xfs_attr_leaf.c xfs_attr_trace_l_c("not found", context); context 2358 fs/xfs/xfs_attr_leaf.c context->resynch = 0; context 2377 fs/xfs/xfs_attr_leaf.c retval = context->put_listent(context, context 2391 fs/xfs/xfs_attr_leaf.c if (context->put_value) { context 2395 fs/xfs/xfs_attr_leaf.c args.dp = context->dp; context 2404 fs/xfs/xfs_attr_leaf.c retval = context->put_listent(context, context 2412 fs/xfs/xfs_attr_leaf.c retval = context->put_listent(context, context 2422 fs/xfs/xfs_attr_leaf.c if (context->seen_enough) context 2426 fs/xfs/xfs_attr_leaf.c xfs_attr_trace_l_cl("blk end", context, leaf); context 353 include/acpi/aclocal.h void *context; /* Context to be passed to handler */ context 422 include/acpi/aclocal.h void *context; /* Context to be passed to handler */ context 286 include/acpi/acobject.h void *context; context 294 include/acpi/acobject.h void *context; context 150 include/acpi/acstruct.h void *context; context 30 include/asm-cris/arch-v32/hwregs/dma.h struct dma_descr_context *context; context 38 include/asm-frv/mmu_context.h change_mm_context(&prev->context, &next->context, next->pgd); \ context 43 include/asm-frv/mmu_context.h change_mm_context(&prev->context, &next->context, next->pgd); \ context 38 include/asm-frv/tlbflush.h __flush_tlb_mm((mm)->context.id); \ context 45 include/asm-frv/tlbflush.h __flush_tlb_range((vma)->vm_mm->context.id, start, end); \ context 52 include/asm-frv/tlbflush.h __flush_tlb_page((vma)->vm_mm->context.id, addr); \ context 217 include/asm-m32r/assembler.h ;; called from user context: previous stack = spu context 26 include/asm-m32r/mmu_context.h #define mm_context(mm) mm->context context 30 include/asm-m32r/mmu_context.h #define mm_context(mm) mm->context[smp_processor_id()] context 78 include/asm-m32r/mmu_context.h mm->context = NO_CONTEXT; context 84 include/asm-m32r/mmu_context.h mm->context[i] = NO_CONTEXT; context 19 include/asm-m68k/mmu_context.h mm->context = virt_to_phys(mm->pgd); context 28 include/asm-m68k/mmu_context.h 0x80000000 | _PAGE_TABLE, mm->context context 66 include/asm-m68k/mmu_context.h asm volatile ("movec %0,%%urp" : : "r" (mm->context)); context 97 include/asm-m68k/mmu_context.h next_mm->context = virt_to_phys(next_mm->pgd); context 115 include/asm-m68k/mmu_context.h mm->context = SUN3_INVALID_CONTEXT; context 123 include/asm-m68k/mmu_context.h if(mm->context == SUN3_INVALID_CONTEXT) context 124 include/asm-m68k/mmu_context.h mm->context = get_free_context(mm); context 130 include/asm-m68k/mmu_context.h if(mm->context != SUN3_INVALID_CONTEXT) context 131 include/asm-m68k/mmu_context.h clear_context(mm->context); context 137 include/asm-m68k/mmu_context.h sun3_put_context(mm->context); context 140 include/asm-m68k/tlbflush.h sun3_put_context(mm->context); context 166 include/asm-m68k/tlbflush.h sun3_put_context(vma->vm_mm->context); context 189 include/asm-m68k/tlbflush.h sun3_put_context(mm->context); context 195 include/asm-m68k/tlbflush.h if(pmeg_ctx[seg] == mm->context) { context 36 include/asm-mn10300/mmu_context.h #define mm_context(mm) (mm->context.tlbpid[smp_processor_id()]) context 99 include/asm-mn10300/mmu_context.h mm->context.tlbpid[i] = MMU_NO_CONTEXT; context 26 include/asm-parisc/mmu_context.h mm->context = alloc_sid(); context 33 include/asm-parisc/mmu_context.h free_sid(mm->context); context 34 include/asm-parisc/mmu_context.h mm->context = 0; context 39 include/asm-parisc/mmu_context.h mtsp(context, 3); context 41 include/asm-parisc/mmu_context.h mtctl(context << 1,8); context 43 include/asm-parisc/mmu_context.h mtctl(context >> (SPACEID_SHIFT - 1),8); context 52 include/asm-parisc/mmu_context.h load_context(next->context); context 70 include/asm-parisc/mmu_context.h if (next->context == 0) context 71 include/asm-parisc/mmu_context.h next->context = alloc_sid(); context 191 include/asm-parisc/processor.h __u32 spaceid = (__u32)current->mm->context; \ context 295 include/asm-parisc/processor.h __u32 spaceid = (__u32)current->mm->context; \ context 51 include/asm-parisc/tlbflush.h if (mm->context != 0) context 52 include/asm-parisc/tlbflush.h free_sid(mm->context); context 53 include/asm-parisc/tlbflush.h mm->context = alloc_sid(); context 55 include/asm-parisc/tlbflush.h load_context(mm->context); context 66 include/asm-parisc/tlbflush.h mtsp(vma->vm_mm->context,1); context 76 include/asm-parisc/tlbflush.h #define flush_tlb_range(vma,start,end) __flush_tlb_range((vma)->vm_mm->context,start,end) context 28 include/asm-um/mmu_context.h __switch_mm(&new->context.id); context 41 include/asm-um/mmu_context.h __switch_mm(&next->context.id); context 308 include/asm-x86/elf.h (unsigned long)current->mm->context.vdso); \ context 319 include/asm-x86/elf.h #define VDSO_CURRENT_BASE ((unsigned long)current->mm->context.vdso) context 34 include/asm-x86/mmu_context_32.h if (unlikely(prev->context.ldt != next->context.ldt)) context 35 include/asm-x86/mmu_context_32.h load_LDT_nolock(&next->context); context 47 include/asm-x86/mmu_context_32.h load_LDT_nolock(&next->context); context 28 include/asm-x86/mmu_context_64.h if (unlikely(next->context.ldt != prev->context.ldt)) context 29 include/asm-x86/mmu_context_64.h load_LDT_nolock(&next->context); context 42 include/asm-x86/mmu_context_64.h load_LDT_nolock(&next->context); context 69 include/asm-xtensa/mmu_context.h mm->context = asid_cache; context 75 include/asm-xtensa/mmu_context.h set_rasid_register(ASID_INSERT(mm->context)); context 87 include/asm-xtensa/mmu_context.h mm->context = NO_CONTEXT; context 112 include/asm-xtensa/mmu_context.h if (next->context == NO_CONTEXT || ((next->context^asid) & ~ASID_MASK)) context 295 include/drm/drm.h int context; context 396 include/drm/drm.h int context; /**< Context handle */ context 320 include/drm/drmP.h int context; /**< Kernel queue for this buffer */ context 488 include/drm/drmP.h int context; context 578 include/drm/drmP.h int (*context_ctor) (struct drm_device *dev, int context); context 579 include/drm/drmP.h int (*context_dtor) (struct drm_device *dev, int context); context 420 include/drm/radeon_drm.h drm_radeon_context_regs_t context; context 53 include/drm/sis_drm.h int context; context 127 include/drm/via_drm.h uint32_t context; context 13 include/linux/compiler.h # define __acquires(x) __attribute__((context(x,0,1))) context 14 include/linux/compiler.h # define __releases(x) __attribute__((context(x,1,0))) context 24 include/linux/dm-dirty-log.h void *context; context 52 include/linux/dm-io.h void *context; /* Passed to callback */ context 10 include/linux/i2c/max732x.h void *context; /* param to setup/teardown */ context 14 include/linux/i2c/max732x.h void *context); context 17 include/linux/i2c/max732x.h void *context); context 10 include/linux/i2c/pca953x.h void *context; /* param to setup/teardown */ context 14 include/linux/i2c/pca953x.h void *context); context 17 include/linux/i2c/pca953x.h void *context); context 37 include/linux/i2c/pcf857x.h void *context); context 40 include/linux/i2c/pcf857x.h void *context); context 41 include/linux/i2c/pcf857x.h void *context; context 180 include/linux/i2c/tps65010.h int (*setup)(struct i2c_client *client, void *context); context 181 include/linux/i2c/tps65010.h int (*teardown)(struct i2c_client *client, void *context); context 182 include/linux/i2c/tps65010.h void *context; context 457 include/linux/i2o.h int context; /* Low 8 bits of the transaction info */ context 511 include/linux/i2o.h u32 context; context 660 include/linux/i2o.h return (void *)context; context 49 include/linux/mlx4/driver.h void (*remove)(struct mlx4_dev *dev, void *context); context 50 include/linux/mlx4/driver.h void (*event) (struct mlx4_dev *dev, void *context, context 220 include/linux/mm_types.h mm_context_t context; context 45 include/linux/nfs_mount.h char context[NFS_MAX_CONTEXT_LEN + 1]; /* 6 */ context 248 include/linux/nfs_xdr.h struct nfs_open_context *context; context 266 include/linux/nfs_xdr.h struct nfs_open_context *context; context 1545 include/linux/security.h struct task_struct *context, context 23 include/linux/spi/mcp23s08.h void *context; /* param to setup/teardown */ context 27 include/linux/spi/mcp23s08.h void *context); context 30 include/linux/spi/mcp23s08.h void *context); context 455 include/linux/spi/spi.h void (*complete)(void *context); context 456 include/linux/spi/spi.h void *context; context 1345 include/linux/usb.h void *context; /* (in) context for completion */ context 1382 include/linux/usb.h urb->context = context; context 1411 include/linux/usb.h urb->context = context; context 1446 include/linux/usb.h urb->context = context; context 88 include/linux/usb/gadget.h void *context; context 63 include/linux/usbdevice_fs.h void __user *context; context 146 include/net/irda/irda_device.h void *context; /* May be used by drivers */ context 283 include/rdma/ib_cm.h void *context; context 243 include/rdma/ib_mad.h void *context[2]; context 359 include/rdma/ib_mad.h void *context; context 302 include/rdma/ib_sa.h void *context; context 43 include/rdma/ib_umem.h struct ib_ucontext *context; context 822 include/rdma/ib_verbs.h struct ib_ucontext *context; /* associated user context */ context 1019 include/rdma/ib_verbs.h int (*dealloc_ucontext)(struct ib_ucontext *context); context 1020 include/rdma/ib_verbs.h int (*mmap)(struct ib_ucontext *context, context 1023 include/rdma/ib_verbs.h struct ib_ucontext *context, context 1066 include/rdma/ib_verbs.h struct ib_ucontext *context, context 91 include/rdma/iw_cm.h void *context; /* client cb context */ context 129 include/rdma/rdma_cm.h void *context; context 244 include/sound/cs46xx_dsp_task_types.h struct dsp_hf_save_area context; context 730 kernel/auditsc.c struct audit_context *context = tsk->audit_context; context 732 kernel/auditsc.c if (likely(!context)) context 734 kernel/auditsc.c context->return_valid = return_valid; context 750 kernel/auditsc.c context->return_code = -EINTR; context 752 kernel/auditsc.c context->return_code = return_code; context 754 kernel/auditsc.c if (context->in_syscall && !context->dummy && !context->auditable) { context 757 kernel/auditsc.c state = audit_filter_syscall(tsk, context, &audit_filter_list[AUDIT_FILTER_EXIT]); context 759 kernel/auditsc.c context->auditable = 1; context 763 kernel/auditsc.c state = audit_filter_inodes(tsk, context); context 765 kernel/auditsc.c context->auditable = 1; context 772 kernel/auditsc.c return context; context 780 kernel/auditsc.c if (context->auditable context 781 kernel/auditsc.c ||context->put_count + context->ino_count != context->name_count) { context 786 kernel/auditsc.c context->serial, context->major, context->in_syscall, context 787 kernel/auditsc.c context->name_count, context->put_count, context 788 kernel/auditsc.c context->ino_count); context 789 kernel/auditsc.c for (i = 0; i < context->name_count; i++) { context 791 kernel/auditsc.c context->names[i].name, context 792 kernel/auditsc.c context->names[i].name ?: "(null)"); context 799 kernel/auditsc.c context->put_count = 0; context 800 kernel/auditsc.c context->ino_count = 0; context 803 kernel/auditsc.c for (i = 0; i < context->name_count; i++) { context 804 kernel/auditsc.c if (context->names[i].name && context->names[i].name_put) context 805 kernel/auditsc.c __putname(context->names[i].name); context 807 kernel/auditsc.c context->name_count = 0; context 808 kernel/auditsc.c path_put(&context->pwd); context 809 kernel/auditsc.c context->pwd.dentry = NULL; context 810 kernel/auditsc.c context->pwd.mnt = NULL; context 817 kernel/auditsc.c while ((aux = context->aux)) { context 818 kernel/auditsc.c context->aux = aux->next; context 821 kernel/auditsc.c while ((aux = context->aux_pids)) { context 822 kernel/auditsc.c context->aux_pids = aux->next; context 830 kernel/auditsc.c memset(context, 0, sizeof(*context)); context 831 kernel/auditsc.c context->state = state; context 836 kernel/auditsc.c struct audit_context *context; context 838 kernel/auditsc.c if (!(context = kmalloc(sizeof(*context), GFP_KERNEL))) context 840 kernel/auditsc.c audit_zero_context(context, state); context 841 kernel/auditsc.c return context; context 855 kernel/auditsc.c struct audit_context *context; context 865 kernel/auditsc.c if (!(context = audit_alloc_context(state))) { context 870 kernel/auditsc.c tsk->audit_context = context; context 881 kernel/auditsc.c previous = context->previous; context 886 kernel/auditsc.c context->serial, context->major, context 887 kernel/auditsc.c context->name_count, count); context 889 kernel/auditsc.c audit_free_names(context); context 890 kernel/auditsc.c unroll_tree_refs(context, NULL, 0); context 891 kernel/auditsc.c free_tree_refs(context); context 892 kernel/auditsc.c audit_free_aux(context); context 893 kernel/auditsc.c kfree(context->filterkey); context 894 kernel/auditsc.c kfree(context); context 895 kernel/auditsc.c context = previous; context 896 kernel/auditsc.c } while (context); context 968 kernel/auditsc.c ab = audit_log_start(context, GFP_KERNEL, AUDIT_OBJ_PID); context 1084 kernel/auditsc.c *ab = audit_log_start(context, GFP_KERNEL, AUDIT_EXECVE); context 1165 kernel/auditsc.c len = audit_log_single_execve_arg(context, ab, i, context 1182 kernel/auditsc.c context->pid = tsk->pid; context 1183 kernel/auditsc.c if (!context->ppid) context 1184 kernel/auditsc.c context->ppid = sys_getppid(); context 1185 kernel/auditsc.c context->uid = tsk->uid; context 1186 kernel/auditsc.c context->gid = tsk->gid; context 1187 kernel/auditsc.c context->euid = tsk->euid; context 1188 kernel/auditsc.c context->suid = tsk->suid; context 1189 kernel/auditsc.c context->fsuid = tsk->fsuid; context 1190 kernel/auditsc.c context->egid = tsk->egid; context 1191 kernel/auditsc.c context->sgid = tsk->sgid; context 1192 kernel/auditsc.c context->fsgid = tsk->fsgid; context 1193 kernel/auditsc.c context->personality = tsk->personality; context 1195 kernel/auditsc.c ab = audit_log_start(context, GFP_KERNEL, AUDIT_SYSCALL); context 1199 kernel/auditsc.c context->arch, context->major); context 1200 kernel/auditsc.c if (context->personality != PER_LINUX) context 1201 kernel/auditsc.c audit_log_format(ab, " per=%lx", context->personality); context 1202 kernel/auditsc.c if (context->return_valid) context 1204 kernel/auditsc.c (context->return_valid==AUDITSC_SUCCESS)?"yes":"no", context 1205 kernel/auditsc.c context->return_code); context 1219 kernel/auditsc.c context->argv[0], context 1220 kernel/auditsc.c context->argv[1], context 1221 kernel/auditsc.c context->argv[2], context 1222 kernel/auditsc.c context->argv[3], context 1223 kernel/auditsc.c context->name_count, context 1224 kernel/auditsc.c context->ppid, context 1225 kernel/auditsc.c context->pid, context 1227 kernel/auditsc.c context->uid, context 1228 kernel/auditsc.c context->gid, context 1229 kernel/auditsc.c context->euid, context->suid, context->fsuid, context 1230 kernel/auditsc.c context->egid, context->sgid, context->fsgid, tty, context 1235 kernel/auditsc.c if (context->filterkey) { context 1237 kernel/auditsc.c audit_log_untrustedstring(ab, context->filterkey); context 1242 kernel/auditsc.c for (aux = context->aux; aux; aux = aux->next) { context 1244 kernel/auditsc.c ab = audit_log_start(context, GFP_KERNEL, aux->type); context 1315 kernel/auditsc.c audit_log_execve_info(context, &ab, axi); context 1341 kernel/auditsc.c for (aux = context->aux_pids; aux; aux = aux->next) { context 1345 kernel/auditsc.c if (audit_log_pid_context(context, axs->target_pid[i], context 1354 kernel/auditsc.c if (context->target_pid && context 1355 kernel/auditsc.c audit_log_pid_context(context, context->target_pid, context 1356 kernel/auditsc.c context->target_auid, context->target_uid, context 1357 kernel/auditsc.c context->target_sessionid, context 1358 kernel/auditsc.c context->target_sid, context->target_comm)) context 1361 kernel/auditsc.c if (context->pwd.dentry && context->pwd.mnt) { context 1362 kernel/auditsc.c ab = audit_log_start(context, GFP_KERNEL, AUDIT_CWD); context 1364 kernel/auditsc.c audit_log_d_path(ab, "cwd=", &context->pwd); context 1368 kernel/auditsc.c for (i = 0; i < context->name_count; i++) { context 1369 kernel/auditsc.c struct audit_names *n = &context->names[i]; context 1371 kernel/auditsc.c ab = audit_log_start(context, GFP_KERNEL, AUDIT_PATH); context 1387 kernel/auditsc.c audit_log_d_path(ab, " name=", &context->pwd); context 1428 kernel/auditsc.c ab = audit_log_start(context, GFP_KERNEL, AUDIT_EOE); context 1443 kernel/auditsc.c struct audit_context *context; context 1445 kernel/auditsc.c context = audit_get_context(tsk, 0, 0); context 1446 kernel/auditsc.c if (likely(!context)) context 1454 kernel/auditsc.c if (context->in_syscall && context->auditable) context 1455 kernel/auditsc.c audit_log_exit(context, tsk); context 1457 kernel/auditsc.c audit_free_context(context); context 1483 kernel/auditsc.c struct audit_context *context = tsk->audit_context; context 1486 kernel/auditsc.c if (unlikely(!context)) context 1503 kernel/auditsc.c if (context->in_syscall) { context 1510 kernel/auditsc.c context->serial, tsk->pid, context->major, major); context 1512 kernel/auditsc.c newctx = audit_alloc_context(context->state); context 1514 kernel/auditsc.c newctx->previous = context; context 1515 kernel/auditsc.c context = newctx; context 1522 kernel/auditsc.c audit_zero_context(context, context->state); context 1525 kernel/auditsc.c BUG_ON(context->in_syscall || context->name_count); context 1530 kernel/auditsc.c context->arch = arch; context 1531 kernel/auditsc.c context->major = major; context 1532 kernel/auditsc.c context->argv[0] = a1; context 1533 kernel/auditsc.c context->argv[1] = a2; context 1534 kernel/auditsc.c context->argv[2] = a3; context 1535 kernel/auditsc.c context->argv[3] = a4; context 1537 kernel/auditsc.c state = context->state; context 1538 kernel/auditsc.c context->dummy = !audit_n_rules; context 1539 kernel/auditsc.c if (!context->dummy && (state == AUDIT_SETUP_CONTEXT || state == AUDIT_BUILD_CONTEXT)) context 1540 kernel/auditsc.c state = audit_filter_syscall(tsk, context, &audit_filter_list[AUDIT_FILTER_ENTRY]); context 1544 kernel/auditsc.c context->serial = 0; context 1545 kernel/auditsc.c context->ctime = CURRENT_TIME; context 1546 kernel/auditsc.c context->in_syscall = 1; context 1547 kernel/auditsc.c context->auditable = !!(state == AUDIT_RECORD_CONTEXT); context 1548 kernel/auditsc.c context->ppid = 0; context 1566 kernel/auditsc.c struct audit_context *context; context 1568 kernel/auditsc.c context = audit_get_context(tsk, valid, return_code); context 1570 kernel/auditsc.c if (likely(!context)) context 1573 kernel/auditsc.c if (context->in_syscall && context->auditable) context 1574 kernel/auditsc.c audit_log_exit(context, tsk); context 1576 kernel/auditsc.c context->in_syscall = 0; context 1577 kernel/auditsc.c context->auditable = 0; context 1579 kernel/auditsc.c if (context->previous) { context 1580 kernel/auditsc.c struct audit_context *new_context = context->previous; context 1581 kernel/auditsc.c context->previous = NULL; context 1582 kernel/auditsc.c audit_free_context(context); context 1585 kernel/auditsc.c audit_free_names(context); context 1586 kernel/auditsc.c unroll_tree_refs(context, NULL, 0); context 1587 kernel/auditsc.c audit_free_aux(context); context 1588 kernel/auditsc.c context->aux = NULL; context 1589 kernel/auditsc.c context->aux_pids = NULL; context 1590 kernel/auditsc.c context->target_pid = 0; context 1591 kernel/auditsc.c context->target_sid = 0; context 1592 kernel/auditsc.c kfree(context->filterkey); context 1593 kernel/auditsc.c context->filterkey = NULL; context 1594 kernel/auditsc.c tsk->audit_context = context; context 1601 kernel/auditsc.c struct audit_context *context; context 1607 kernel/auditsc.c context = current->audit_context; context 1608 kernel/auditsc.c p = context->trees; context 1609 kernel/auditsc.c count = context->tree_count; context 1615 kernel/auditsc.c if (likely(put_tree_ref(context, chunk))) context 1617 kernel/auditsc.c if (unlikely(!grow_tree_refs(context))) { context 1619 kernel/auditsc.c audit_set_auditable(context); context 1621 kernel/auditsc.c unroll_tree_refs(context, p, count); context 1624 kernel/auditsc.c put_tree_ref(context, chunk); context 1631 kernel/auditsc.c struct audit_context *context; context 1638 kernel/auditsc.c context = current->audit_context; context 1639 kernel/auditsc.c p = context->trees; context 1640 kernel/auditsc.c count = context->tree_count; context 1652 kernel/auditsc.c if (unlikely(!put_tree_ref(context, chunk))) { context 1667 kernel/auditsc.c unroll_tree_refs(context, p, count); context 1671 kernel/auditsc.c if (grow_tree_refs(context)) { context 1673 kernel/auditsc.c unroll_tree_refs(context, p, count); context 1679 kernel/auditsc.c unroll_tree_refs(context, p, count); context 1680 kernel/auditsc.c audit_set_auditable(context); context 1696 kernel/auditsc.c struct audit_context *context = current->audit_context; context 1701 kernel/auditsc.c if (!context->in_syscall) { context 1704 kernel/auditsc.c __FILE__, __LINE__, context->serial, name); context 1709 kernel/auditsc.c BUG_ON(context->name_count >= AUDIT_NAMES); context 1710 kernel/auditsc.c context->names[context->name_count].name = name; context 1711 kernel/auditsc.c context->names[context->name_count].name_len = AUDIT_NAME_FULL; context 1712 kernel/auditsc.c context->names[context->name_count].name_put = 1; context 1713 kernel/auditsc.c context->names[context->name_count].ino = (unsigned long)-1; context 1714 kernel/auditsc.c context->names[context->name_count].osid = 0; context 1715 kernel/auditsc.c ++context->name_count; context 1716 kernel/auditsc.c if (!context->pwd.dentry) { context 1718 kernel/auditsc.c context->pwd = current->fs->pwd; context 1734 kernel/auditsc.c struct audit_context *context = current->audit_context; context 1736 kernel/auditsc.c BUG_ON(!context); context 1737 kernel/auditsc.c if (!context->in_syscall) { context 1740 kernel/auditsc.c __FILE__, __LINE__, context->serial, name); context 1741 kernel/auditsc.c if (context->name_count) { context 1743 kernel/auditsc.c for (i = 0; i < context->name_count; i++) context 1745 kernel/auditsc.c context->names[i].name, context 1746 kernel/auditsc.c context->names[i].name ?: "(null)"); context 1753 kernel/auditsc.c ++context->put_count; context 1754 kernel/auditsc.c if (context->put_count > context->name_count) { context 1759 kernel/auditsc.c context->serial, context->major, context 1760 kernel/auditsc.c context->in_syscall, name, context->name_count, context 1761 kernel/auditsc.c context->put_count); context 1771 kernel/auditsc.c if (context->name_count >= AUDIT_NAMES) { context 1783 kernel/auditsc.c context->name_count++; context 1785 kernel/auditsc.c context->ino_count++; context 1812 kernel/auditsc.c struct audit_context *context = current->audit_context; context 1815 kernel/auditsc.c if (!context->in_syscall) context 1817 kernel/auditsc.c if (context->name_count context 1818 kernel/auditsc.c && context->names[context->name_count-1].name context 1819 kernel/auditsc.c && context->names[context->name_count-1].name == name) context 1820 kernel/auditsc.c idx = context->name_count - 1; context 1821 kernel/auditsc.c else if (context->name_count > 1 context 1822 kernel/auditsc.c && context->names[context->name_count-2].name context 1823 kernel/auditsc.c && context->names[context->name_count-2].name == name) context 1824 kernel/auditsc.c idx = context->name_count - 2; context 1828 kernel/auditsc.c if (audit_inc_name_count(context, inode)) context 1830 kernel/auditsc.c idx = context->name_count - 1; context 1831 kernel/auditsc.c context->names[idx].name = NULL; context 1834 kernel/auditsc.c audit_copy_inode(&context->names[idx], inode); context 1855 kernel/auditsc.c struct audit_context *context = current->audit_context; context 1860 kernel/auditsc.c if (!context->in_syscall) context 1870 kernel/auditsc.c for (idx = 0; idx < context->name_count; idx++) { context 1871 kernel/auditsc.c struct audit_names *n = &context->names[idx]; context 1885 kernel/auditsc.c for (idx = 0; idx < context->name_count; idx++) { context 1886 kernel/auditsc.c struct audit_names *n = &context->names[idx]; context 1905 kernel/auditsc.c if (audit_inc_name_count(context, parent)) context 1907 kernel/auditsc.c idx = context->name_count - 1; context 1908 kernel/auditsc.c context->names[idx].name = NULL; context 1909 kernel/auditsc.c audit_copy_inode(&context->names[idx], parent); context 1913 kernel/auditsc.c if (audit_inc_name_count(context, inode)) context 1915 kernel/auditsc.c idx = context->name_count - 1; context 1921 kernel/auditsc.c context->names[idx].name = found_parent; context 1922 kernel/auditsc.c context->names[idx].name_len = AUDIT_NAME_FULL; context 1924 kernel/auditsc.c context->names[idx].name_put = 0; context 1926 kernel/auditsc.c context->names[idx].name = NULL; context 1930 kernel/auditsc.c audit_copy_inode(&context->names[idx], inode); context 1932 kernel/auditsc.c context->names[idx].ino = (unsigned long)-1; context 1971 kernel/auditsc.c struct audit_context *context = task->audit_context; context 1973 kernel/auditsc.c if (context && context->in_syscall) { context 2003 kernel/auditsc.c struct audit_context *context = current->audit_context; context 2008 kernel/auditsc.c if (likely(!context)) context 2027 kernel/auditsc.c ax->d.next = context->aux; context 2028 kernel/auditsc.c context->aux = (void *)ax; context 2045 kernel/auditsc.c struct audit_context *context = current->audit_context; context 2050 kernel/auditsc.c if (likely(!context)) context 2070 kernel/auditsc.c ax->d.next = context->aux; context 2071 kernel/auditsc.c context->aux = (void *)ax; context 2089 kernel/auditsc.c struct audit_context *context = current->audit_context; context 2094 kernel/auditsc.c if (likely(!context)) context 2121 kernel/auditsc.c ax->d.next = context->aux; context 2122 kernel/auditsc.c context->aux = (void *)ax; context 2137 kernel/auditsc.c struct audit_context *context = current->audit_context; context 2142 kernel/auditsc.c if (likely(!context)) context 2160 kernel/auditsc.c ax->d.next = context->aux; context 2161 kernel/auditsc.c context->aux = (void *)ax; context 2175 kernel/auditsc.c struct audit_context *context = current->audit_context; context 2180 kernel/auditsc.c if (likely(!context)) context 2191 kernel/auditsc.c ax->d.next = context->aux; context 2192 kernel/auditsc.c context->aux = (void *)ax; context 2205 kernel/auditsc.c struct audit_context *context = current->audit_context; context 2216 kernel/auditsc.c ax->d.next = context->aux; context 2217 kernel/auditsc.c context->aux = (void *)ax; context 2233 kernel/auditsc.c struct audit_context *context = current->audit_context; context 2245 kernel/auditsc.c ax->d.next = context->aux; context 2246 kernel/auditsc.c context->aux = (void *)ax; context 2253 kernel/auditsc.c struct audit_context *context = current->audit_context; context 2255 kernel/auditsc.c if (likely(!audit_enabled || !context || context->dummy)) context 2266 kernel/auditsc.c ax->d.next = context->aux; context 2267 kernel/auditsc.c context->aux = (void *)ax; context 2282 kernel/auditsc.c struct audit_context *context = current->audit_context; context 2284 kernel/auditsc.c if (likely(!context || context->dummy)) context 2295 kernel/auditsc.c ax->d.next = context->aux; context 2296 kernel/auditsc.c context->aux = (void *)ax; context 2309 kernel/auditsc.c struct audit_context *context = current->audit_context; context 2312 kernel/auditsc.c if (likely(!context)) { context 2325 kernel/auditsc.c ax->d.next = context->aux; context 2326 kernel/auditsc.c context->aux = (void *)ax; context 2340 kernel/auditsc.c struct audit_context *context = current->audit_context; context 2342 kernel/auditsc.c if (likely(!context || context->dummy)) context 2353 kernel/auditsc.c ax->d.next = context->aux; context 2354 kernel/auditsc.c context->aux = (void *)ax; context 2360 kernel/auditsc.c struct audit_context *context = current->audit_context; context 2362 kernel/auditsc.c context->target_pid = t->pid; context 2363 kernel/auditsc.c context->target_auid = audit_get_loginuid(t); context 2364 kernel/auditsc.c context->target_uid = t->uid; context 2365 kernel/auditsc.c context->target_sessionid = audit_get_sessionid(t); context 2366 kernel/auditsc.c security_task_getsecid(t, &context->target_sid); context 2367 kernel/auditsc.c memcpy(context->target_comm, t->comm, TASK_COMM_LEN); context 362 mm/nommu.c if (brk < mm->start_brk || brk > mm->context.end_brk) context 389 mm/nommu.c for (vml = ¤t->mm->context.vmlist; vml; vml = vml->next) { context 409 mm/nommu.c for (ppv = ¤t->mm->context.vmlist; *ppv; ppv = &(*ppv)->next) context 427 mm/nommu.c for (loop = mm->context.vmlist; loop; loop = loop->next) { context 464 mm/nommu.c for (vml = mm->context.vmlist; vml; vml = vml->next) { context 1140 mm/nommu.c for (parent = &mm->context.vmlist; *parent; parent = &(*parent)->next) { context 1198 mm/nommu.c while ((tmp = mm->context.vmlist)) { context 1199 mm/nommu.c mm->context.vmlist = tmp->next; context 2580 mm/page_alloc.c if (context == MEMMAP_EARLY) { context 174 net/sunrpc/xprtrdma/svc_rdma_transport.c struct svc_xprt *xprt = context; context 176 net/sunrpc/xprtrdma/svc_rdma_transport.c event->event, context); context 183 net/sunrpc/xprtrdma/svc_rdma_transport.c struct svc_xprt *xprt = context; context 546 net/sunrpc/xprtrdma/svc_rdma_transport.c struct svcxprt_rdma *listen_xprt = new_cma_id->context; context 557 net/sunrpc/xprtrdma/svc_rdma_transport.c new_cma_id->context = newxprt; context 593 net/sunrpc/xprtrdma/svc_rdma_transport.c struct svcxprt_rdma *xprt = cma_id->context; context 599 net/sunrpc/xprtrdma/svc_rdma_transport.c "event=%d\n", cma_id, cma_id->context, event->event); context 629 net/sunrpc/xprtrdma/svc_rdma_transport.c struct svc_xprt *xprt = cma_id->context; context 118 net/sunrpc/xprtrdma/verbs.c struct rpcrdma_ep *ep = context; context 121 net/sunrpc/xprtrdma/verbs.c __func__, event->event, event->device->name, context); context 132 net/sunrpc/xprtrdma/verbs.c struct rpcrdma_ep *ep = context; context 135 net/sunrpc/xprtrdma/verbs.c __func__, event->event, event->device->name, context); context 276 net/sunrpc/xprtrdma/verbs.c struct rpcrdma_xprt *xprt = id->context; context 86 samples/firmware_class/firmware_sample_driver.c (char *)context); context 126 security/keys/internal.h struct task_struct *context; context 888 security/keys/keyctl.c keyring_ref = lookup_user_key(rka->context, ringid, 1, 0, context 1105 security/keys/keyctl.c char *context; context 1126 security/keys/keyctl.c ret = security_key_getsecurity(key, &context); context 1140 security/keys/keyctl.c if (copy_to_user(buffer, context, buflen) != 0) context 1144 security/keys/keyctl.c kfree(context); context 306 security/keys/keyring.c err = key_task_permission(keyring_ref, context, KEY_SEARCH); context 379 security/keys/keyring.c context, KEY_SEARCH) < 0) context 406 security/keys/keyring.c context, KEY_SEARCH) < 0) context 32 security/keys/permission.c if (key->uid == context->fsuid) { context 40 security/keys/permission.c if (key->gid == context->fsgid) { context 45 security/keys/permission.c task_lock(context); context 46 security/keys/permission.c ret = groups_search(context->group_info, key->gid); context 47 security/keys/permission.c task_unlock(context); context 71 security/keys/permission.c return security_key_permission(key_ref, context, perm); context 426 security/keys/process_keys.c if (context->thread_keyring) { context 428 security/keys/process_keys.c make_key_ref(context->thread_keyring, 1), context 429 security/keys/process_keys.c context, type, description, match); context 447 security/keys/process_keys.c if (context->signal->process_keyring) { context 449 security/keys/process_keys.c make_key_ref(context->signal->process_keyring, 1), context 450 security/keys/process_keys.c context, type, description, match); context 468 security/keys/process_keys.c if (context->signal->session_keyring) { context 472 security/keys/process_keys.c context->signal->session_keyring), context 474 security/keys/process_keys.c context, type, description, match); context 493 security/keys/process_keys.c else if (context->user->session_keyring) { context 495 security/keys/process_keys.c make_key_ref(context->user->session_keyring, 1), context 496 security/keys/process_keys.c context, type, description, match); context 517 security/keys/process_keys.c if (context->request_key_auth && context 518 security/keys/process_keys.c context == current && context 522 security/keys/process_keys.c down_read(&context->request_key_auth->sem); context 524 security/keys/process_keys.c if (key_validate(context->request_key_auth) == 0) { context 525 security/keys/process_keys.c rka = context->request_key_auth->payload.data; context 528 security/keys/process_keys.c match, rka->context); context 530 security/keys/process_keys.c up_read(&context->request_key_auth->sem); context 547 security/keys/process_keys.c up_read(&context->request_key_auth->sem); context 582 security/keys/process_keys.c if (!context) context 583 security/keys/process_keys.c context = current; context 589 security/keys/process_keys.c if (!context->thread_keyring) { context 593 security/keys/process_keys.c ret = install_thread_keyring(context); context 600 security/keys/process_keys.c key = context->thread_keyring; context 606 security/keys/process_keys.c if (!context->signal->process_keyring) { context 610 security/keys/process_keys.c ret = install_process_keyring(context); context 617 security/keys/process_keys.c key = context->signal->process_keyring; context 623 security/keys/process_keys.c if (!context->signal->session_keyring) { context 626 security/keys/process_keys.c ret = install_user_keyrings(context); context 630 security/keys/process_keys.c context, context->user->session_keyring); context 636 security/keys/process_keys.c key = rcu_dereference(context->signal->session_keyring); context 643 security/keys/process_keys.c if (!context->user->uid_keyring) { context 644 security/keys/process_keys.c ret = install_user_keyrings(context); context 649 security/keys/process_keys.c key = context->user->uid_keyring; context 655 security/keys/process_keys.c if (!context->user->session_keyring) { context 656 security/keys/process_keys.c ret = install_user_keyrings(context); context 661 security/keys/process_keys.c key = context->user->session_keyring; context 672 security/keys/process_keys.c key = context->request_key_auth; context 728 security/keys/process_keys.c ret = key_task_permission(key_ref, context, perm); context 108 security/keys/request_key_auth.c if (rka->context) { context 109 security/keys/request_key_auth.c put_task_struct(rka->context); context 110 security/keys/request_key_auth.c rka->context = NULL; context 125 security/keys/request_key_auth.c if (rka->context) { context 126 security/keys/request_key_auth.c put_task_struct(rka->context); context 127 security/keys/request_key_auth.c rka->context = NULL; context 177 security/keys/request_key_auth.c rka->context = irka->context; context 179 security/keys/request_key_auth.c get_task_struct(rka->context); context 185 security/keys/request_key_auth.c rka->context = current; context 187 security/keys/request_key_auth.c get_task_struct(rka->context); context 1127 security/security.c return security_ops->key_permission(key_ref, context, perm); context 452 security/selinux/hooks.c char *context = NULL; context 490 security/selinux/hooks.c rc = security_sid_to_context(sbsec->sid, &context, &len); context 493 security/selinux/hooks.c opts->mnt_opts[i] = context; context 497 security/selinux/hooks.c rc = security_sid_to_context(sbsec->mntpoint_sid, &context, &len); context 500 security/selinux/hooks.c opts->mnt_opts[i] = context; context 504 security/selinux/hooks.c rc = security_sid_to_context(sbsec->def_sid, &context, &len); context 507 security/selinux/hooks.c opts->mnt_opts[i] = context; context 514 security/selinux/hooks.c rc = security_sid_to_context(isec->sid, &context, &len); context 517 security/selinux/hooks.c opts->mnt_opts[i] = context; context 818 security/selinux/hooks.c char *context = NULL, *defcontext = NULL; context 836 security/selinux/hooks.c if (context || defcontext) { context 841 security/selinux/hooks.c context = match_strdup(&args[0]); context 842 security/selinux/hooks.c if (!context) { context 875 security/selinux/hooks.c if (context || defcontext) { context 910 security/selinux/hooks.c if (context) { context 911 security/selinux/hooks.c opts->mnt_opts[num_mnt_opts] = context; context 927 security/selinux/hooks.c kfree(context); context 1166 security/selinux/hooks.c char *context = NULL; context 1213 security/selinux/hooks.c context = kmalloc(len, GFP_NOFS); context 1214 security/selinux/hooks.c if (!context) { context 1220 security/selinux/hooks.c context, len); context 1229 security/selinux/hooks.c kfree(context); context 1231 security/selinux/hooks.c context = kmalloc(len, GFP_NOFS); context 1232 security/selinux/hooks.c if (!context) { context 1239 security/selinux/hooks.c context, len); context 1247 security/selinux/hooks.c kfree(context); context 1254 security/selinux/hooks.c rc = security_context_to_sid_default(context, rc, &sid, context 1260 security/selinux/hooks.c __func__, context, -rc, context 1262 security/selinux/hooks.c kfree(context); context 1268 security/selinux/hooks.c kfree(context); context 2517 security/selinux/hooks.c char *namep = NULL, *context; context 2558 security/selinux/hooks.c rc = security_sid_to_context_force(newsid, &context, &clen); context 2563 security/selinux/hooks.c *value = context; context 2811 security/selinux/hooks.c char *context = NULL; context 2835 security/selinux/hooks.c error = security_sid_to_context_force(isec->sid, &context, context 2838 security/selinux/hooks.c error = security_sid_to_context(isec->sid, &context, &size); context 2843 security/selinux/hooks.c *buffer = context; context 2846 security/selinux/hooks.c kfree(context); context 5460 security/selinux/hooks.c char *context = NULL; context 5464 security/selinux/hooks.c rc = security_sid_to_context(ksec->sid, &context, &len); context 5467 security/selinux/hooks.c *_buffer = context; context 47 security/selinux/ss/mls.c int index_sens = context->range.level[l].sens; context 53 security/selinux/ss/mls.c e = &context->range.level[l].cat; context 72 security/selinux/ss/mls.c if (mls_level_eq(&context->range.level[0], context 73 security/selinux/ss/mls.c &context->range.level[1])) context 106 security/selinux/ss/mls.c policydb.p_sens_val_to_name[context->range.level[l].sens - 1]); context 112 security/selinux/ss/mls.c e = &context->range.level[l].cat; context 148 security/selinux/ss/mls.c if (mls_level_eq(&context->range.level[0], context 149 security/selinux/ss/mls.c &context->range.level[1])) context 267 security/selinux/ss/mls.c struct context *defcon; context 276 security/selinux/ss/mls.c rc = mls_context_cpy(context, defcon); context 296 security/selinux/ss/mls.c context->range.level[l].sens = levdatum->level->sens; context 322 security/selinux/ss/mls.c rc = ebitmap_set_bit(&context->range.level[l].cat, context 343 security/selinux/ss/mls.c rc = ebitmap_set_bit(&context->range.level[l].cat, i, 1); context 367 security/selinux/ss/mls.c context->range.level[1].sens = context->range.level[0].sens; context 368 security/selinux/ss/mls.c rc = ebitmap_cpy(&context->range.level[1].cat, context 369 security/selinux/ss/mls.c &context->range.level[0].cat); context 399 security/selinux/ss/mls.c rc = mls_context_to_sid(&policydb, ':', &tmpstr, context, context 417 security/selinux/ss/mls.c context->range.level[l].sens = range->level[l].sens; context 418 security/selinux/ss/mls.c rc = ebitmap_cpy(&context->range.level[l].cat, context 567 security/selinux/ss/mls.c secattr->attr.mls.lvl = context->range.level[0].sens - 1; context 587 security/selinux/ss/mls.c context->range.level[0].sens = secattr->attr.mls.lvl + 1; context 588 security/selinux/ss/mls.c context->range.level[1].sens = context->range.level[0].sens; context 609 security/selinux/ss/mls.c rc = ebitmap_netlbl_export(&context->range.level[0].cat, context 637 security/selinux/ss/mls.c rc = ebitmap_netlbl_import(&context->range.level[0].cat, context 642 security/selinux/ss/mls.c rc = ebitmap_cpy(&context->range.level[1].cat, context 643 security/selinux/ss/mls.c &context->range.level[0].cat); context 650 security/selinux/ss/mls.c ebitmap_destroy(&context->range.level[0].cat); context 651 security/selinux/ss/mls.c ebitmap_destroy(&context->range.level[1].cat); context 617 security/selinux/ss/policydb.c context_destroy(&c->context[0]); context 618 security/selinux/ss/policydb.c context_destroy(&c->context[1]); context 740 security/selinux/ss/policydb.c if (!c->context[0].user) { context 746 security/selinux/ss/policydb.c if (sidtab_insert(s, c->sid[0], &c->context[0])) { context 1888 security/selinux/ss/policydb.c rc = context_read_and_validate(&c->context[0], p, fp); context 1907 security/selinux/ss/policydb.c rc = context_read_and_validate(&c->context[0], p, fp); context 1910 security/selinux/ss/policydb.c rc = context_read_and_validate(&c->context[1], p, fp); context 1921 security/selinux/ss/policydb.c rc = context_read_and_validate(&c->context[0], p, fp); context 1931 security/selinux/ss/policydb.c rc = context_read_and_validate(&c->context[0], p, fp); context 1952 security/selinux/ss/policydb.c rc = context_read_and_validate(&c->context[0], p, fp); context 1966 security/selinux/ss/policydb.c if (context_read_and_validate(&c->context[0], p, fp)) context 2050 security/selinux/ss/policydb.c if (context_read_and_validate(&newc->context[0], p, fp)) context 156 security/selinux/ss/policydb.h struct context context[2]; /* security context(s) */ context 113 security/selinux/ss/services.c struct context *c; context 291 security/selinux/ss/services.c struct context lo_scontext; context 292 security/selinux/ss/services.c struct context lo_tcontext; context 537 security/selinux/ss/services.c struct context *context; context 543 security/selinux/ss/services.c context = sidtab_search(&sidtab, sid); context 544 security/selinux/ss/services.c BUG_ON(!context); context 546 security/selinux/ss/services.c type = context->type; context 588 security/selinux/ss/services.c struct context *ocontext; context 589 security/selinux/ss/services.c struct context *ncontext; context 590 security/selinux/ss/services.c struct context *tcontext; context 670 security/selinux/ss/services.c struct context *old_context, *new_context; context 741 security/selinux/ss/services.c struct context *scontext = NULL, *tcontext = NULL; context 791 security/selinux/ss/services.c if (context->len) { context 792 security/selinux/ss/services.c *scontext_len = context->len; context 793 security/selinux/ss/services.c *scontext = kstrdup(context->str, GFP_ATOMIC); context 800 security/selinux/ss/services.c *scontext_len += strlen(policydb.p_user_val_to_name[context->user - 1]) + 1; context 801 security/selinux/ss/services.c *scontext_len += strlen(policydb.p_role_val_to_name[context->role - 1]) + 1; context 802 security/selinux/ss/services.c *scontext_len += strlen(policydb.p_type_val_to_name[context->type - 1]) + 1; context 803 security/selinux/ss/services.c *scontext_len += mls_compute_context_len(context); context 815 security/selinux/ss/services.c policydb.p_user_val_to_name[context->user - 1], context 816 security/selinux/ss/services.c policydb.p_role_val_to_name[context->role - 1], context 817 security/selinux/ss/services.c policydb.p_type_val_to_name[context->type - 1]); context 818 security/selinux/ss/services.c scontextp += strlen(policydb.p_user_val_to_name[context->user - 1]) + context 819 security/selinux/ss/services.c 1 + strlen(policydb.p_role_val_to_name[context->role - 1]) + context 820 security/selinux/ss/services.c 1 + strlen(policydb.p_type_val_to_name[context->type - 1]); context 822 security/selinux/ss/services.c mls_sid_to_context(context, &scontextp); context 841 security/selinux/ss/services.c struct context *context; context 868 security/selinux/ss/services.c context = sidtab_search_force(&sidtab, sid); context 870 security/selinux/ss/services.c context = sidtab_search(&sidtab, sid); context 871 security/selinux/ss/services.c if (!context) { context 877 security/selinux/ss/services.c rc = context_struct_to_string(context, scontext, scontext_len); context 998 security/selinux/ss/services.c struct context context; context 1034 security/selinux/ss/services.c &context, def_sid); context 1036 security/selinux/ss/services.c context.str = str; context 1037 security/selinux/ss/services.c context.len = scontext_len; context 1041 security/selinux/ss/services.c rc = sidtab_context_to_sid(&sidtab, &context, sid); context 1042 security/selinux/ss/services.c context_destroy(&context); context 1135 security/selinux/ss/services.c struct context *scontext = NULL, *tcontext = NULL, newcontext; context 1474 security/selinux/ss/services.c return sidtab_insert(s, sid, context); context 1487 security/selinux/ss/services.c if (!context_struct_to_string(context, &s, &len)) { context 1514 security/selinux/ss/services.c struct context oldc; context 1525 security/selinux/ss/services.c struct context ctx; context 1773 security/selinux/ss/services.c &c->context[0], context 1810 security/selinux/ss/services.c &c->context[0], context 1815 security/selinux/ss/services.c &c->context[1], context 1901 security/selinux/ss/services.c &c->context[0], context 1937 security/selinux/ss/services.c struct context *fromcon, usercon; context 2086 security/selinux/ss/services.c &c->context[0], context 2125 security/selinux/ss/services.c &c->context[0], context 2297 security/selinux/ss/services.c struct context *context1; context 2298 security/selinux/ss/services.c struct context *context2; context 2299 security/selinux/ss/services.c struct context newcon; context 2384 security/selinux/ss/services.c struct context *nlbl_ctx; context 2385 security/selinux/ss/services.c struct context *xfrm_ctx; context 2570 security/selinux/ss/services.c struct context au_ctxt; context 2704 security/selinux/ss/services.c struct context *ctxt; context 2889 security/selinux/ss/services.c struct context *ctx; context 2890 security/selinux/ss/services.c struct context ctx_new; context 2959 security/selinux/ss/services.c struct context *ctx; context 62 security/selinux/ss/sidtab.c if (context_cpy(&newnode->context, context)) { context 85 security/selinux/ss/sidtab.c static struct context *sidtab_search_core(struct sidtab *s, u32 sid, int force) context 98 security/selinux/ss/sidtab.c if (force && cur && sid == cur->sid && cur->context.len) context 99 security/selinux/ss/sidtab.c return &cur->context; context 101 security/selinux/ss/sidtab.c if (cur == NULL || sid != cur->sid || cur->context.len) { context 112 security/selinux/ss/sidtab.c return &cur->context; context 115 security/selinux/ss/sidtab.c struct context *sidtab_search(struct sidtab *s, u32 sid) context 120 security/selinux/ss/sidtab.c struct context *sidtab_search_force(struct sidtab *s, u32 sid) context 140 security/selinux/ss/sidtab.c rc = apply(cur->sid, &cur->context, args); context 159 security/selinux/ss/sidtab.c if (context_cmp(&cur->context, context)) context 177 security/selinux/ss/sidtab.c sid = sidtab_search_context(s, context); context 181 security/selinux/ss/sidtab.c sid = sidtab_search_context(s, context); context 190 security/selinux/ss/sidtab.c if (context->len) context 193 security/selinux/ss/sidtab.c context->str); context 194 security/selinux/ss/sidtab.c ret = sidtab_insert(s, sid, context); context 248 security/selinux/ss/sidtab.c context_destroy(&temp->context); context 14 security/selinux/ss/sidtab.h struct context context; /* security context structure */ context 34 security/selinux/ss/sidtab.h struct context *sidtab_search(struct sidtab *s, u32 sid); context 35 security/selinux/ss/sidtab.h struct context *sidtab_search_force(struct sidtab *s, u32 sid); context 2406 security/smack/smack_lsm.c if (context->security == NULL) context 2409 security/smack/smack_lsm.c return smk_access(context->security, keyp->security, MAY_READWRITE); context 452 sound/usb/caiaq/caiaq-audio.c struct snd_usb_caiaq_cb_info *info = urb->context; context 511 sound/usb/caiaq/caiaq-audio.c struct snd_usb_caiaq_cb_info *info = urb->context; context 566 sound/usb/caiaq/caiaq-audio.c urbs[i]->context = &dev->data_cb_info[i]; context 125 sound/usb/caiaq/caiaq-device.c struct snd_usb_caiaqdev *dev = urb->context; context 163 sound/usb/caiaq/caiaq-midi.c struct snd_usb_caiaqdev *dev = urb->context; context 259 sound/usb/usbaudio.c struct snd_urb_ctx *ctx = urb->context; context 281 sound/usb/usbaudio.c struct snd_urb_ctx *ctx = urb->context; context 319 sound/usb/usbaudio.c struct snd_urb_ctx *ctx = urb->context; context 408 sound/usb/usbaudio.c struct snd_urb_ctx *ctx = urb->context; context 426 sound/usb/usbaudio.c struct snd_urb_ctx *ctx = urb->context; context 535 sound/usb/usbaudio.c struct snd_urb_ctx *ctx = urb->context; context 570 sound/usb/usbaudio.c struct snd_urb_ctx *ctx = urb->context; context 688 sound/usb/usbaudio.c struct snd_urb_ctx *ctx = urb->context; context 711 sound/usb/usbaudio.c struct snd_urb_ctx *ctx = urb->context; context 1152 sound/usb/usbaudio.c u->urb->context = u; context 1178 sound/usb/usbaudio.c u->urb->context = u; context 230 sound/usb/usbmidi.c struct snd_usb_midi_in_endpoint* ep = urb->context; context 254 sound/usb/usbmidi.c struct snd_usb_midi_out_endpoint* ep = urb->context; context 1720 sound/usb/usbmixer.c struct usb_mixer_interface *mixer = urb->context; context 1782 sound/usb/usbmixer.c struct usb_mixer_interface *mixer = urb->context; context 82 sound/usb/usx2y/usb_stream.c urb->context = sk; context 508 sound/usb/usx2y/usb_stream.c struct usb_stream_kernel *sk = urb->context; context 515 sound/usb/usx2y/usb_stream.c struct usb_stream_kernel *sk = urb->context; context 603 sound/usb/usx2y/usb_stream.c struct usb_stream_kernel *sk = urb->context; context 648 sound/usb/usx2y/usb_stream.c struct usb_stream_kernel *sk = urb->context; context 179 sound/usb/usx2y/usbusx2y.c struct usX2Ydev *usX2Y = urb->context; context 189 sound/usb/usx2y/usbusx2y.c struct usX2Ydev *usX2Y = urb->context; context 310 sound/usb/usx2y/usbusx2yaudio.c struct snd_usX2Y_substream *subs = urb->context; context 370 sound/usb/usx2y/usbusx2yaudio.c struct snd_usX2Y_substream *subs = urb->context; context 464 sound/usb/usx2y/usbusx2yaudio.c (*purb)->context = subs; context 661 sound/usb/usx2y/usbusx2yaudio.c struct usX2Ydev *usX2Y = urb->context; context 231 sound/usb/usx2y/usx2yhwdeppcm.c struct snd_usX2Y_substream *subs = urb->context; context 295 sound/usb/usx2y/usx2yhwdeppcm.c struct snd_usX2Y_substream *subs = urb->context; context 350 sound/usb/usx2y/usx2yhwdeppcm.c (*purb)->context = subs;