Home
last modified time | relevance | path

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

123

/linux-6.6.21/fs/xfs/scrub/
Dxfile.c137 unsigned int pflags; in xfile_pread() local
147 pflags = memalloc_nofs_save(); in xfile_pread()
190 memalloc_nofs_restore(pflags); in xfile_pread()
215 unsigned int pflags; in xfile_pwrite() local
225 pflags = memalloc_nofs_save(); in xfile_pwrite()
274 memalloc_nofs_restore(pflags); in xfile_pwrite()
331 unsigned int pflags; in xfile_get_page() local
341 pflags = memalloc_nofs_save(); in xfile_get_page()
384 memalloc_nofs_restore(pflags); in xfile_get_page()
400 unsigned int pflags; in xfile_put_page() local
[all …]
/linux-6.6.21/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.6.21/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.6.21/include/linux/sched/
Dmm.h237 unsigned int pflags = READ_ONCE(current->flags); in current_gfp_context() local
239 if (unlikely(pflags & (PF_MEMALLOC_NOIO | PF_MEMALLOC_NOFS | PF_MEMALLOC_PIN))) { in current_gfp_context()
244 if (pflags & PF_MEMALLOC_NOIO) in current_gfp_context()
246 else if (pflags & PF_MEMALLOC_NOFS) in current_gfp_context()
249 if (pflags & PF_MEMALLOC_PIN) in current_gfp_context()
/linux-6.6.21/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.6.21/drivers/ata/
Dlibata-eh.c254 WARN_ON(!(ap->pflags & ATA_PFLAG_INITIALIZING)); in ata_port_desc()
528 ap->pflags &= ~ATA_PFLAG_EH_PENDING; /* clear pending from freeze */ in ata_eh_unload()
529 ap->pflags |= ATA_PFLAG_UNLOADED; in ata_eh_unload()
703 if (ap->pflags & ATA_PFLAG_RESUMING) in ata_scsi_port_error_handler()
708 ap->pflags |= ATA_PFLAG_EH_IN_PROGRESS; in ata_scsi_port_error_handler()
709 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_scsi_port_error_handler()
715 if (!(ap->pflags & (ATA_PFLAG_UNLOADING | ATA_PFLAG_SUSPENDED))) in ata_scsi_port_error_handler()
719 if ((ap->pflags & ATA_PFLAG_UNLOADING) && in ata_scsi_port_error_handler()
720 !(ap->pflags & ATA_PFLAG_UNLOADED)) in ata_scsi_port_error_handler()
734 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
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()
/linux-6.6.21/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.6.21/include/uapi/linux/netfilter/
Dxt_multiport.h26 __u8 pflags[XT_MULTI_PORTS]; /* Port flags */ member
/linux-6.6.21/drivers/message/fusion/
Dmptbase.h967 #define MPT_PROTOCOL_FLAGS_c_c_c_c(pflags) \ argument
968 ((pflags) & MPI_PORTFACTS_PROTOCOL_INITIATOR) ? 'I' : 'i', \
969 ((pflags) & MPI_PORTFACTS_PROTOCOL_TARGET) ? 'T' : 't', \
970 ((pflags) & MPI_PORTFACTS_PROTOCOL_LAN) ? 'L' : 'l', \
971 ((pflags) & MPI_PORTFACTS_PROTOCOL_LOGBUSADDR) ? 'B' : 'b'
/linux-6.6.21/net/sunrpc/
Dsched.c914 unsigned long pflags = current->flags; in __rpc_execute() local
1003 current_restore_flags(pflags, PF_MEMALLOC); in __rpc_execute()
1022 unsigned int pflags = memalloc_nofs_save(); in rpc_execute() local
1024 memalloc_nofs_restore(pflags); in rpc_execute()
1030 unsigned int pflags = memalloc_nofs_save(); in rpc_async_schedule() local
1033 memalloc_nofs_restore(pflags); in rpc_async_schedule()
1194 unsigned int pflags = memalloc_nofs_save(); in rpc_async_release() local
1197 memalloc_nofs_restore(pflags); in rpc_async_release()
/linux-6.6.21/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-6.6.21/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()
61 lbo->placements[c++].flags = pflags; in lsdc_bo_set_placement()
66 lbo->placements[c++].flags = pflags; in lsdc_bo_set_placement()
/linux-6.6.21/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.6.21/net/can/
Draw.c130 unsigned int *pflags; in raw_rcv() local
178 pflags = raw_flags(skb); in raw_rcv()
179 *pflags = 0; in raw_rcv()
181 *pflags |= MSG_DONTROUTE; in raw_rcv()
183 *pflags |= MSG_CONFIRM; in raw_rcv()
/linux-6.6.21/mm/
Dpage_io.c498 unsigned long pflags; in swap_readpage() local
512 psi_memstall_enter(&pflags); in swap_readpage()
529 psi_memstall_leave(&pflags); in swap_readpage()
/linux-6.6.21/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()
710 a->pflags != b->pflags || in audit_compare_rule()
834 new->pflags = old->pflags; in audit_dupe_rule()
/linux-6.6.21/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.6.21/fs/btrfs/
Dcompression.c321 int *memstall, unsigned long *pflags) in add_ra_bio_pages() argument
392 psi_memstall_enter(pflags); in add_ra_bio_pages()
478 unsigned long pflags; in btrfs_submit_compressed_read() local
523 &pflags); in btrfs_submit_compressed_read()
531 psi_memstall_leave(&pflags); in btrfs_submit_compressed_read()
/linux-6.6.21/net/netfilter/
Dxt_multiport.c37 if (minfo->pflags[i]) { in ports_match_v1()
/linux-6.6.21/tools/testing/selftests/bpf/
Dtest_verifier.c1567 __u32 pflags; in do_test_single() local
1591 pflags = BPF_F_TEST_RND_HI32; in do_test_single()
1593 pflags |= BPF_F_STRICT_ALIGNMENT; in do_test_single()
1595 pflags |= BPF_F_ANY_ALIGNMENT; in do_test_single()
1597 pflags |= test->flags; in do_test_single()
1611 opts.prog_flags = pflags; in do_test_single()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den.h270 (params)->pflags |= BIT(pflag); \
272 (params)->pflags &= ~(BIT(pflag)); \
275 #define MLX5E_GET_PFLAG(params, pflag) (!!((params)->pflags & (BIT(pflag))))
315 u32 pflags; member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c1942 bool bf_enabled_old = !!(priv->pflags & MLX4_EN_PRIV_FLAGS_BLUEFLAME); in mlx4_en_set_priv_flags()
1944 bool phv_enabled_old = !!(priv->pflags & MLX4_EN_PRIV_FLAGS_PHV); in mlx4_en_set_priv_flags()
1964 priv->pflags |= MLX4_EN_PRIV_FLAGS_BLUEFLAME; in mlx4_en_set_priv_flags()
1966 priv->pflags &= ~MLX4_EN_PRIV_FLAGS_BLUEFLAME; in mlx4_en_set_priv_flags()
1983 priv->pflags |= MLX4_EN_PRIV_FLAGS_PHV; in mlx4_en_set_priv_flags()
1985 priv->pflags &= ~MLX4_EN_PRIV_FLAGS_PHV; in mlx4_en_set_priv_flags()
1996 return priv->pflags; in mlx4_en_get_priv_flags()

123