Home
last modified time | relevance | path

Searched refs:newf (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/w1/
Dw1_family.c30 int w1_register_family(struct w1_family *newf) in w1_register_family() argument
40 if (f->fid == newf->fid) { in w1_register_family()
47 atomic_set(&newf->refcnt, 0); in w1_register_family()
48 list_add_tail(&newf->family_entry, &w1_families); in w1_register_family()
53 w1_reconnect_slaves(newf, 1); in w1_register_family()
/Linux-v4.19/fs/
Dfile.c274 struct files_struct *newf; in dup_fd() local
280 newf = kmem_cache_alloc(files_cachep, GFP_KERNEL); in dup_fd()
281 if (!newf) in dup_fd()
284 atomic_set(&newf->count, 1); in dup_fd()
286 spin_lock_init(&newf->file_lock); in dup_fd()
287 newf->resize_in_progress = false; in dup_fd()
288 init_waitqueue_head(&newf->resize_wait); in dup_fd()
289 newf->next_fd = 0; in dup_fd()
290 new_fdt = &newf->fdtab; in dup_fd()
292 new_fdt->close_on_exec = newf->close_on_exec_init; in dup_fd()
[all …]
/Linux-v4.19/drivers/usb/gadget/
Dfunctions.c91 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-v4.19/net/ipv6/
Daddrconf.c774 static void addrconf_forward_change(struct net *net, __s32 newf) in addrconf_forward_change() argument
782 int changed = (!idev->cnf.forwarding) ^ (!newf); in addrconf_forward_change()
783 idev->cnf.forwarding = newf; in addrconf_forward_change()
790 static int addrconf_fixup_forwarding(struct ctl_table *table, int *p, int newf) in addrconf_fixup_forwarding() argument
800 *p = newf; in addrconf_fixup_forwarding()
803 if ((!newf) ^ (!old)) in addrconf_fixup_forwarding()
815 net->ipv6.devconf_dflt->forwarding = newf; in addrconf_fixup_forwarding()
816 if ((!newf) ^ (!old_dflt)) in addrconf_fixup_forwarding()
822 addrconf_forward_change(net, newf); in addrconf_fixup_forwarding()
823 if ((!newf) ^ (!old)) in addrconf_fixup_forwarding()
[all …]
/Linux-v4.19/include/linux/usb/
Dcomposite.h596 int usb_function_register(struct usb_function_driver *newf);
/Linux-v4.19/kernel/
Dfork.c1364 struct files_struct *oldf, *newf; in copy_files() local
1379 newf = dup_fd(oldf, &error); in copy_files()
1380 if (!newf) in copy_files()
1383 tsk->files = newf; in copy_files()