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(sizeof(*newfunc), GFP_KERNEL); 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(sizeof(*newfunc), GFP_KERNEL); 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()
249 #define alternative_call(oldfunc, newfunc, ft_flags, output, input...) \ argument252 : [old] "i" (oldfunc), [new] "i" (newfunc), ## input)
7242 my $newfunc = "kmalloc_array";7243 $newfunc = "kvmalloc_array" if ($oldfunc eq "kvmalloc");7244 $newfunc = "kvcalloc" if ($oldfunc eq "kvzalloc");7245 $newfunc = "kcalloc" if ($oldfunc eq "kzalloc");7258 "Prefer $newfunc over $oldfunc with multiply\n" . $herectx) &&7261 …s*((?:kv|k)[mz]alloc)\s*\(\s*($FuncArg)\s*\*\s*($FuncArg)/$1 . ' = ' . "$newfunc(" . trim($r1) . '…