Home
last modified time | relevance | path

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

12

/Linux-v5.4/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.c106 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_active_units()
137 if (ppd->lid && (ppd->lflags & (QIBL_LINKINIT | in qib_count_units()
178 (ppd->lflags & state), in qib_wait_linkstate()
184 if (!(ppd->lflags & state)) in qib_wait_linkstate()
229 if (ppd->lflags & QIBL_LINKARMED) { in qib_set_linkstate()
233 if (!(ppd->lflags & (QIBL_LINKINIT | QIBL_LINKACTIVE))) { in qib_set_linkstate()
244 ppd->lflags &= ~QIBL_LINKV; in qib_set_linkstate()
252 if (ppd->lflags & QIBL_LINKACTIVE) { in qib_set_linkstate()
256 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()
2432 if (!(ppd->lflags & QIBL_LINKDOWN)) in qib_7220_set_ib_cfg()
[all …]
Dqib_iba7322.c1907 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_7322_p_errors()
1923 !(ppd->lflags & QIBL_LINKACTIVE)) { in handle_7322_p_errors()
1960 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG)) in handle_7322_p_errors()
1984 if ((ppd->lflags & QIBL_IB_LINK_DISABLED) && ltstate != in handle_7322_p_errors()
2006 if (ppd->state_wanted & ppd->lflags) in handle_7322_p_errors()
2276 ppd->lflags |= QIBL_IB_LINK_DISABLED; in qib_set_ib_7322_lstate()
2285 ppd->lflags &= ~QIBL_IB_LINK_DISABLED; in qib_set_ib_7322_lstate()
2529 ppd->lflags &= ~QIBL_IB_AUTONEG_INPROG; in qib_7322_mini_quiet_serdes()
3750 ppd->lflags |= QIBL_IB_FORCE_NOTIFY; in qib_do_7322_reset()
3751 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()
3001 ppd->lflags &= ~QIBL_IB_FORCE_NOTIFY; in qib_6120_ib_updown()
3331 !(ppd->lflags & (QIBL_IB_AUTONEG_INPROG | QIBL_LINKACTIVE))) in qib_6120_getsendbuf()
Dqib_init.c645 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()
Dqib_tx.c520 if (!(ppd->lflags & QIBL_IB_AUTONEG_INPROG)) in qib_hol_down()
Dqib_sd7220.c1400 if ((dd->flags & QIB_INITTED) && !(ppd->lflags & in qib_run_relock()
1404 if (!(ppd->lflags & QIBL_IB_LINK_DISABLED)) in qib_run_relock()
/Linux-v5.4/fs/xfs/
Dkmem.c15 gfp_t lflags = kmem_flags_convert(flags); in kmem_alloc() local
21 ptr = kmalloc(size, lflags); in kmem_alloc()
28 (unsigned int)size, __func__, lflags); in kmem_alloc()
46 gfp_t lflags = kmem_flags_convert(flags); in __kmem_vmalloc() local
51 ptr = __vmalloc(size, lflags, PAGE_KERNEL); in __kmem_vmalloc()
101 gfp_t lflags = kmem_flags_convert(flags); in kmem_realloc() local
107 ptr = krealloc(old, newsize, lflags); in kmem_realloc()
114 newsize, __func__, lflags); in kmem_realloc()
123 gfp_t lflags = kmem_flags_convert(flags); in kmem_zone_alloc() local
128 ptr = kmem_cache_alloc(zone, lflags); in kmem_zone_alloc()
[all …]
Dkmem.h31 gfp_t lflags; in kmem_flags_convert() local
35 lflags = GFP_KERNEL | __GFP_NOWARN; in kmem_flags_convert()
37 lflags &= ~__GFP_FS; in kmem_flags_convert()
47 lflags |= __GFP_RETRY_MAYFAIL; in kmem_flags_convert()
50 lflags |= __GFP_ZERO; in kmem_flags_convert()
52 return lflags; in kmem_flags_convert()
/Linux-v5.4/net/sched/
Dact_skbmod.c90 u32 lflags = 0, index; 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()
127 lflags = SKBMOD_F_SWAPMAC; in tcf_skbmod_init()
136 if (!lflags) { in tcf_skbmod_init()
169 p->flags = lflags; in tcf_skbmod_init()
177 if (lflags & SKBMOD_F_DMAC) in tcf_skbmod_init()
179 if (lflags & SKBMOD_F_SMAC) in tcf_skbmod_init()
181 if (lflags & SKBMOD_F_ETYPE) in tcf_skbmod_init()
/Linux-v5.4/drivers/gpio/
Dgpiolib-of.c298 unsigned long lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in gpiod_get_from_of_node() local
326 lflags |= GPIO_ACTIVE_LOW; in gpiod_get_from_of_node()
330 lflags |= GPIO_OPEN_DRAIN; in gpiod_get_from_of_node()
332 lflags |= GPIO_OPEN_SOURCE; in gpiod_get_from_of_node()
336 lflags |= GPIO_TRANSITORY; in gpiod_get_from_of_node()
338 ret = gpiod_configure_flags(desc, propname, lflags, dflags); in gpiod_get_from_of_node()
538 unsigned long *lflags, in of_parse_own_gpio() argument
554 *lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in of_parse_own_gpio()
576 *lflags |= GPIO_ACTIVE_LOW; in of_parse_own_gpio()
578 *lflags |= GPIO_TRANSITORY; in of_parse_own_gpio()
[all …]
Dgpiolib.c520 u32 lflags; in linehandle_create() local
527 lflags = handlereq.flags; in linehandle_create()
530 if (lflags & ~GPIOHANDLE_REQUEST_VALID_FLAGS) in linehandle_create()
537 if ((lflags & GPIOHANDLE_REQUEST_INPUT) && in linehandle_create()
538 (lflags & GPIOHANDLE_REQUEST_OUTPUT)) in linehandle_create()
546 if ((lflags & GPIOHANDLE_REQUEST_OPEN_DRAIN) && in linehandle_create()
547 (lflags & GPIOHANDLE_REQUEST_OPEN_SOURCE)) in linehandle_create()
551 if (!(lflags & GPIOHANDLE_REQUEST_OUTPUT) && in linehandle_create()
552 ((lflags & GPIOHANDLE_REQUEST_OPEN_DRAIN) || in linehandle_create()
553 (lflags & GPIOHANDLE_REQUEST_OPEN_SOURCE))) in linehandle_create()
[all …]
Dgpiolib.h123 unsigned long lflags, enum gpiod_flags dflags);
125 unsigned long lflags, enum gpiod_flags dflags);
Dgpiolib-acpi.c875 unsigned long lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in acpi_dev_gpio_irq_get() local
887 ret = gpiod_configure_flags(desc, label, lflags, info.flags); in acpi_dev_gpio_irq_get()
1057 unsigned long *lflags, in acpi_gpiochip_parse_own_gpio() argument
1065 *lflags = GPIO_LOOKUP_FLAGS_DEFAULT; in acpi_gpiochip_parse_own_gpio()
1079 *lflags |= GPIO_ACTIVE_LOW; in acpi_gpiochip_parse_own_gpio()
1101 unsigned long lflags; in acpi_gpiochip_scan_gpios() local
1111 &lflags, &dflags); in acpi_gpiochip_scan_gpios()
1115 ret = gpiod_hog(desc, name, lflags, dflags); in acpi_gpiochip_scan_gpios()
/Linux-v5.4/include/linux/gpio/
Dmachine.h59 unsigned long lflags; member
91 .lflags = _lflags, \
Ddriver.h712 enum gpio_lookup_flags lflags,
/Linux-v5.4/security/keys/
Dprocess_keys.c611 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()
776 if (lflags & KEY_LOOKUP_FOR_UNLINK) { in lookup_user_key()
781 if (!(lflags & KEY_LOOKUP_PARTIAL)) { in lookup_user_key()
799 if (!(lflags & KEY_LOOKUP_PARTIAL) && in lookup_user_key()
Dkeyctl.c262 unsigned long lflags; in keyctl_get_keyring_ID() local
265 lflags = create ? KEY_LOOKUP_CREATE : 0; in keyctl_get_keyring_ID()
266 key_ref = lookup_user_key(id, lflags, KEY_NEED_SEARCH); in keyctl_get_keyring_ID()
/Linux-v5.4/arch/powerpc/mm/book3s64/
Dslb.c517 unsigned long lflags; in slb_initialize() local
544 lflags = SLB_VSID_KERNEL | linear_llp; in slb_initialize()
550 create_shadowed_slbe(PAGE_OFFSET, mmu_kernel_ssize, lflags, LINEAR_INDEX); in slb_initialize()
562 mmu_kernel_ssize, lflags, KSTACK_INDEX); in slb_initialize()
/Linux-v5.4/kernel/printk/
Dprintk.c1871 static size_t log_output(int facility, int level, enum log_flags lflags, const char *dict, size_t d… in log_output() argument
1880 if (cont.caller_id == caller_id && (lflags & LOG_CONT)) { in log_output()
1881 if (cont_add(caller_id, facility, level, lflags, text, text_len)) in log_output()
1889 if (!text_len && (lflags & LOG_CONT)) in log_output()
1893 if (!(lflags & LOG_NEWLINE)) { in log_output()
1894 if (cont_add(caller_id, facility, level, lflags, text, text_len)) in log_output()
1899 return log_store(caller_id, facility, level, lflags, 0, in log_output()
1911 enum log_flags lflags = 0; in vprintk_store() local
1922 lflags |= LOG_NEWLINE; in vprintk_store()
1936 lflags |= LOG_CONT; in vprintk_store()
[all …]
/Linux-v5.4/drivers/spi/
Dspi-bcm2835.c1182 enum gpio_lookup_flags lflags; in bcm2835_spi_setup() local
1257 lflags = GPIO_ACTIVE_HIGH; in bcm2835_spi_setup()
1259 lflags = GPIO_ACTIVE_LOW; in bcm2835_spi_setup()
1262 lflags, in bcm2835_spi_setup()
/Linux-v5.4/fs/
Dnamespace.c3522 unsigned int lflags; in SYSCALL_DEFINE5() local
3535 lflags = 0; in SYSCALL_DEFINE5()
3536 if (flags & MOVE_MOUNT_F_SYMLINKS) lflags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE5()
3537 if (flags & MOVE_MOUNT_F_AUTOMOUNTS) lflags |= LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE5()
3538 if (flags & MOVE_MOUNT_F_EMPTY_PATH) lflags |= LOOKUP_EMPTY; in SYSCALL_DEFINE5()
3540 ret = user_path_at(from_dfd, from_pathname, lflags, &from_path); in SYSCALL_DEFINE5()
3544 lflags = 0; in SYSCALL_DEFINE5()
3545 if (flags & MOVE_MOUNT_T_SYMLINKS) lflags |= LOOKUP_FOLLOW; in SYSCALL_DEFINE5()
3546 if (flags & MOVE_MOUNT_T_AUTOMOUNTS) lflags |= LOOKUP_AUTOMOUNT; in SYSCALL_DEFINE5()
3547 if (flags & MOVE_MOUNT_T_EMPTY_PATH) lflags |= LOOKUP_EMPTY; in SYSCALL_DEFINE5()
[all …]
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.h158 u16 lflags; member
/Linux-v5.4/drivers/ata/
Dlibata-core.c101 unsigned int lflags; member
381 if (fe->param.lflags) { in ata_force_link_limits()
382 link->flags |= fe->param.lflags; in ata_force_link_limits()
385 fe->param.lflags, link->flags); in ata_force_link_limits()
6900 { "nohrst", .lflags = ATA_LFLAG_NO_HRST }, in ata_parse_force_one()
6901 { "nosrst", .lflags = ATA_LFLAG_NO_SRST }, in ata_parse_force_one()
6902 { "norst", .lflags = ATA_LFLAG_NO_HRST | ATA_LFLAG_NO_SRST }, in ata_parse_force_one()
6903 { "rstonce", .lflags = ATA_LFLAG_RST_ONCE }, in ata_parse_force_one()

12