Home
last modified time | relevance | path

Searched refs:lflags (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/fs/xfs/
Dkmem.c20 gfp_t lflags = kmem_flags_convert(flags); in kmem_alloc() local
24 ptr = kmalloc(size, lflags); in kmem_alloc()
31 (unsigned int)size, __func__, lflags); in kmem_alloc()
41 gfp_t lflags; in kmem_alloc_large() local
57 lflags = kmem_flags_convert(flags); in kmem_alloc_large()
58 ptr = __vmalloc(size, lflags, PAGE_KERNEL); in kmem_alloc_large()
70 gfp_t lflags = kmem_flags_convert(flags); in kmem_realloc() local
74 ptr = krealloc(old, newsize, lflags); in kmem_realloc()
81 newsize, __func__, lflags); in kmem_realloc()
90 gfp_t lflags = kmem_flags_convert(flags); in kmem_zone_alloc() local
[all …]
Dkmem.h33 gfp_t lflags; in kmem_flags_convert() local
38 lflags = GFP_ATOMIC | __GFP_NOWARN; in kmem_flags_convert()
40 lflags = GFP_KERNEL | __GFP_NOWARN; in kmem_flags_convert()
42 lflags &= ~__GFP_FS; in kmem_flags_convert()
53 lflags |= __GFP_RETRY_MAYFAIL; in kmem_flags_convert()
56 lflags |= __GFP_ZERO; in kmem_flags_convert()
58 return lflags; in kmem_flags_convert()
/linux-4.19.296/drivers/gpio/
Dgpiolib-of.c303 enum gpio_lookup_flags *lflags, in of_parse_own_gpio() argument
319 *lflags = 0; in of_parse_own_gpio()
341 *lflags |= GPIO_ACTIVE_LOW; in of_parse_own_gpio()
343 *lflags |= GPIO_TRANSITORY; in of_parse_own_gpio()
376 enum gpio_lookup_flags lflags; in of_gpiochip_scan_gpios() local
386 desc = of_parse_own_gpio(np, chip, i, &name, &lflags, in of_gpiochip_scan_gpios()
391 ret = gpiod_hog(desc, name, lflags, dflags); in of_gpiochip_scan_gpios()
Dgpiolib.c522 u32 lflags; in linehandle_create() local
529 lflags = handlereq.flags; in linehandle_create()
532 if (lflags & ~GPIOHANDLE_REQUEST_VALID_FLAGS) in linehandle_create()
539 if ((lflags & GPIOHANDLE_REQUEST_INPUT) && in linehandle_create()
540 (lflags & GPIOHANDLE_REQUEST_OUTPUT)) in linehandle_create()
548 if ((lflags & GPIOHANDLE_REQUEST_OPEN_DRAIN) && in linehandle_create()
549 (lflags & GPIOHANDLE_REQUEST_OPEN_SOURCE)) in linehandle_create()
553 if (!(lflags & GPIOHANDLE_REQUEST_OUTPUT) && in linehandle_create()
554 ((lflags & GPIOHANDLE_REQUEST_OPEN_DRAIN) || in linehandle_create()
555 (lflags & GPIOHANDLE_REQUEST_OPEN_SOURCE))) in linehandle_create()
[all …]
Dgpiolib.h229 unsigned long lflags, enum gpiod_flags dflags);
231 unsigned long lflags, enum gpiod_flags dflags);
Dgpiolib-acpi.c1082 const char **name, unsigned int *lflags, unsigned int *dflags) in acpi_gpiochip_parse_own_gpio() argument
1089 *lflags = 0; in acpi_gpiochip_parse_own_gpio()
1103 *lflags |= GPIO_ACTIVE_LOW; in acpi_gpiochip_parse_own_gpio()
1125 unsigned int lflags, dflags; in acpi_gpiochip_scan_gpios() local
1134 &lflags, &dflags); in acpi_gpiochip_scan_gpios()
1138 ret = gpiod_hog(desc, name, lflags, dflags); in acpi_gpiochip_scan_gpios()
/linux-4.19.296/include/linux/gpio/
Dmachine.h55 enum gpio_lookup_flags lflags; member
87 .lflags = _lflags, \