Home
last modified time | relevance | path

Searched refs:pflags (Results 1 – 25 of 55) sorted by relevance

123

/Linux-v5.4/net/smc/
Dsmc_tx.c407 struct smc_cdc_producer_flags *pflags; in smc_tx_rdma_writes() local
428 pflags = &conn->local_tx_ctrl.prod_flags; in smc_tx_rdma_writes()
429 pflags->write_blocked = (to_send >= rmbespace); in smc_tx_rdma_writes()
469 pflags->urg_data_present = 1; in smc_tx_rdma_writes()
484 struct smc_cdc_producer_flags *pflags = &conn->local_tx_ctrl.prod_flags; in smcr_tx_sndbuf_nonempty() local
507 if (!pflags->urg_data_present) { in smcr_tx_sndbuf_nonempty()
517 if (!rc && pflags->urg_data_present) { in smcr_tx_sndbuf_nonempty()
518 pflags->urg_data_pending = 0; in smcr_tx_sndbuf_nonempty()
519 pflags->urg_data_present = 0; in smcr_tx_sndbuf_nonempty()
529 struct smc_cdc_producer_flags *pflags = &conn->local_tx_ctrl.prod_flags; in smcd_tx_sndbuf_nonempty() local
[all …]
/Linux-v5.4/include/net/
Dgue.h103 __be32 pflags = *(__be32 *)((void *)&guehdr[1] + in validate_gue_flags() local
106 if (pflags & ~GUE_PFLAGS_ALL) in validate_gue_flags()
109 len += guehdr_priv_flags_len(pflags); in validate_gue_flags()
/Linux-v5.4/drivers/ata/
Dlibata-eh.c243 WARN_ON(!(ap->pflags & ATA_PFLAG_INITIALIZING)); in ata_port_desc()
505 ap->pflags &= ~ATA_PFLAG_EH_PENDING; /* clear pending from freeze */ in ata_eh_unload()
506 ap->pflags |= ATA_PFLAG_UNLOADED; in ata_eh_unload()
687 ap->pflags |= ATA_PFLAG_EH_IN_PROGRESS; in ata_scsi_port_error_handler()
688 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_scsi_port_error_handler()
694 if (!(ap->pflags & (ATA_PFLAG_UNLOADING | ATA_PFLAG_SUSPENDED))) in ata_scsi_port_error_handler()
698 if ((ap->pflags & ATA_PFLAG_UNLOADING) && in ata_scsi_port_error_handler()
699 !(ap->pflags & ATA_PFLAG_UNLOADED)) in ata_scsi_port_error_handler()
713 if (ap->pflags & ATA_PFLAG_EH_PENDING) { in ata_scsi_port_error_handler()
721 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_scsi_port_error_handler()
[all …]
Dpata_legacy.c107 unsigned int pflags; member
301 && (ap->pflags & ATA_PFLAG_PIO32)) { in pdc_data_xfer_vlb()
701 && (ap->pflags & ATA_PFLAG_PIO32)) { in vlb32_data_xfer()
977 ap->pflags |= controller->pflags; in legacy_init_one()
Dpata_ninja32.c145 ap->pflags |= ATA_PFLAG_PIO32 | ATA_PFLAG_PIO32CHANGE; in ninja32_init_one()
Dlibata-acpi.c191 ap->pflags |= ATA_PFLAG_INIT_GTM_VALID; in ata_acpi_bind_port()
1022 if (rc == -EINVAL && !nr_executed && !(ap->pflags & ATA_PFLAG_FROZEN)) in ata_acpi_on_devcfg()
1037 if (!nr_executed && !(ap->pflags & ATA_PFLAG_FROZEN)) in ata_acpi_on_devcfg()
Dlibata-core.c1569 if (ap->pflags & ATA_PFLAG_FROZEN) { in ata_exec_internal_sg()
1755 if (adev->link->ap->pflags & ATA_PFLAG_RESETTING) in ata_pio_need_iordy()
5110 if (unlikely(ap->pflags & ATA_PFLAG_FROZEN)) in ata_qc_new_init()
5282 WARN_ON_ONCE(ap->pflags & ATA_PFLAG_FROZEN); in ata_qc_complete()
5675 if (ap->pflags & ATA_PFLAG_PM_PENDING) { in ata_port_request_pm()
5677 WARN_ON(ap->pflags & ATA_PFLAG_PM_PENDING); in ata_port_request_pm()
5684 ap->pflags |= ATA_PFLAG_PM_PENDING; in ata_port_request_pm()
5696 WARN_ON(ap->pflags & ATA_PFLAG_PM_PENDING); in ata_port_request_pm()
5996 ap->pflags |= ATA_PFLAG_INITIALIZING | ATA_PFLAG_FROZEN; in ata_port_alloc()
6441 ap->pflags &= ~ATA_PFLAG_INITIALIZING; in __ata_port_probe()
[all …]
/Linux-v5.4/arch/alpha/kernel/
Dprocess.c80 unsigned long *pflags, flags; in common_shutdown_1() local
89 pflags = &cpup->flags; in common_shutdown_1()
90 flags = *pflags; in common_shutdown_1()
99 *pflags = flags; in common_shutdown_1()
123 *pflags = flags; in common_shutdown_1()
/Linux-v5.4/drivers/xen/
Dgrant-table.c307 u16 *pflags; in gnttab_end_foreign_access_ref_v1() local
309 pflags = &gnttab_shared.v1[ref].flags; in gnttab_end_foreign_access_ref_v1()
310 nflags = *pflags; in gnttab_end_foreign_access_ref_v1()
315 } while ((nflags = sync_cmpxchg(pflags, flags, 0)) != flags); in gnttab_end_foreign_access_ref_v1()
476 u16 *pflags; in gnttab_end_foreign_transfer_ref_v1() local
478 pflags = &gnttab_shared.v1[ref].flags; in gnttab_end_foreign_transfer_ref_v1()
484 while (!((flags = *pflags) & GTF_transfer_committed)) { in gnttab_end_foreign_transfer_ref_v1()
485 if (sync_cmpxchg(pflags, flags, 0) == flags) in gnttab_end_foreign_transfer_ref_v1()
492 flags = *pflags; in gnttab_end_foreign_transfer_ref_v1()
507 u16 *pflags; in gnttab_end_foreign_transfer_ref_v2() local
[all …]
/Linux-v5.4/drivers/hsi/clients/
Dnokia-modem.c133 int irq, pflags, err; in nokia_modem_probe() local
156 pflags = irq_get_trigger_type(irq); in nokia_modem_probe()
161 pflags, "modem_rst_ind", modem); in nokia_modem_probe()
164 irq, pflags); in nokia_modem_probe()
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dnv04.c48 nv04_fifo_pause(struct nvkm_fifo *base, unsigned long *pflags) in nv04_fifo_pause() argument
56 *pflags = flags; in nv04_fifo_pause()
84 nv04_fifo_start(struct nvkm_fifo *base, unsigned long *pflags) in nv04_fifo_start() argument
89 unsigned long flags = *pflags; in nv04_fifo_start()
/Linux-v5.4/include/uapi/linux/netfilter/
Dxt_multiport.h26 __u8 pflags[XT_MULTI_PORTS]; /* Port flags */ member
/Linux-v5.4/drivers/message/fusion/
Dmptbase.h968 #define MPT_PROTOCOL_FLAGS_c_c_c_c(pflags) \ argument
969 ((pflags) & MPI_PORTFACTS_PROTOCOL_INITIATOR) ? 'I' : 'i', \
970 ((pflags) & MPI_PORTFACTS_PROTOCOL_TARGET) ? 'T' : 't', \
971 ((pflags) & MPI_PORTFACTS_PROTOCOL_LAN) ? 'L' : 'l', \
972 ((pflags) & MPI_PORTFACTS_PROTOCOL_LOGBUSADDR) ? 'B' : 'b'
/Linux-v5.4/drivers/usb/gadget/udc/
Dpxa27x_udc.c664 unsigned long *pflags) in req_done() argument
679 if (pflags) in req_done()
680 spin_unlock_irqrestore(&ep->lock, *pflags); in req_done()
684 if (pflags) in req_done()
685 spin_lock_irqsave(&ep->lock, *pflags); in req_done()
699 unsigned long *pflags) in ep_end_out_req() argument
702 req_done(ep, req, 0, pflags); in ep_end_out_req()
717 unsigned long *pflags) in ep0_end_out_req() argument
720 ep_end_out_req(ep, req, pflags); in ep0_end_out_req()
735 unsigned long *pflags) in ep_end_in_req() argument
[all …]
/Linux-v5.4/net/can/
Draw.c122 unsigned int *pflags; in raw_rcv() local
170 pflags = raw_flags(skb); in raw_rcv()
171 *pflags = 0; in raw_rcv()
173 *pflags |= MSG_DONTROUTE; in raw_rcv()
175 *pflags |= MSG_CONFIRM; in raw_rcv()
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_verifier.c905 __u32 pflags; in do_test_single() local
927 pflags = BPF_F_TEST_RND_HI32; in do_test_single()
929 pflags |= BPF_F_STRICT_ALIGNMENT; in do_test_single()
931 pflags |= BPF_F_ANY_ALIGNMENT; in do_test_single()
933 pflags |= test->flags; in do_test_single()
946 attr.prog_flags = pflags; in do_test_single()
/Linux-v5.4/drivers/net/wan/
Dsdla.c432 unsigned long pflags; in sdla_cmd() local
444 spin_lock_irqsave(&sdla_lock, pflags); in sdla_cmd()
456 spin_unlock_irqrestore(&sdla_lock, pflags); in sdla_cmd()
464 spin_lock_irqsave(&sdla_lock, pflags); in sdla_cmd()
467 spin_unlock_irqrestore(&sdla_lock, pflags); in sdla_cmd()
474 spin_lock_irqsave(&sdla_lock, pflags); in sdla_cmd()
490 spin_unlock_irqrestore(&sdla_lock, pflags); in sdla_cmd()
/Linux-v5.4/kernel/
Dauditfilter.c473 entry->rule.pflags |= AUDIT_LOGINUID_LEGACY; in audit_data_to_entry()
672 if (krule->pflags & AUDIT_LOGINUID_LEGACY && !f->val) { in audit_krule_to_data()
694 a->pflags != b->pflags || in audit_compare_rule()
818 new->pflags = old->pflags; in audit_dupe_rule()
/Linux-v5.4/drivers/crypto/bcm/
Dspu.c28 u32 pflags; in spum_dump_msg_hdr() local
63 pflags = be32_to_cpu(spuh->sa.proto_flags); in spum_dump_msg_hdr()
64 packet_log(" SCTX[0] 0x%08x\n", pflags); in spum_dump_msg_hdr()
65 sctx_size = pflags & SCTX_SIZE; in spum_dump_msg_hdr()
/Linux-v5.4/net/netfilter/
Dxt_multiport.c37 if (minfo->pflags[i]) { in ports_match_v1()
/Linux-v5.4/net/sunrpc/
Dsched.c986 unsigned int pflags = memalloc_nofs_save(); in rpc_async_schedule() local
989 memalloc_nofs_restore(pflags); in rpc_async_schedule()
1152 unsigned int pflags = memalloc_nofs_save(); in rpc_async_release() local
1155 memalloc_nofs_restore(pflags); in rpc_async_release()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den.h239 (params)->pflags |= BIT(pflag); \
241 (params)->pflags &= ~(BIT(pflag)); \
244 #define MLX5E_GET_PFLAG(params, pflag) (!!((params)->pflags & (BIT(pflag))))
267 u32 pflags; member
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1915 bool bf_enabled_old = !!(priv->pflags & MLX4_EN_PRIV_FLAGS_BLUEFLAME); in mlx4_en_set_priv_flags()
1917 bool phv_enabled_old = !!(priv->pflags & MLX4_EN_PRIV_FLAGS_PHV); in mlx4_en_set_priv_flags()
1937 priv->pflags |= MLX4_EN_PRIV_FLAGS_BLUEFLAME; in mlx4_en_set_priv_flags()
1939 priv->pflags &= ~MLX4_EN_PRIV_FLAGS_BLUEFLAME; in mlx4_en_set_priv_flags()
1956 priv->pflags |= MLX4_EN_PRIV_FLAGS_PHV; in mlx4_en_set_priv_flags()
1958 priv->pflags &= ~MLX4_EN_PRIV_FLAGS_PHV; in mlx4_en_set_priv_flags()
1969 return priv->pflags; in mlx4_en_get_priv_flags()
/Linux-v5.4/drivers/vfio/pci/
Dvfio_pci_config.c1085 __le16 *pflags; in vfio_msi_config_write() local
1091 pflags = (__le16 *)&vdev->vconfig[start + PCI_MSI_FLAGS]; in vfio_msi_config_write()
1093 flags = le16_to_cpu(*pflags); in vfio_msi_config_write()
1106 *pflags = cpu_to_le16(flags); in vfio_msi_config_write()
/Linux-v5.4/drivers/scsi/qla2xxx/
Dqla_sup.c1542 qla2x00_flip_colors(struct qla_hw_data *ha, uint16_t *pflags) in qla2x00_flip_colors() argument
1549 *pflags = GPIO_LED_ALL_OFF; in qla2x00_flip_colors()
1553 *pflags = GPIO_LED_RGA_ON; in qla2x00_flip_colors()
1560 *pflags = GPIO_LED_GREEN_OFF_AMBER_OFF; in qla2x00_flip_colors()
1564 *pflags = GPIO_LED_GREEN_ON_AMBER_OFF; in qla2x00_flip_colors()
1709 qla24xx_flip_colors(struct qla_hw_data *ha, uint16_t *pflags) in qla24xx_flip_colors() argument
1715 *pflags = 0; in qla24xx_flip_colors()
1719 *pflags = GPDX_LED_YELLOW_ON | GPDX_LED_AMBER_ON; in qla24xx_flip_colors()

123