Searched refs:newf (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/drivers/w1/ |
D | w1_family.c | 21 int w1_register_family(struct w1_family *newf) in w1_register_family() argument 31 if (f->fid == newf->fid) { in w1_register_family() 38 atomic_set(&newf->refcnt, 0); in w1_register_family() 39 list_add_tail(&newf->family_entry, &w1_families); in w1_register_family() 44 w1_reconnect_slaves(newf, 1); in w1_register_family()
|
/linux-6.6.21/fs/ |
D | file.c | 318 struct files_struct *newf; in dup_fd() local 324 newf = kmem_cache_alloc(files_cachep, GFP_KERNEL); in dup_fd() 325 if (!newf) in dup_fd() 328 atomic_set(&newf->count, 1); in dup_fd() 330 spin_lock_init(&newf->file_lock); in dup_fd() 331 newf->resize_in_progress = false; in dup_fd() 332 init_waitqueue_head(&newf->resize_wait); in dup_fd() 333 newf->next_fd = 0; in dup_fd() 334 new_fdt = &newf->fdtab; in dup_fd() 336 new_fdt->close_on_exec = newf->close_on_exec_init; in dup_fd() [all …]
|
/linux-6.6.21/drivers/usb/gadget/ |
D | functions.c | 91 int usb_function_register(struct usb_function_driver *newf) in usb_function_register() argument 100 if (!strcmp(fd->name, newf->name)) in usb_function_register() 104 list_add_tail(&newf->list, &func_list); in usb_function_register()
|
/linux-6.6.21/io_uring/ |
D | fs.c | 53 const char __user *oldf, *newf; in io_renameat_prep() local 62 newf = u64_to_user_ptr(READ_ONCE(sqe->addr2)); in io_renameat_prep() 70 ren->newpath = getname(newf); in io_renameat_prep() 244 const char __user *oldf, *newf; in io_linkat_prep() local 254 newf = u64_to_user_ptr(READ_ONCE(sqe->addr2)); in io_linkat_prep() 261 lnk->newpath = getname(newf); in io_linkat_prep()
|
/linux-6.6.21/net/ipv6/ |
D | addrconf.c | 859 static void addrconf_forward_change(struct net *net, __s32 newf) in addrconf_forward_change() argument 867 int changed = (!idev->cnf.forwarding) ^ (!newf); in addrconf_forward_change() 868 idev->cnf.forwarding = newf; in addrconf_forward_change() 875 static int addrconf_fixup_forwarding(struct ctl_table *table, int *p, int newf) in addrconf_fixup_forwarding() argument 885 *p = newf; in addrconf_fixup_forwarding() 888 if ((!newf) ^ (!old)) in addrconf_fixup_forwarding() 900 net->ipv6.devconf_dflt->forwarding = newf; in addrconf_fixup_forwarding() 901 if ((!newf) ^ (!old_dflt)) in addrconf_fixup_forwarding() 907 addrconf_forward_change(net, newf); in addrconf_fixup_forwarding() 908 if ((!newf) ^ (!old)) in addrconf_fixup_forwarding() [all …]
|
/linux-6.6.21/include/linux/usb/ |
D | composite.h | 584 int usb_function_register(struct usb_function_driver *newf);
|
/linux-6.6.21/kernel/ |
D | fork.c | 1769 struct files_struct *oldf, *newf; in copy_files() local 1789 newf = dup_fd(oldf, NR_OPEN_MAX, &error); in copy_files() 1790 if (!newf) in copy_files() 1793 tsk->files = newf; in copy_files()
|