Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/arch/x86/include/asm/
Dalternative.h207 #define alternative_call(oldfunc, newfunc, feature, output, input...) \ argument
209 : output : [old] "i" (oldfunc), [new] "i" (newfunc), ## input)
/linux-4.1.27/scripts/
Dcheckpatch.pl5186 my $newfunc = "kmalloc_array";
5187 $newfunc = "kcalloc" if ($oldfunc eq "kzalloc");
5197 "Prefer $newfunc over $oldfunc with multiply\n" . $herecurr) &&
5199 …rens)?\s*(k[mz]alloc)\s*\(\s*($FuncArg)\s*\*\s*($FuncArg)/$1 . ' = ' . "$newfunc(" . trim($r1) . '…