Searched refs:new_fl (Results 1 – 2 of 2) sorted by relevance
79 struct fis_list *new_fl, **prev; in parse_redboot_partitions() local86 new_fl = kmalloc(sizeof(struct fis_list), GFP_KERNEL); in parse_redboot_partitions()88 if (!new_fl) { in parse_redboot_partitions()92 new_fl->img = &buf[i]; in parse_redboot_partitions()99 while(*prev && (*prev)->img->flash_base < new_fl->img->flash_base) in parse_redboot_partitions()101 new_fl->next = *prev; in parse_redboot_partitions()102 *prev = new_fl; in parse_redboot_partitions()
717 struct file_lock *new_fl = locks_alloc_lock(); in locks_mandatory_area() local720 if (new_fl == NULL) in locks_mandatory_area()723 new_fl->fl_owner = current->files; in locks_mandatory_area()724 new_fl->fl_pid = current->pid; in locks_mandatory_area()725 new_fl->fl_file = filp; in locks_mandatory_area()726 new_fl->fl_flags = FL_POSIX | FL_ACCESS; in locks_mandatory_area()727 new_fl->fl_type = (read_write == FLOCK_VERIFY_WRITE) ? F_WRLCK : F_RDLCK; in locks_mandatory_area()728 new_fl->fl_start = offset; in locks_mandatory_area()729 new_fl->fl_end = offset + count - 1; in locks_mandatory_area()741 if (fl->fl_start > new_fl->fl_end) in locks_mandatory_area()[all …]