Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/w1/
Dw1_family.c21 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-v5.4/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-v5.4/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-v5.4/net/ipv6/
Daddrconf.c824 static void addrconf_forward_change(struct net *net, __s32 newf) in addrconf_forward_change() argument
832 int changed = (!idev->cnf.forwarding) ^ (!newf); in addrconf_forward_change()
833 idev->cnf.forwarding = newf; in addrconf_forward_change()
840 static int addrconf_fixup_forwarding(struct ctl_table *table, int *p, int newf) in addrconf_fixup_forwarding() argument
850 *p = newf; in addrconf_fixup_forwarding()
853 if ((!newf) ^ (!old)) in addrconf_fixup_forwarding()
865 net->ipv6.devconf_dflt->forwarding = newf; in addrconf_fixup_forwarding()
866 if ((!newf) ^ (!old_dflt)) in addrconf_fixup_forwarding()
872 addrconf_forward_change(net, newf); in addrconf_fixup_forwarding()
873 if ((!newf) ^ (!old)) in addrconf_fixup_forwarding()
[all …]
/Linux-v5.4/include/linux/usb/
Dcomposite.h596 int usb_function_register(struct usb_function_driver *newf);
/Linux-v5.4/kernel/
Dfork.c1452 struct files_struct *oldf, *newf; in copy_files() local
1467 newf = dup_fd(oldf, &error); in copy_files()
1468 if (!newf) in copy_files()
1471 tsk->files = newf; in copy_files()