Home
last modified time | relevance | path

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

12

/Linux-v4.19/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-v4.19/drivers/infiniband/hw/qib/
Dqib_intr.c104 (!ppd->lflags || (ppd->lflags & QIBL_LINKDOWN)) && in qib_handle_e_ibstatuschanged()
109 } else if (ppd->lflags & (QIBL_LINKINIT | QIBL_LINKARMED | in qib_handle_e_ibstatuschanged()
122 if (ppd->lflags & QIBL_LINKACTIVE) in qib_handle_e_ibstatuschanged()
126 ppd->lflags |= QIBL_LINKARMED | QIBL_LINKV; in qib_handle_e_ibstatuschanged()
127 ppd->lflags &= ~(QIBL_LINKINIT | in qib_handle_e_ibstatuschanged()
130 ppd->lflags |= QIBL_LINKINIT | QIBL_LINKV; in qib_handle_e_ibstatuschanged()
131 ppd->lflags &= ~(QIBL_LINKARMED | in qib_handle_e_ibstatuschanged()
139 !(ppd->lflags & QIBL_LINKACTIVE)) { in qib_handle_e_ibstatuschanged()
146 ppd->lflags |= QIBL_LINKACTIVE | QIBL_LINKV; in qib_handle_e_ibstatuschanged()
147 ppd->lflags &= ~(QIBL_LINKINIT | in qib_handle_e_ibstatuschanged()
[all …]
Dqib_driver.c108 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_active_units()
140 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_units()
182 (ppd->lflags & state), in qib_wait_linkstate()
188 if (!(ppd->lflags & state)) in qib_wait_linkstate()
233 if (ppd->lflags & QIBL_LINKARMED) { in qib_set_linkstate()
237 if (!(ppd->lflags & (QIBL_LINKINIT | QIBL_LINKACTIVE))) { in qib_set_linkstate()
248 ppd->lflags &= ~QIBL_LINKV; in qib_set_linkstate()
256 if (ppd->lflags & QIBL_LINKACTIVE) { in qib_set_linkstate()
260 if (!(ppd->lflags & QIBL_LINKARMED)) { in qib_set_linkstate()
Dqib_iba7220.c1121 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_7220_errors()
1132 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_7220_errors()
1171 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG)) in handle_7220_errors()
1206 if (ppd->state_wanted & ppd->lflags) in handle_7220_errors()
1498 ppd->lflags |= QIBL_IB_LINK_DISABLED; in qib_set_ib_7220_lstate()
1507 ppd->lflags &= ~QIBL_IB_LINK_DISABLED; in qib_set_ib_7220_lstate()
1691 ppd->lflags &= ~QIBL_IB_AUTONEG_INPROG; in qib_7220_quiet_serdes()
2137 dd->pport->lflags |= QIBL_IB_FORCE_NOTIFY; in qib_setup_7220_reset()
2138 dd->pport->lflags &= ~QIBL_IB_AUTONEG_FAILED; in qib_setup_7220_reset()
2433 if (!(ppd->lflags & QIBL_LINKDOWN)) in qib_7220_set_ib_cfg()
[all …]
Dqib_iba7322.c1908 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_7322_p_errors()
1924 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_7322_p_errors()
1961 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG)) in handle_7322_p_errors()
1985 if ((ppd->lflags & QIBL_IB_LINK_DISABLED) && ltstate != in handle_7322_p_errors()
2007 if (ppd->state_wanted & ppd->lflags) in handle_7322_p_errors()
2277 ppd->lflags |= QIBL_IB_LINK_DISABLED; in qib_set_ib_7322_lstate()
2286 ppd->lflags &= ~QIBL_IB_LINK_DISABLED; in qib_set_ib_7322_lstate()
2530 ppd->lflags &= ~QIBL_IB_AUTONEG_INPROG; in qib_7322_mini_quiet_serdes()
3751 ppd->lflags |= QIBL_IB_FORCE_NOTIFY; in qib_do_7322_reset()
3752 ppd->lflags &= ~QIBL_IB_AUTONEG_FAILED; in qib_do_7322_reset()
[all …]
Dqib_iba6120.c1021 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_6120_errors()
1032 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_6120_errors()
1097 if (ppd->state_wanted & ppd->lflags) in handle_6120_errors()
1203 ppd->lflags |= QIBL_IB_LINK_DISABLED; in qib_set_ib_6120_lstate()
1212 ppd->lflags &= ~QIBL_IB_LINK_DISABLED; in qib_set_ib_6120_lstate()
3005 ppd->lflags &= ~QIBL_IB_FORCE_NOTIFY; in qib_6120_ib_updown()
3336 !(ppd->lflags & (QIBL_IB_AUTONEG_INPROG | QIBL_LINKACTIVE))) in qib_6120_getsendbuf()
Dqib_init.c647 ppd->lflags &= ~(QIBL_LINKACTIVE | QIBL_LINKARMED | in qib_init()
712 ppd->lflags |= QIBL_IB_LINK_DISABLED; in qib_init()
854 ppd->lflags &= ~(QIBL_LINKDOWN | QIBL_LINKINIT | in qib_shutdown_device()
Dqib_tx.c520 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG)) in qib_hol_down()
Dqib_sd7220.c1404 if ((dd->flags & QIB_INITTED) && !(ppd->lflags & in qib_run_relock()
1408 if (!(ppd->lflags & QIBL_IB_LINK_DISABLED)) in qib_run_relock()
Dqib.h532 u32 lflags; member
Dqib_user_sdma.c1330 if (unlikely(!(ppd->lflags & QIBL_LINKACTIVE))) in qib_user_sdma_push_pkts()
/Linux-v4.19/net/sched/
Dact_skbmod.c96 u32 lflags = 0; in tcf_skbmod_init() local
111 lflags |= SKBMOD_F_DMAC; in tcf_skbmod_init()
116 lflags |= SKBMOD_F_SMAC; in tcf_skbmod_init()
121 lflags |= SKBMOD_F_ETYPE; in tcf_skbmod_init()
126 lflags = SKBMOD_F_SWAPMAC; in tcf_skbmod_init()
135 if (!lflags) { in tcf_skbmod_init()
165 p->flags = lflags; in tcf_skbmod_init()
173 if (lflags & SKBMOD_F_DMAC) in tcf_skbmod_init()
175 if (lflags & SKBMOD_F_SMAC) in tcf_skbmod_init()
177 if (lflags & SKBMOD_F_ETYPE) in tcf_skbmod_init()
/Linux-v4.19/arch/powerpc/mm/
Dslb.c136 unsigned long linear_llp, vmalloc_llp, lflags, vflags; in __slb_flush_and_rebolt() local
141 lflags = SLB_VSID_KERNEL | linear_llp; in __slb_flush_and_rebolt()
151 slb_shadow_update(get_paca()->kstack, mmu_kernel_ssize, lflags, KSTACK_INDEX); in __slb_flush_and_rebolt()
325 unsigned long lflags, vflags; in slb_initialize() local
360 lflags = SLB_VSID_KERNEL | linear_llp; in slb_initialize()
367 create_shadowed_slbe(PAGE_OFFSET, mmu_kernel_ssize, lflags, LINEAR_INDEX); in slb_initialize()
379 mmu_kernel_ssize, lflags, KSTACK_INDEX); in slb_initialize()
/Linux-v4.19/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.c514 u32 lflags; in linehandle_create() local
521 lflags = handlereq.flags; in linehandle_create()
524 if (lflags & ~GPIOHANDLE_REQUEST_VALID_FLAGS) in linehandle_create()
532 if ((lflags & GPIOHANDLE_REQUEST_OPEN_DRAIN) && in linehandle_create()
533 (lflags & GPIOHANDLE_REQUEST_OPEN_SOURCE)) in linehandle_create()
537 if (!(lflags & GPIOHANDLE_REQUEST_OUTPUT) && in linehandle_create()
538 ((lflags & GPIOHANDLE_REQUEST_OPEN_DRAIN) || in linehandle_create()
539 (lflags & GPIOHANDLE_REQUEST_OPEN_SOURCE))) in linehandle_create()
576 if (lflags & GPIOHANDLE_REQUEST_ACTIVE_LOW) in linehandle_create()
578 if (lflags & GPIOHANDLE_REQUEST_OPEN_DRAIN) in linehandle_create()
[all …]
Dgpiolib.h229 unsigned long lflags, enum gpiod_flags dflags);
231 unsigned long lflags, enum gpiod_flags dflags);
Dgpiolib-acpi.c973 const char **name, unsigned int *lflags, unsigned int *dflags) in acpi_gpiochip_parse_own_gpio() argument
980 *lflags = 0; in acpi_gpiochip_parse_own_gpio()
994 *lflags |= GPIO_ACTIVE_LOW; in acpi_gpiochip_parse_own_gpio()
1016 unsigned int lflags, dflags; in acpi_gpiochip_scan_gpios() local
1025 &lflags, &dflags); in acpi_gpiochip_scan_gpios()
1029 ret = gpiod_hog(desc, name, lflags, dflags); in acpi_gpiochip_scan_gpios()
/Linux-v4.19/include/linux/gpio/
Dmachine.h55 enum gpio_lookup_flags lflags; member
87 .lflags = _lflags, \
/Linux-v4.19/security/keys/
Dprocess_keys.c533 key_ref_t lookup_user_key(key_serial_t id, unsigned long lflags, in lookup_user_key() argument
553 if (!(lflags & KEY_LOOKUP_CREATE)) in lookup_user_key()
571 if (!(lflags & KEY_LOOKUP_CREATE)) in lookup_user_key()
594 if (lflags & KEY_LOOKUP_CREATE) in lookup_user_key()
605 lflags & KEY_LOOKUP_CREATE) { in lookup_user_key()
709 if (lflags & KEY_LOOKUP_FOR_UNLINK) { in lookup_user_key()
714 if (!(lflags & KEY_LOOKUP_PARTIAL)) { in lookup_user_key()
732 if (!(lflags & KEY_LOOKUP_PARTIAL) && in lookup_user_key()
Dkeyctl.c252 unsigned long lflags; in keyctl_get_keyring_ID() local
255 lflags = create ? KEY_LOOKUP_CREATE : 0; in keyctl_get_keyring_ID()
256 key_ref = lookup_user_key(id, lflags, KEY_NEED_SEARCH); in keyctl_get_keyring_ID()
/Linux-v4.19/kernel/printk/
Dprintk.c1804 static size_t log_output(int facility, int level, enum log_flags lflags, const char *dict, size_t d… in log_output() argument
1811 if (cont.owner == current && (lflags & LOG_CONT)) { in log_output()
1812 if (cont_add(facility, level, lflags, text, text_len)) in log_output()
1820 if (!text_len && (lflags & LOG_CONT)) in log_output()
1824 if (!(lflags & LOG_NEWLINE)) { in log_output()
1825 if (cont_add(facility, level, lflags, text, text_len)) in log_output()
1830 return log_store(facility, level, lflags, 0, dict, dictlen, text, text_len); in log_output()
1841 enum log_flags lflags = 0; in vprintk_store() local
1852 lflags |= LOG_NEWLINE; in vprintk_store()
1866 lflags |= LOG_PREFIX; in vprintk_store()
[all …]
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.h158 u16 lflags; member
/Linux-v4.19/drivers/ata/
Dlibata-core.c117 unsigned int lflags; member
397 if (fe->param.lflags) { in ata_force_link_limits()
398 link->flags |= fe->param.lflags; in ata_force_link_limits()
401 fe->param.lflags, link->flags); in ata_force_link_limits()
6912 { "nohrst", .lflags = ATA_LFLAG_NO_HRST }, in ata_parse_force_one()
6913 { "nosrst", .lflags = ATA_LFLAG_NO_SRST }, in ata_parse_force_one()
6914 { "norst", .lflags = ATA_LFLAG_NO_HRST | ATA_LFLAG_NO_SRST }, in ata_parse_force_one()
6915 { "rstonce", .lflags = ATA_LFLAG_RST_ONCE }, in ata_parse_force_one()
Dlibata-eh.c2668 unsigned int lflags = link->flags; in ata_eh_reset() local
2866 if (!(lflags & ATA_LFLAG_ASSUME_CLASS)) in ata_eh_reset()
2867 lflags |= ATA_LFLAG_ASSUME_ATA; in ata_eh_reset()
2885 if (lflags & ATA_LFLAG_ASSUME_ATA) in ata_eh_reset()
2887 else if (lflags & ATA_LFLAG_ASSUME_SEMB) in ata_eh_reset()

12