Home
last modified time | relevance | path

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

123

/linux-6.12.1/fs/xfs/scrub/
Dxfile.c114 unsigned int pflags; in xfile_load() local
123 pflags = memalloc_nofs_save(); in xfile_load()
158 memalloc_nofs_restore(pflags); in xfile_load()
177 unsigned int pflags; in xfile_store() local
193 pflags = memalloc_nofs_save(); in xfile_store()
220 memalloc_nofs_restore(pflags); in xfile_store()
254 unsigned int pflags; in xfile_get_folio() local
269 pflags = memalloc_nofs_save(); in xfile_get_folio()
272 memalloc_nofs_restore(pflags); in xfile_get_folio()
/linux-6.12.1/net/smc/
Dsmc_tx.c468 struct smc_cdc_producer_flags *pflags; in smc_tx_rdma_writes() local
493 pflags = &conn->local_tx_ctrl.prod_flags; in smc_tx_rdma_writes()
494 pflags->write_blocked = (to_send >= rmbespace); in smc_tx_rdma_writes()
534 pflags->urg_data_present = 1; in smc_tx_rdma_writes()
549 struct smc_cdc_producer_flags *pflags = &conn->local_tx_ctrl.prod_flags; in smcr_tx_sndbuf_nonempty() local
584 if (!pflags->urg_data_present) { in smcr_tx_sndbuf_nonempty()
594 if (!rc && pflags->urg_data_present) { in smcr_tx_sndbuf_nonempty()
595 pflags->urg_data_pending = 0; in smcr_tx_sndbuf_nonempty()
596 pflags->urg_data_present = 0; in smcr_tx_sndbuf_nonempty()
607 struct smc_cdc_producer_flags *pflags = &conn->local_tx_ctrl.prod_flags; in smcd_tx_sndbuf_nonempty() local
[all …]
/linux-6.12.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-6.12.1/include/linux/sched/
Dmm.h252 unsigned int pflags = READ_ONCE(current->flags); in current_gfp_context() local
254 if (unlikely(pflags & (PF_MEMALLOC_NOIO | PF_MEMALLOC_NOFS | PF_MEMALLOC_PIN))) { in current_gfp_context()
259 if (pflags & PF_MEMALLOC_NOIO) in current_gfp_context()
261 else if (pflags & PF_MEMALLOC_NOFS) in current_gfp_context()
264 if (pflags & PF_MEMALLOC_PIN) in current_gfp_context()
/linux-6.12.1/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-6.12.1/drivers/ata/
Dlibata-eh.c254 WARN_ON(!(ap->pflags & ATA_PFLAG_INITIALIZING)); in ata_port_desc()
543 ap->pflags &= ~ATA_PFLAG_EH_PENDING; /* clear pending from freeze */ in ata_eh_unload()
544 ap->pflags |= ATA_PFLAG_UNLOADED; in ata_eh_unload()
727 if (ap->pflags & ATA_PFLAG_RESUMING) { in ata_scsi_port_error_handler()
734 ap->pflags |= ATA_PFLAG_EH_IN_PROGRESS; in ata_scsi_port_error_handler()
735 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_scsi_port_error_handler()
741 if (!(ap->pflags & (ATA_PFLAG_UNLOADING | ATA_PFLAG_SUSPENDED))) in ata_scsi_port_error_handler()
745 if ((ap->pflags & ATA_PFLAG_UNLOADING) && in ata_scsi_port_error_handler()
746 !(ap->pflags & ATA_PFLAG_UNLOADED)) in ata_scsi_port_error_handler()
760 if (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
337 && (ap->pflags & ATA_PFLAG_PIO32)) { in pdc_data_xfer_vlb()
738 && (ap->pflags & ATA_PFLAG_PIO32)) { in vlb32_data_xfer()
1015 ap->pflags |= controller->pflags; in legacy_init_one()
Dpata_ninja32.c145 ap->pflags |= ATA_PFLAG_PIO32 | ATA_PFLAG_PIO32CHANGE; in ninja32_init_one()
/linux-6.12.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-6.12.1/drivers/usb/gadget/udc/
Dpxa27x_udc.c660 unsigned long *pflags) in req_done() argument
675 if (pflags) in req_done()
676 spin_unlock_irqrestore(&ep->lock, *pflags); in req_done()
680 if (pflags) in req_done()
681 spin_lock_irqsave(&ep->lock, *pflags); in req_done()
695 unsigned long *pflags) in ep_end_out_req() argument
698 req_done(ep, req, 0, pflags); in ep_end_out_req()
713 unsigned long *pflags) in ep0_end_out_req() argument
716 ep_end_out_req(ep, req, pflags); in ep0_end_out_req()
731 unsigned long *pflags) in ep_end_in_req() argument
[all …]
/linux-6.12.1/net/sunrpc/
Dsched.c916 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-6.12.1/drivers/message/fusion/
Dmptbase.h964 #define MPT_PROTOCOL_FLAGS_c_c_c_c(pflags) \ argument
965 ((pflags) & MPI_PORTFACTS_PROTOCOL_INITIATOR) ? 'I' : 'i', \
966 ((pflags) & MPI_PORTFACTS_PROTOCOL_TARGET) ? 'T' : 't', \
967 ((pflags) & MPI_PORTFACTS_PROTOCOL_LAN) ? 'L' : 'l', \
968 ((pflags) & MPI_PORTFACTS_PROTOCOL_LOGBUSADDR) ? 'B' : 'b'
/linux-6.12.1/include/uapi/linux/netfilter/
Dxt_multiport.h26 __u8 pflags[XT_MULTI_PORTS]; /* Port flags */ member
/linux-6.12.1/drivers/gpu/drm/loongson/
Dlsdc_ttm.c50 u32 pflags = 0; in lsdc_bo_set_placement() local
54 pflags |= TTM_PL_FLAG_TOPDOWN; in lsdc_bo_set_placement()
60 lbo->placements[c++].flags = pflags; in lsdc_bo_set_placement()
65 lbo->placements[c++].flags = pflags; in lsdc_bo_set_placement()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dnv04.c212 nv04_fifo_pause(struct nvkm_fifo *fifo, unsigned long *pflags) in nv04_fifo_pause() argument
219 *pflags = flags; in nv04_fifo_pause()
247 nv04_fifo_start(struct nvkm_fifo *fifo, unsigned long *pflags) in nv04_fifo_start() argument
251 unsigned long flags = *pflags; in nv04_fifo_start()
/linux-6.12.1/net/can/
Draw.c134 unsigned int *pflags; in raw_rcv() local
201 pflags = raw_flags(skb); in raw_rcv()
202 *pflags = 0; in raw_rcv()
204 *pflags |= MSG_DONTROUTE; in raw_rcv()
206 *pflags |= MSG_CONFIRM; in raw_rcv()
Dbcm.c340 unsigned int *pflags; in bcm_send_to_user() local
353 pflags = bcm_flags(skb); in bcm_send_to_user()
354 *pflags = 0; in bcm_send_to_user()
370 *pflags |= MSG_DONTROUTE; in bcm_send_to_user()
372 *pflags |= MSG_CONFIRM; in bcm_send_to_user()
/linux-6.12.1/kernel/
Dauditfilter.c482 entry->rule.pflags |= AUDIT_LOGINUID_LEGACY; in audit_data_to_entry()
688 if (krule->pflags & AUDIT_LOGINUID_LEGACY && !f->val) { in audit_krule_to_data()
711 a->pflags != b->pflags || in audit_compare_rule()
835 new->pflags = old->pflags; in audit_dupe_rule()
/linux-6.12.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-6.12.1/mm/
Dpage_io.c613 unsigned long pflags; in swap_read_folio() local
627 psi_memstall_enter(&pflags); in swap_read_folio()
653 psi_memstall_leave(&pflags); in swap_read_folio()
/linux-6.12.1/fs/btrfs/
Dcompression.c415 int *memstall, unsigned long *pflags) in add_ra_bio_pages() argument
490 psi_memstall_enter(pflags); in add_ra_bio_pages()
578 unsigned long pflags; in btrfs_submit_compressed_read() local
623 &pflags); in btrfs_submit_compressed_read()
631 psi_memstall_leave(&pflags); in btrfs_submit_compressed_read()
/linux-6.12.1/net/netfilter/
Dxt_multiport.c37 if (minfo->pflags[i]) { in ports_match_v1()
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_verifier.c1521 __u32 pflags; in do_test_single() local
1552 pflags = testing_prog_flags(); in do_test_single()
1554 pflags |= BPF_F_STRICT_ALIGNMENT; in do_test_single()
1556 pflags |= BPF_F_ANY_ALIGNMENT; in do_test_single()
1558 pflags |= test->flags; in do_test_single()
1572 opts.prog_flags = pflags; in do_test_single()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Den.h260 (params)->pflags |= BIT(pflag); \
262 (params)->pflags &= ~(BIT(pflag)); \
265 #define MLX5E_GET_PFLAG(params, pflag) (!!((params)->pflags & (BIT(pflag))))
307 u32 pflags; member

123