Lines Matching refs:NULL
60 ….wait_child_proc_exit = 0, .worker_private = NULL, .policy = SCHED_NORMAL, .sig_blocked = 0, …
134 struct vfs_dir_entry_t *dentry = NULL; in process_open_exec_file()
135 struct vfs_file_t *filp = NULL; in process_open_exec_file()
139 if (dentry == NULL) in process_open_exec_file()
146 if (filp == NULL) in process_open_exec_file()
264 struct vm_area_struct *vma = NULL; in process_load_elf_file()
266 … mm_create_vma(current_pcb->mm, virt_base, PAGE_2M_SIZE, VM_USER | VM_ACCESS_FLAGS, NULL, &vma); in process_load_elf_file()
287 struct vm_area_struct *vma = NULL; in process_load_elf_file()
289 NULL, &vma); in process_load_elf_file()
323 struct vm_area_struct *vma = NULL; in process_load_elf_file()
326 VM_USER | VM_ACCESS_FLAGS, NULL, &vma); in process_load_elf_file()
337 if (buf != NULL) in process_load_elf_file()
410 if (argv != NULL) in do_execve()
418 for (argc = 0; argc < 8 && argv[argc] != NULL; ++argc) in do_execve()
421 if (*argv[argc] == NULL) in do_execve()
520 … "m"(current_pcb->thread->rsp), "m"(current_pcb->thread->rip), "S"("/bin/shell.elf"), "c"(NULL), in initial_kernel_thread()
521 "d"(NULL) in initial_kernel_thread()
626 wait_queue_init(&initial_proc_union.pcb.wait_child_proc_exit, NULL); in process_init()
663 return NULL; in process_find_pcb_by_pid()
678 BUG_ON(pcb == NULL); in process_wakeup()
679 if (pcb == NULL) in process_wakeup()
720 if (pcb->fds[i] == NULL) in process_exit_files()
739 if (pcb->mm == NULL) in process_exit_mm()
744 if (pcb->mm->pgd == NULL) in process_exit_mm()
755 while (vma != NULL) in process_exit_mm()
782 if (unlikely(pcb->mm->vmas != NULL)) in process_exit_mm()
838 if (f[i] == NULL) in process_fd_alloc()