/linux-6.6.21/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 | 107 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_active_units() 138 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_units() 179 (ppd->lflags & state), in qib_wait_linkstate() 185 if (!(ppd->lflags & state)) in qib_wait_linkstate() 230 if (ppd->lflags & QIBL_LINKARMED) { in qib_set_linkstate() 234 if (!(ppd->lflags & (QIBL_LINKINIT | QIBL_LINKACTIVE))) { in qib_set_linkstate() 245 ppd->lflags &= ~QIBL_LINKV; in qib_set_linkstate() 253 if (ppd->lflags & QIBL_LINKACTIVE) { in qib_set_linkstate() 257 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() 2432 if (!(ppd->lflags & QIBL_LINKDOWN)) in qib_7220_set_ib_cfg() [all …]
|
D | qib_iba7322.c | 1885 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_7322_p_errors() 1901 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_7322_p_errors() 1938 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG)) in handle_7322_p_errors() 1962 if ((ppd->lflags & QIBL_IB_LINK_DISABLED) && ltstate != in handle_7322_p_errors() 1984 if (ppd->state_wanted & ppd->lflags) in handle_7322_p_errors() 2254 ppd->lflags |= QIBL_IB_LINK_DISABLED; in qib_set_ib_7322_lstate() 2263 ppd->lflags &= ~QIBL_IB_LINK_DISABLED; in qib_set_ib_7322_lstate() 2506 ppd->lflags &= ~QIBL_IB_AUTONEG_INPROG; in qib_7322_mini_quiet_serdes() 3726 ppd->lflags |= QIBL_IB_FORCE_NOTIFY; in qib_do_7322_reset() 3727 ppd->lflags &= ~QIBL_IB_AUTONEG_FAILED; in qib_do_7322_reset() [all …]
|
D | qib_iba6120.c | 1018 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_6120_errors() 1029 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_6120_errors() 1094 if (ppd->state_wanted & ppd->lflags) in handle_6120_errors() 1200 ppd->lflags |= QIBL_IB_LINK_DISABLED; in qib_set_ib_6120_lstate() 1209 ppd->lflags &= ~QIBL_IB_LINK_DISABLED; in qib_set_ib_6120_lstate() 2997 ppd->lflags &= ~QIBL_IB_FORCE_NOTIFY; in qib_6120_ib_updown() 3327 !(ppd->lflags & (QIBL_IB_AUTONEG_INPROG | QIBL_LINKACTIVE))) in qib_6120_getsendbuf()
|
D | qib_init.c | 645 ppd->lflags &= ~(QIBL_LINKACTIVE | QIBL_LINKARMED | in qib_init() 710 ppd->lflags |= QIBL_IB_LINK_DISABLED; in qib_init() 840 ppd->lflags &= ~(QIBL_LINKDOWN | QIBL_LINKINIT | in qib_shutdown_device()
|
D | qib_tx.c | 518 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG)) in qib_hol_down()
|
D | qib_sd7220.c | 1399 if ((dd->flags & QIB_INITTED) && !(ppd->lflags & in qib_run_relock() 1403 if (!(ppd->lflags & QIBL_IB_LINK_DISABLED)) in qib_run_relock()
|
/linux-6.6.21/fs/xfs/ |
D | kmem.h | 32 gfp_t lflags; in kmem_flags_convert() local 36 lflags = GFP_KERNEL | __GFP_NOWARN; in kmem_flags_convert() 38 lflags &= ~__GFP_FS; in kmem_flags_convert() 48 lflags |= __GFP_RETRY_MAYFAIL; in kmem_flags_convert() 51 lflags |= __GFP_ZERO; in kmem_flags_convert() 54 lflags |= __GFP_NOLOCKDEP; in kmem_flags_convert() 56 return lflags; in kmem_flags_convert()
|
D | kmem.c | 14 gfp_t lflags = kmem_flags_convert(flags); in kmem_alloc() local 20 ptr = kmalloc(size, lflags); in kmem_alloc() 27 (unsigned int)size, __func__, lflags); in kmem_alloc() 28 memalloc_retry_wait(lflags); in kmem_alloc()
|
/linux-6.6.21/net/sched/ |
D | act_skbmod.c | 114 u32 lflags = 0, index; in tcf_skbmod_init() local 135 lflags |= SKBMOD_F_DMAC; in tcf_skbmod_init() 140 lflags |= SKBMOD_F_SMAC; in tcf_skbmod_init() 145 lflags |= SKBMOD_F_ETYPE; in tcf_skbmod_init() 151 lflags = SKBMOD_F_SWAPMAC; in tcf_skbmod_init() 153 lflags = SKBMOD_F_ECN; in tcf_skbmod_init() 162 if (!lflags) { in tcf_skbmod_init() 195 p->flags = lflags; in tcf_skbmod_init() 203 if (lflags & SKBMOD_F_DMAC) in tcf_skbmod_init() 205 if (lflags & SKBMOD_F_SMAC) in tcf_skbmod_init() [all …]
|
/linux-6.6.21/drivers/gpio/ |
D | gpiolib-of.c | 427 unsigned long lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in of_convert_gpio_flags() local 430 lflags |= GPIO_ACTIVE_LOW; in of_convert_gpio_flags() 434 lflags |= GPIO_OPEN_DRAIN; in of_convert_gpio_flags() 436 lflags |= GPIO_OPEN_SOURCE; in of_convert_gpio_flags() 440 lflags |= GPIO_TRANSITORY; in of_convert_gpio_flags() 443 lflags |= GPIO_PULL_UP; in of_convert_gpio_flags() 446 lflags |= GPIO_PULL_DOWN; in of_convert_gpio_flags() 449 lflags |= GPIO_PULL_DISABLE; in of_convert_gpio_flags() 451 return lflags; in of_convert_gpio_flags() 680 unsigned long *lflags, in of_parse_own_gpio() argument [all …]
|
D | gpiolib-cdev.c | 181 static void linehandle_flags_to_desc_flags(u32 lflags, unsigned long *flagsp) in linehandle_flags_to_desc_flags() argument 184 lflags & GPIOHANDLE_REQUEST_ACTIVE_LOW); in linehandle_flags_to_desc_flags() 186 lflags & GPIOHANDLE_REQUEST_OPEN_DRAIN); in linehandle_flags_to_desc_flags() 188 lflags & GPIOHANDLE_REQUEST_OPEN_SOURCE); in linehandle_flags_to_desc_flags() 190 lflags & GPIOHANDLE_REQUEST_BIAS_PULL_UP); in linehandle_flags_to_desc_flags() 192 lflags & GPIOHANDLE_REQUEST_BIAS_PULL_DOWN); in linehandle_flags_to_desc_flags() 194 lflags & GPIOHANDLE_REQUEST_BIAS_DISABLE); in linehandle_flags_to_desc_flags() 203 u32 lflags; in linehandle_set_config() local 208 lflags = gcnf.flags; in linehandle_set_config() 209 ret = linehandle_validate_flags(lflags); in linehandle_set_config() [all …]
|
D | gpiolib-acpi.c | 1070 unsigned long lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in acpi_dev_gpio_irq_wake_get_by() local 1083 acpi_gpio_update_gpiod_lookup_flags(&lflags, &info); in acpi_dev_gpio_irq_wake_get_by() 1086 ret = gpiod_configure_flags(desc, label, lflags, dflags); in acpi_dev_gpio_irq_wake_get_by() 1266 unsigned long *lflags, in acpi_gpiochip_parse_own_gpio() argument 1274 *lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in acpi_gpiochip_parse_own_gpio() 1288 *lflags |= GPIO_ACTIVE_LOW; in acpi_gpiochip_parse_own_gpio() 1310 unsigned long lflags; in acpi_gpiochip_scan_gpios() local 1320 &lflags, &dflags); in acpi_gpiochip_scan_gpios() 1324 ret = gpiod_hog(desc, name, lflags, dflags); in acpi_gpiochip_scan_gpios()
|
D | gpiolib.h | 211 unsigned long lflags, enum gpiod_flags dflags); 214 unsigned long lflags, enum gpiod_flags dflags);
|
D | gpiolib.c | 652 rv = gpiod_hog(desc, hog->line_name, hog->lflags, hog->dflags); in gpiochip_machine_hog() 2312 enum gpio_lookup_flags lflags, in gpiochip_request_own_desc() argument 2327 ret = gpiod_configure_flags(desc, label, lflags, dflags); in gpiochip_request_own_desc() 4191 unsigned long lflags, enum gpiod_flags dflags) in gpiod_configure_flags() argument 4195 if (lflags & GPIO_ACTIVE_LOW) in gpiod_configure_flags() 4198 if (lflags & GPIO_OPEN_DRAIN) in gpiod_configure_flags() 4212 if (lflags & GPIO_OPEN_SOURCE) in gpiod_configure_flags() 4215 if (((lflags & GPIO_PULL_UP) && (lflags & GPIO_PULL_DOWN)) || in gpiod_configure_flags() 4216 ((lflags & GPIO_PULL_UP) && (lflags & GPIO_PULL_DISABLE)) || in gpiod_configure_flags() 4217 ((lflags & GPIO_PULL_DOWN) && (lflags & GPIO_PULL_DISABLE))) { in gpiod_configure_flags() [all …]
|
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | led.c | 65 enum gpio_lookup_flags lflags = GPIO_ACTIVE_HIGH; in brcms_led_register() local 73 lflags = GPIO_ACTIVE_LOW; in brcms_led_register() 84 "radio on", lflags, in brcms_led_register()
|
/linux-6.6.21/include/linux/gpio/ |
D | machine.h | 62 unsigned long lflags; member 106 .lflags = _lflags, \
|
D | driver.h | 763 enum gpio_lookup_flags lflags,
|
/linux-6.6.21/security/keys/ |
D | process_keys.c | 611 key_ref_t lookup_user_key(key_serial_t id, unsigned long lflags, in lookup_user_key() argument 632 if (!(lflags & KEY_LOOKUP_CREATE)) in lookup_user_key() 650 if (!(lflags & KEY_LOOKUP_CREATE)) in lookup_user_key() 673 if (lflags & KEY_LOOKUP_CREATE) in lookup_user_key() 684 lflags & KEY_LOOKUP_CREATE) { in lookup_user_key() 777 if (!(lflags & KEY_LOOKUP_PARTIAL)) { in lookup_user_key() 797 if (!(lflags & KEY_LOOKUP_PARTIAL) && in lookup_user_key()
|
D | keyctl.c | 261 unsigned long lflags; in keyctl_get_keyring_ID() local 264 lflags = create ? KEY_LOOKUP_CREATE : 0; in keyctl_get_keyring_ID() 265 key_ref = lookup_user_key(id, lflags, KEY_NEED_SEARCH); in keyctl_get_keyring_ID()
|
/linux-6.6.21/arch/powerpc/mm/book3s64/ |
D | slb.c | 545 unsigned long lflags; in slb_initialize() local 572 lflags = SLB_VSID_KERNEL | linear_llp; in slb_initialize() 578 create_shadowed_slbe(PAGE_OFFSET, mmu_kernel_ssize, lflags, LINEAR_INDEX); in slb_initialize() 590 mmu_kernel_ssize, lflags, KSTACK_INDEX); in slb_initialize()
|
/linux-6.6.21/fs/ |
D | namespace.c | 4075 unsigned int lflags; in SYSCALL_DEFINE5() local 4092 lflags = 0; in SYSCALL_DEFINE5() 4093 if (flags & MOVE_MOUNT_F_SYMLINKS) lflags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE5() 4094 if (flags & MOVE_MOUNT_F_AUTOMOUNTS) lflags |= LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE5() 4095 if (flags & MOVE_MOUNT_F_EMPTY_PATH) lflags |= LOOKUP_EMPTY; in SYSCALL_DEFINE5() 4097 ret = user_path_at(from_dfd, from_pathname, lflags, &from_path); in SYSCALL_DEFINE5() 4101 lflags = 0; in SYSCALL_DEFINE5() 4102 if (flags & MOVE_MOUNT_T_SYMLINKS) lflags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE5() 4103 if (flags & MOVE_MOUNT_T_AUTOMOUNTS) lflags |= LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE5() 4104 if (flags & MOVE_MOUNT_T_EMPTY_PATH) lflags |= LOOKUP_EMPTY; in SYSCALL_DEFINE5() [all …]
|
/linux-6.6.21/drivers/ata/ |
D | libata-eh.c | 2565 unsigned int lflags = link->flags; in ata_eh_reset() local 2775 if (!(lflags & ATA_LFLAG_ASSUME_CLASS)) in ata_eh_reset() 2776 lflags |= ATA_LFLAG_ASSUME_ATA; in ata_eh_reset() 2794 if (lflags & ATA_LFLAG_ASSUME_ATA) in ata_eh_reset() 2796 else if (lflags & ATA_LFLAG_ASSUME_SEMB) in ata_eh_reset()
|
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/ |
D | qplib_fp.h | 177 u16 lflags; member
|