Home
last modified time | relevance | path

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

123

/Linux-v6.1/include/net/
Dgue.h106 __be32 pflags = *(__be32 *)((void *)&guehdr[1] + in validate_gue_flags() local
109 if (pflags & ~GUE_PFLAGS_ALL) in validate_gue_flags()
112 len += guehdr_priv_flags_len(pflags); in validate_gue_flags()
/Linux-v6.1/drivers/ata/
Dlibata-eh.c252 WARN_ON(!(ap->pflags & ATA_PFLAG_INITIALIZING)); in ata_port_desc()
514 ap->pflags &= ~ATA_PFLAG_EH_PENDING; /* clear pending from freeze */ in ata_eh_unload()
515 ap->pflags |= ATA_PFLAG_UNLOADED; in ata_eh_unload()
693 ap->pflags |= ATA_PFLAG_EH_IN_PROGRESS; in ata_scsi_port_error_handler()
694 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_scsi_port_error_handler()
700 if (!(ap->pflags & (ATA_PFLAG_UNLOADING | ATA_PFLAG_SUSPENDED))) in ata_scsi_port_error_handler()
704 if ((ap->pflags & ATA_PFLAG_UNLOADING) && in ata_scsi_port_error_handler()
705 !(ap->pflags & ATA_PFLAG_UNLOADED)) in ata_scsi_port_error_handler()
719 if (ap->pflags & ATA_PFLAG_EH_PENDING) { in ata_scsi_port_error_handler()
727 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_scsi_port_error_handler()
[all …]
Dahci_dwc.c110 unsigned int pflags; member
172 hpriv = ahci_platform_get_resources(pdev, dpriv->pdata->pflags); in ahci_dwc_get_resources()
463 .pflags = AHCI_PLATFORM_GET_RESETS,
467 .pflags = AHCI_PLATFORM_GET_RESETS | AHCI_PLATFORM_RST_TRIGGER,
Dpata_legacy.c166 unsigned int pflags; member
339 && (ap->pflags & ATA_PFLAG_PIO32)) { in pdc_data_xfer_vlb()
740 && (ap->pflags & ATA_PFLAG_PIO32)) { in vlb32_data_xfer()
1017 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()
995 if (rc == -EINVAL && !nr_executed && !(ap->pflags & ATA_PFLAG_FROZEN)) in ata_acpi_on_devcfg()
1010 if (!nr_executed && !(ap->pflags & ATA_PFLAG_FROZEN)) in ata_acpi_on_devcfg()
Dlibata-core.c1492 if (ap->pflags & ATA_PFLAG_FROZEN) { in ata_exec_internal_sg()
1677 if (adev->link->ap->pflags & ATA_PFLAG_RESETTING) in ata_pio_need_iordy()
4724 WARN_ON_ONCE(ap->pflags & ATA_PFLAG_FROZEN); in ata_qc_complete()
4984 if (ap->pflags & ATA_PFLAG_PM_PENDING) { in ata_port_request_pm()
4986 WARN_ON(ap->pflags & ATA_PFLAG_PM_PENDING); in ata_port_request_pm()
4993 ap->pflags |= ATA_PFLAG_PM_PENDING; in ata_port_request_pm()
5005 WARN_ON(ap->pflags & ATA_PFLAG_PM_PENDING); in ata_port_request_pm()
5304 ap->pflags |= ATA_PFLAG_INITIALIZING | ATA_PFLAG_FROZEN; in ata_port_alloc()
5681 ap->pflags &= ~ATA_PFLAG_INITIALIZING; in __ata_port_probe()
5682 ap->pflags |= ATA_PFLAG_LOADING; in __ata_port_probe()
[all …]
/Linux-v6.1/net/smc/
Dsmc_tx.c485 struct smc_cdc_producer_flags *pflags; in smc_tx_rdma_writes() local
510 pflags = &conn->local_tx_ctrl.prod_flags; in smc_tx_rdma_writes()
511 pflags->write_blocked = (to_send >= rmbespace); in smc_tx_rdma_writes()
551 pflags->urg_data_present = 1; in smc_tx_rdma_writes()
566 struct smc_cdc_producer_flags *pflags = &conn->local_tx_ctrl.prod_flags; in smcr_tx_sndbuf_nonempty() local
601 if (!pflags->urg_data_present) { in smcr_tx_sndbuf_nonempty()
611 if (!rc && pflags->urg_data_present) { in smcr_tx_sndbuf_nonempty()
612 pflags->urg_data_pending = 0; in smcr_tx_sndbuf_nonempty()
613 pflags->urg_data_present = 0; in smcr_tx_sndbuf_nonempty()
624 struct smc_cdc_producer_flags *pflags = &conn->local_tx_ctrl.prod_flags; in smcd_tx_sndbuf_nonempty() local
[all …]
/Linux-v6.1/include/linux/sched/
Dmm.h205 unsigned int pflags = READ_ONCE(current->flags); in current_gfp_context() local
207 if (unlikely(pflags & (PF_MEMALLOC_NOIO | PF_MEMALLOC_NOFS | PF_MEMALLOC_PIN))) { in current_gfp_context()
212 if (pflags & PF_MEMALLOC_NOIO) in current_gfp_context()
214 else if (pflags & PF_MEMALLOC_NOFS) in current_gfp_context()
217 if (pflags & PF_MEMALLOC_PIN) in current_gfp_context()
/Linux-v6.1/arch/alpha/kernel/
Dprocess.c79 unsigned long *pflags, flags; in common_shutdown_1() local
88 pflags = &cpup->flags; in common_shutdown_1()
89 flags = *pflags; in common_shutdown_1()
98 *pflags = flags; in common_shutdown_1()
122 *pflags = flags; in common_shutdown_1()
/Linux-v6.1/drivers/hsi/clients/
Dnokia-modem.c131 int irq, pflags, err; in nokia_modem_probe() local
154 pflags = irq_get_trigger_type(irq); in nokia_modem_probe()
159 pflags, "modem_rst_ind", modem); in nokia_modem_probe()
162 irq, pflags); in nokia_modem_probe()
/Linux-v6.1/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-v6.1/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-v6.1/net/sunrpc/
Dsched.c915 unsigned long pflags = current->flags; in __rpc_execute() local
1005 current_restore_flags(pflags, PF_MEMALLOC); in __rpc_execute()
1024 unsigned int pflags = memalloc_nofs_save(); in rpc_execute() local
1026 memalloc_nofs_restore(pflags); in rpc_execute()
1032 unsigned int pflags = memalloc_nofs_save(); in rpc_async_schedule() local
1035 memalloc_nofs_restore(pflags); in rpc_async_schedule()
1196 unsigned int pflags = memalloc_nofs_save(); in rpc_async_release() local
1199 memalloc_nofs_restore(pflags); in rpc_async_release()
/Linux-v6.1/drivers/usb/gadget/udc/
Dpxa27x_udc.c661 unsigned long *pflags) in req_done() argument
676 if (pflags) in req_done()
677 spin_unlock_irqrestore(&ep->lock, *pflags); in req_done()
681 if (pflags) in req_done()
682 spin_lock_irqsave(&ep->lock, *pflags); in req_done()
696 unsigned long *pflags) in ep_end_out_req() argument
699 req_done(ep, req, 0, pflags); in ep_end_out_req()
714 unsigned long *pflags) in ep0_end_out_req() argument
717 ep_end_out_req(ep, req, pflags); in ep0_end_out_req()
732 unsigned long *pflags) in ep_end_in_req() argument
[all …]
/Linux-v6.1/include/uapi/linux/netfilter/
Dxt_multiport.h26 __u8 pflags[XT_MULTI_PORTS]; /* Port flags */ member
/Linux-v6.1/net/can/
Draw.c128 unsigned int *pflags; in raw_rcv() local
176 pflags = raw_flags(skb); in raw_rcv()
177 *pflags = 0; in raw_rcv()
179 *pflags |= MSG_DONTROUTE; in raw_rcv()
181 *pflags |= MSG_CONFIRM; in raw_rcv()
/Linux-v6.1/mm/
Dpage_io.c455 unsigned long pflags; in swap_readpage() local
469 psi_memstall_enter(&pflags); in swap_readpage()
521 psi_memstall_leave(&pflags); in swap_readpage()
Dfilemap.c1225 unsigned long pflags; in folio_wait_bit_common() local
1231 psi_memstall_enter(&pflags); in folio_wait_bit_common()
1331 psi_memstall_leave(&pflags); in folio_wait_bit_common()
1378 unsigned long pflags; in migration_entry_wait_on_locked() local
1386 psi_memstall_enter(&pflags); in migration_entry_wait_on_locked()
1433 psi_memstall_leave(&pflags); in migration_entry_wait_on_locked()
2394 unsigned long pflags; in filemap_read_folio() local
2406 psi_memstall_enter(&pflags); in filemap_read_folio()
2409 psi_memstall_leave(&pflags); in filemap_read_folio()
/Linux-v6.1/kernel/
Dauditfilter.c482 entry->rule.pflags |= AUDIT_LOGINUID_LEGACY; in audit_data_to_entry()
687 if (krule->pflags & AUDIT_LOGINUID_LEGACY && !f->val) { in audit_krule_to_data()
709 a->pflags != b->pflags || in audit_compare_rule()
833 new->pflags = old->pflags; in audit_dupe_rule()
/Linux-v6.1/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-v6.1/net/netfilter/
Dxt_multiport.c37 if (minfo->pflags[i]) { in ports_match_v1()
/Linux-v6.1/tools/testing/selftests/bpf/
Dtest_verifier.c1455 __u32 pflags; in do_test_single() local
1479 pflags = BPF_F_TEST_RND_HI32; in do_test_single()
1481 pflags |= BPF_F_STRICT_ALIGNMENT; in do_test_single()
1483 pflags |= BPF_F_ANY_ALIGNMENT; in do_test_single()
1485 pflags |= test->flags; in do_test_single()
1499 opts.prog_flags = pflags; in do_test_single()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den.h279 (params)->pflags |= BIT(pflag); \
281 (params)->pflags &= ~(BIT(pflag)); \
284 #define MLX5E_GET_PFLAG(params, pflag) (!!((params)->pflags & (BIT(pflag))))
325 u32 pflags; member
/Linux-v6.1/fs/btrfs/
Dcompression.c515 int *memstall, unsigned long *pflags) in add_ra_bio_pages() argument
585 psi_memstall_enter(pflags); in add_ra_bio_pages()
675 unsigned long pflags; in btrfs_submit_compressed_read() local
732 add_ra_bio_pages(inode, em_start + em_len, cb, &memstall, &pflags); in btrfs_submit_compressed_read()
813 psi_memstall_leave(&pflags); in btrfs_submit_compressed_read()

123