Searched refs:newfunc (Results 1 – 4 of 4) sorted by relevance
74 struct pci_func *newfunc; /* for multi devices */ in ibmphp_configure_card() local155 newfunc = kzalloc_obj(*newfunc); in ibmphp_configure_card()156 if (!newfunc) in ibmphp_configure_card()159 newfunc->busno = cur_func->busno; in ibmphp_configure_card()160 newfunc->device = device; in ibmphp_configure_card()161 cur_func->next = newfunc; in ibmphp_configure_card()162 cur_func = newfunc; in ibmphp_configure_card()164 newfunc->irq[j] = cur_func->irq[j]; in ibmphp_configure_card()192 newfunc = kzalloc_obj(*newfunc); in ibmphp_configure_card()193 if (!newfunc) in ibmphp_configure_card()[all …]
233 struct acpiphp_func *newfunc; in acpiphp_add_context() local262 newfunc = &context->func; in acpiphp_add_context()263 newfunc->function = function; in acpiphp_add_context()264 newfunc->parent = bridge; in acpiphp_add_context()272 newfunc->flags = FUNC_HAS_EJ0; in acpiphp_add_context()275 newfunc->flags |= FUNC_HAS_STA; in acpiphp_add_context()329 newfunc->slot = slot; in acpiphp_add_context()330 list_add_tail(&newfunc->sibling, &slot->funcs); in acpiphp_add_context()
279 #define alternative_call(oldfunc, newfunc, ft_flags, output, input, clobbers...) \ argument282 : [old] "i" (oldfunc), [new] "i" (newfunc) \
7288 my $newfunc = "kmalloc_obj";7289 $newfunc = "kvmalloc_obj" if ($oldfunc eq "kvmalloc");7290 $newfunc = "kvzalloc_obj" if ($oldfunc eq "kvzalloc");7291 $newfunc = "kzalloc_obj" if ($oldfunc eq "kzalloc");7298 "Prefer $newfunc over $oldfunc with sizeof\n" . $herectx) &&7301 $fixed[$fixlinenr] =~ s/\b($Lval)\s*\=\s*(?:$balanced_parens)?\s*((?:kv|k)[mz]alloc)\s*\(\s*($FuncArg)\s*,/$1 = $newfunc($a1,/;7314 my $newfunc = "kmalloc_objs";7315 $newfunc = "kvmalloc_objs" if ($oldfunc eq "kvmalloc");7316 $newfunc = "kvzalloc_objs" if ($oldfunc eq "kvzalloc");7317 $newfunc [all...]