/Linux-v4.19/fs/xfs/ |
D | kmem.c | 20 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 …]
|
D | kmem.h | 33 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/ |
D | qib_intr.c | 104 (!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 …]
|
D | qib_driver.c | 108 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()
|
D | qib_iba7220.c | 1121 !(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 …]
|
D | qib_iba7322.c | 1908 !(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 …]
|
D | qib_iba6120.c | 1021 !(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()
|
D | qib_init.c | 647 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()
|
D | qib_tx.c | 520 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG)) in qib_hol_down()
|
D | qib_sd7220.c | 1404 if ((dd->flags & QIB_INITTED) && !(ppd->lflags & in qib_run_relock() 1408 if (!(ppd->lflags & QIBL_IB_LINK_DISABLED)) in qib_run_relock()
|
D | qib.h | 532 u32 lflags; member
|
D | qib_user_sdma.c | 1330 if (unlikely(!(ppd->lflags & QIBL_LINKACTIVE))) in qib_user_sdma_push_pkts()
|
/Linux-v4.19/net/sched/ |
D | act_skbmod.c | 96 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/ |
D | slb.c | 136 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/ |
D | gpiolib-of.c | 303 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()
|
D | gpiolib.c | 514 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 …]
|
D | gpiolib.h | 229 unsigned long lflags, enum gpiod_flags dflags); 231 unsigned long lflags, enum gpiod_flags dflags);
|
D | gpiolib-acpi.c | 973 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/ |
D | machine.h | 55 enum gpio_lookup_flags lflags; member 87 .lflags = _lflags, \
|
/Linux-v4.19/security/keys/ |
D | process_keys.c | 533 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()
|
D | keyctl.c | 252 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/ |
D | printk.c | 1804 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/ |
D | qplib_fp.h | 158 u16 lflags; member
|
/Linux-v4.19/drivers/ata/ |
D | libata-core.c | 117 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()
|
D | libata-eh.c | 2668 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()
|