Home
last modified time | relevance | path

Searched refs:newfunc (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/pci/hotplug/
Dibmphp_pci.c88 struct pci_func *newfunc; /* for multi devices */ in ibmphp_configure_card() local
169 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL); in ibmphp_configure_card()
170 if (!newfunc) { in ibmphp_configure_card()
174 newfunc->busno = cur_func->busno; in ibmphp_configure_card()
175 newfunc->device = device; in ibmphp_configure_card()
176 cur_func->next = newfunc; in ibmphp_configure_card()
177 cur_func = newfunc; in ibmphp_configure_card()
179 newfunc->irq[j] = cur_func->irq[j]; in ibmphp_configure_card()
207 newfunc = kzalloc(sizeof(*newfunc), GFP_KERNEL); in ibmphp_configure_card()
208 if (!newfunc) { in ibmphp_configure_card()
[all …]
Dacpiphp_glue.c268 struct acpiphp_func *newfunc; in acpiphp_add_context() local
296 newfunc = &context->func; in acpiphp_add_context()
297 newfunc->function = function; in acpiphp_add_context()
298 newfunc->parent = bridge; in acpiphp_add_context()
306 newfunc->flags = FUNC_HAS_EJ0; in acpiphp_add_context()
309 newfunc->flags |= FUNC_HAS_STA; in acpiphp_add_context()
362 newfunc->slot = slot; in acpiphp_add_context()
363 list_add_tail(&newfunc->sibling, &slot->funcs); in acpiphp_add_context()
/linux-4.4.14/arch/x86/include/asm/
Dalternative.h213 #define alternative_call(oldfunc, newfunc, feature, output, input...) \ argument
215 : output : [old] "i" (oldfunc), [new] "i" (newfunc), ## input)
/linux-4.4.14/scripts/
Dcheckpatch.pl5486 my $newfunc = "kmalloc_array";
5487 $newfunc = "kcalloc" if ($oldfunc eq "kzalloc");
5497 "Prefer $newfunc over $oldfunc with multiply\n" . $herecurr) &&
5499 …rens)?\s*(k[mz]alloc)\s*\(\s*($FuncArg)\s*\*\s*($FuncArg)/$1 . ' = ' . "$newfunc(" . trim($r1) . '…