Home
last modified time | relevance | path

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

12

/linux/fs/xfs/scrub/
H A 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/include/net/
H A 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/include/linux/sched/
H A Dmm.h251 unsigned int pflags = READ_ONCE(current->flags); in current_gfp_context() local
253 if (unlikely(pflags & (PF_MEMALLOC_NOIO | PF_MEMALLOC_NOFS | PF_MEMALLOC_PIN))) { in current_gfp_context()
258 if (pflags & PF_MEMALLOC_NOIO) in current_gfp_context()
260 else if (pflags & PF_MEMALLOC_NOFS) in current_gfp_context()
263 if (pflags & PF_MEMALLOC_PIN) in current_gfp_context()
/linux/arch/alpha/kernel/
H A 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/drivers/ata/
H A Dlibata-eh.c252 WARN_ON(!(ap->pflags & ATA_PFLAG_INITIALIZING)); in ata_port_desc()
541 ap->pflags &= ~ATA_PFLAG_EH_PENDING; /* clear pending from freeze */ in ata_eh_unload()
542 ap->pflags |= ATA_PFLAG_UNLOADED; in ata_eh_unload()
725 if (ap->pflags & ATA_PFLAG_RESUMING) { in ata_scsi_port_error_handler()
732 ap->pflags |= ATA_PFLAG_EH_IN_PROGRESS; in ata_scsi_port_error_handler()
733 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_scsi_port_error_handler()
739 if (!(ap->pflags & (ATA_PFLAG_UNLOADING | ATA_PFLAG_SUSPENDED))) in ata_scsi_port_error_handler()
743 if ((ap->pflags & ATA_PFLAG_UNLOADING) && in ata_scsi_port_error_handler()
744 !(ap->pflags & ATA_PFLAG_UNLOADED)) in ata_scsi_port_error_handler()
758 if (ap->pflags & ATA_PFLAG_EH_PENDING) { in ata_scsi_port_error_handler()
[all …]
H A 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()
H A Dpata_ninja32.c145 ap->pflags |= ATA_PFLAG_PIO32 | ATA_PFLAG_PIO32CHANGE; in ninja32_init_one()
H A Dlibata-scsi.c118 if (ap->pflags & ATA_PFLAG_EH_IN_PROGRESS && in ata_scsi_park_show()
650 if (ap->pflags & ATA_PFLAG_PIO32) in ata_ioc32()
681 if (ap->pflags & ATA_PFLAG_PIO32CHANGE) { in ata_sas_scsi_ioctl()
683 ap->pflags |= ATA_PFLAG_PIO32; in ata_sas_scsi_ioctl()
685 ap->pflags &= ~ATA_PFLAG_PIO32; in ata_sas_scsi_ioctl()
4774 if (ap->pflags & ATA_PFLAG_UNLOADING) in ata_scsi_hotplug()
4892 if (ap->pflags & ATA_PFLAG_SUSPENDED) in ata_scsi_dev_rescan()
/linux/drivers/hsi/clients/
H A 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/net/sunrpc/
H A 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()
1192 unsigned int pflags = memalloc_nofs_save(); in rpc_async_release() local
1195 memalloc_nofs_restore(pflags); in rpc_async_release()
H A Dxprtsock.c816 unsigned int pflags = memalloc_nofs_save(); in xs_stream_data_receive_workfn() local
819 memalloc_nofs_restore(pflags); in xs_stream_data_receive_workfn()
1460 unsigned int pflags = memalloc_nofs_save(); in xs_udp_data_receive_workfn() local
1463 memalloc_nofs_restore(pflags); in xs_udp_data_receive_workfn()
2220 unsigned int pflags = current->flags; in xs_udp_setup_socket() local
2243 current_restore_flags(pflags, PF_MEMALLOC); in xs_udp_setup_socket()
2425 unsigned int pflags = current->flags; in xs_tcp_setup_socket()
2505 current_restore_flags(pflags, PF_MEMALLOC); in xs_tcp_setup_socket()
2709 unsigned int pflags = current->flags; in xs_tcp_tls_setup_socket()
2759 current_restore_flags(pflags, PF_MEMALLO in xs_tcp_tls_setup_socket()
2424 unsigned int pflags = current->flags; xs_tcp_setup_socket() local
2708 unsigned int pflags = current->flags; xs_tcp_tls_setup_socket() local
[all...]
/linux/drivers/message/fusion/
H A 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/include/uapi/linux/netfilter/
H A Dxt_multiport.h26 __u8 pflags[XT_MULTI_PORTS]; /* Port flags */ member
/linux/kernel/
H A 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/mm/
H A Dpage_io.c614 unsigned long pflags; in swap_read_folio() local
628 psi_memstall_enter(&pflags); in swap_read_folio()
654 psi_memstall_leave(&pflags); in swap_read_folio()
H A Dfilemap.c1252 unsigned long pflags; in folio_wait_bit_common() local
1258 psi_memstall_enter(&pflags); in folio_wait_bit_common()
1358 psi_memstall_leave(&pflags); in folio_wait_bit_common()
1403 unsigned long pflags; in migration_entry_wait_on_locked() local
1411 psi_memstall_enter(&pflags); in migration_entry_wait_on_locked()
1455 psi_memstall_leave(&pflags); in migration_entry_wait_on_locked()
2490 unsigned long pflags; in filemap_read_folio() local
2495 psi_memstall_enter(&pflags); in filemap_read_folio()
2498 psi_memstall_leave(&pflags); in filemap_read_folio()
H A Dmemcontrol.c2069 unsigned long pflags; in reclaim_high() local
2077 psi_memstall_enter(&pflags); in reclaim_high()
2082 psi_memstall_leave(&pflags); in reclaim_high()
2242 unsigned long pflags; in __mem_cgroup_handle_over_high() local
2321 psi_memstall_enter(&pflags); in __mem_cgroup_handle_over_high()
2323 psi_memstall_leave(&pflags); in __mem_cgroup_handle_over_high()
2341 unsigned long pflags; in try_charge_memcg() local
2387 psi_memstall_enter(&pflags); in try_charge_memcg()
2390 psi_memstall_leave(&pflags); in try_charge_memcg()
/linux/net/netfilter/
H A Dxt_multiport.c37 if (minfo->pflags[i]) { in ports_match_v1()
/linux/fs/btrfs/
H A Dcompression.c412 int *memstall, unsigned long *pflags) in add_ra_bio_pages() argument
491 psi_memstall_enter(pflags); in add_ra_bio_pages()
578 unsigned long pflags; in btrfs_submit_compressed_read() local
625 &pflags); in btrfs_submit_compressed_read()
633 psi_memstall_leave(&pflags); in btrfs_submit_compressed_read()
/linux/net/can/
H A Dbcm.c361 unsigned int *pflags; in bcm_send_to_user() local
375 pflags = bcm_flags(skb); in bcm_send_to_user()
376 *pflags = 0; in bcm_send_to_user()
392 *pflags |= MSG_DONTROUTE; in bcm_send_to_user()
394 *pflags |= MSG_CONFIRM; in bcm_send_to_user()
/linux/net/sunrpc/xprtrdma/
H A Dtransport.c228 unsigned int pflags = current->flags; in xprt_rdma_connect_worker() local
246 current_restore_flags(pflags, PF_MEMALLOC); in xprt_rdma_connect_worker()
/linux/drivers/scsi/qla2xxx/
H A Dqla_sup.c1559 qla2x00_flip_colors(struct qla_hw_data *ha, uint16_t *pflags) in qla2x00_flip_colors() argument
1566 *pflags = GPIO_LED_ALL_OFF; in qla2x00_flip_colors()
1570 *pflags = GPIO_LED_RGA_ON; in qla2x00_flip_colors()
1577 *pflags = GPIO_LED_GREEN_OFF_AMBER_OFF; in qla2x00_flip_colors()
1581 *pflags = GPIO_LED_GREEN_ON_AMBER_OFF; in qla2x00_flip_colors()
1726 qla24xx_flip_colors(struct qla_hw_data *ha, uint16_t *pflags) in qla24xx_flip_colors() argument
1732 *pflags = 0; in qla24xx_flip_colors()
1736 *pflags = GPDX_LED_YELLOW_ON | GPDX_LED_AMBER_ON; in qla24xx_flip_colors()
/linux/arch/x86/coco/sev/
H A Dcore.c1212 unsigned long address, pflags, pflags_enc; in sev_es_efi_map_ghcbs_cas() local
1220 pflags = _PAGE_NX | _PAGE_RW; in sev_es_efi_map_ghcbs_cas()
1221 pflags_enc = cc_mkenc(pflags); in sev_es_efi_map_ghcbs_cas()
1229 if (kernel_map_pages_in_pgd(pgd, pfn, address, 1, pflags)) in sev_es_efi_map_ghcbs_cas()
/linux/drivers/vfio/pci/
H A Dvfio_pci_config.c1179 __le16 *pflags; in vfio_msi_config_write() local
1185 pflags = (__le16 *)&vdev->vconfig[start + PCI_MSI_FLAGS]; in vfio_msi_config_write()
1187 flags = le16_to_cpu(*pflags); in vfio_msi_config_write()
1200 *pflags = cpu_to_le16(flags); in vfio_msi_config_write()
/linux/include/linux/
H A Dlibata.h881 unsigned int pflags; /* ATA_PFLAG_xxx */ member
1125 return ap->pflags & ATA_PFLAG_FROZEN; in ata_port_is_frozen()
1367 if (ap->pflags & ATA_PFLAG_INIT_GTM_VALID) in ata_acpi_init_gtm()
1643 if (ap->pflags & ATA_PFLAG_EXTERNAL) in ata_port_desc_misc()

12