Searched refs:vma (Results 1 – 6 of 6) sorted by relevance
33 static void relay_file_mmap_close(struct vm_area_struct *vma) in relay_file_mmap_close() argument35 struct rchan_buf *buf = vma->vm_private_data; in relay_file_mmap_close()36 buf->chan->cb->buf_unmapped(buf, vma->vm_file); in relay_file_mmap_close()42 static int relay_buf_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in relay_buf_fault() argument45 struct rchan_buf *buf = vma->vm_private_data; in relay_buf_fault()106 static int relay_mmap_buf(struct rchan_buf *buf, struct vm_area_struct *vma) in relay_mmap_buf() argument108 unsigned long length = vma->vm_end - vma->vm_start; in relay_mmap_buf()109 struct file *filp = vma->vm_file; in relay_mmap_buf()117 vma->vm_ops = &relay_file_mmap_ops; in relay_mmap_buf()118 vma->vm_flags |= VM_DONTEXPAND; in relay_mmap_buf()[all …]
602 struct vm_area_struct *vma; in acct_collect() local604 vma = current->mm->mmap; in acct_collect()605 while (vma) { in acct_collect()606 vsize += vma->vm_end - vma->vm_start; in acct_collect()607 vma = vma->vm_next; in acct_collect()
213 struct vm_area_struct *vma; in get_futex_key() local243 vma = find_extend_vma(mm, address); in get_futex_key()244 if (unlikely(!vma)) in get_futex_key()250 if (unlikely((vma->vm_flags & (VM_IO|VM_READ)) != VM_READ)) in get_futex_key()251 return (vma->vm_flags & VM_IO) ? -EPERM : -EACCES; in get_futex_key()262 if (likely(!(vma->vm_flags & VM_MAYSHARE))) { in get_futex_key()339 struct vm_area_struct * vma; in futex_handle_fault() local347 vma = find_vma(mm, address); in futex_handle_fault()348 if (vma && address >= vma->vm_start && in futex_handle_fault()349 (vma->vm_flags & VM_WRITE)) { in futex_handle_fault()[all …]
952 struct vm_area_struct *vma; in audit_log_task_info() local962 vma = mm->mmap; in audit_log_task_info()963 while (vma) { in audit_log_task_info()964 if ((vma->vm_flags & VM_EXECUTABLE) && in audit_log_task_info()965 vma->vm_file) { in audit_log_task_info()967 &vma->vm_file->f_path); in audit_log_task_info()970 vma = vma->vm_next; in audit_log_task_info()
2615 __attribute__((weak)) const char *arch_vma_name(struct vm_area_struct *vma) in arch_vma_name() argument
1559 const struct vm_area_struct *vma; local1562 vma = find_vma(mm, ip);1563 if (vma) {1564 file = vma->vm_file;1565 vmstart = vma->vm_start;