| /linux/drivers/s390/crypto/ |
| H A D | pkey_cca.c | 72 struct pkey_apqn *apqns, size_t *nr_apqns, u32 pflags) in cca_apqns4key() argument 79 xflags = pflags & PKEY_XFLAG_NOMEMALLOC ? ZCRYPT_XFLAG_NOMEMALLOC : 0; in cca_apqns4key() 161 u32 pflags) in cca_apqns4type() argument 167 xflags = pflags & PKEY_XFLAG_NOMEMALLOC ? ZCRYPT_XFLAG_NOMEMALLOC : 0; in cca_apqns4type() 224 u32 pflags) in cca_key2protkey() argument 231 xflags = pflags & PKEY_XFLAG_NOMEMALLOC ? ZCRYPT_XFLAG_NOMEMALLOC : 0; in cca_key2protkey() 268 rc = cca_apqns4key(key, keylen, 0, _apqns, &nr_apqns, pflags); in cca_key2protkey() 312 u8 *keybuf, u32 *keybuflen, u32 *_keyinfo, u32 pflags) in cca_gen_key() argument 318 xflags = pflags & PKEY_XFLAG_NOMEMALLOC ? ZCRYPT_XFLAG_NOMEMALLOC : 0; in cca_gen_key() 354 _apqns, &nr_apqns, pflags); in cca_gen_key() [all …]
|
| /linux/fs/xfs/scrub/ |
| H A D | xfile.c | 115 unsigned int pflags; in xfile_load() local 124 pflags = memalloc_nofs_save(); in xfile_load() 159 memalloc_nofs_restore(pflags); in xfile_load() 178 unsigned int pflags; in xfile_store() local 194 pflags = memalloc_nofs_save(); in xfile_store() 221 memalloc_nofs_restore(pflags); in xfile_store() 255 unsigned int pflags; in xfile_get_folio() local 270 pflags = memalloc_nofs_save(); in xfile_get_folio() 273 memalloc_nofs_restore(pflags); in xfile_get_folio()
|
| /linux/include/net/ |
| H A D | gue.h | 106 __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 D | mm.h | 251 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 D | process.c | 80 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 D | libata-eh.c | 252 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() 752 if (ap->pflags & ATA_PFLAG_RESUMING) { in ata_scsi_port_error_handler() 759 ap->pflags |= ATA_PFLAG_EH_IN_PROGRESS; in ata_scsi_port_error_handler() 760 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_scsi_port_error_handler() 766 if (!(ap->pflags & (ATA_PFLAG_UNLOADING | ATA_PFLAG_SUSPENDED)) && in ata_scsi_port_error_handler() 771 if ((ap->pflags & ATA_PFLAG_UNLOADING) && in ata_scsi_port_error_handler() 772 !(ap->pflags & ATA_PFLAG_UNLOADED)) in ata_scsi_port_error_handler() 786 if (ap->pflags & ATA_PFLAG_EH_PENDING) { in ata_scsi_port_error_handler() [all …]
|
| H A D | pata_ninja32.c | 145 ap->pflags |= ATA_PFLAG_PIO32 | ATA_PFLAG_PIO32CHANGE; in ninja32_init_one()
|
| H A D | libata-core.c | 358 ap->pflags |= fe->param.pflags_on; in ata_force_pflags() 361 fe->param.pflags_on, ap->pflags); in ata_force_pflags() 1694 if (adev->link->ap->pflags & ATA_PFLAG_RESETTING) in ata_pio_need_iordy() 5079 ap->pflags |= ATA_PFLAG_EH_PENDING; in ata_qc_complete() 5339 if (ap->pflags & ATA_PFLAG_PM_PENDING) { in ata_port_request_pm() 5347 ap->pflags |= ATA_PFLAG_PM_PENDING; in ata_port_request_pm() 5656 ap->pflags |= ATA_PFLAG_INITIALIZING | ATA_PFLAG_FROZEN; in ata_port_alloc() 6047 ap->pflags &= ~ATA_PFLAG_INITIALIZING; in ata_port_probe() 6048 ap->pflags |= ATA_PFLAG_LOADING; in ata_port_probe() 6283 ap->pflags |= ATA_PFLAG_UNLOADING; in ata_port_detach() [all …]
|
| H A D | libata-scsi.c | 118 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() 4913 if (ap->pflags & ATA_PFLAG_UNLOADING) in ata_scsi_hotplug() 5031 if (ap->pflags & ATA_PFLAG_SUSPENDED) in ata_scsi_dev_rescan()
|
| /linux/net/netfilter/ |
| H A D | xt_multiport.c | 37 if (minfo->pflags[i]) { in ports_match_v1() 114 if (!multiinfo->pflags[i]) in multiport_valid_ranges() 120 if (multiinfo->pflags[i]) in multiport_valid_ranges()
|
| /linux/drivers/hsi/clients/ |
| H A D | nokia-modem.c | 131 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 D | sched.c | 914 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 D | xprtsock.c | 816 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 D | mptbase.h | 964 #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 D | xt_multiport.h | 26 __u8 pflags[XT_MULTI_PORTS]; /* Port flags */ member
|
| /linux/drivers/gpu/drm/loongson/ |
| H A D | lsdc_ttm.c | 51 u32 pflags = 0; in lsdc_bo_set_placement() local 55 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/fs/btrfs/ |
| H A D | compression.c | 371 int *memstall, unsigned long *pflags, in add_ra_bio_pages() argument 467 psi_memstall_enter(pflags); in add_ra_bio_pages() 556 unsigned long pflags; in btrfs_submit_compressed_read() local 617 &pflags, !(bbio->bio.bi_opf & REQ_RAHEAD)); in btrfs_submit_compressed_read() 623 psi_memstall_leave(&pflags); in btrfs_submit_compressed_read()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_verifier.c | 1517 __u32 pflags; in do_test_single() local 1548 pflags = testing_prog_flags(); in do_test_single() 1550 pflags |= BPF_F_STRICT_ALIGNMENT; in do_test_single() 1552 pflags |= BPF_F_ANY_ALIGNMENT; in do_test_single() 1554 pflags |= test->flags; in do_test_single() 1568 opts.prog_flags = pflags; in do_test_single()
|
| /linux/net/can/ |
| H A D | bcm.c | 366 unsigned int *pflags; in bcm_send_to_user() local 380 pflags = bcm_flags(skb); in bcm_send_to_user() 381 *pflags = 0; in bcm_send_to_user() 397 *pflags |= MSG_DONTROUTE; in bcm_send_to_user() 399 *pflags |= MSG_CONFIRM; in bcm_send_to_user()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_ethtool.c | 1928 bool bf_enabled_old = !!(priv->pflags & MLX4_EN_PRIV_FLAGS_BLUEFLAME); in mlx4_en_set_priv_flags() 1930 bool phv_enabled_old = !!(priv->pflags & MLX4_EN_PRIV_FLAGS_PHV); in mlx4_en_set_priv_flags() 1950 priv->pflags |= MLX4_EN_PRIV_FLAGS_BLUEFLAME; in mlx4_en_set_priv_flags() 1952 priv->pflags &= ~MLX4_EN_PRIV_FLAGS_BLUEFLAME; in mlx4_en_set_priv_flags() 1969 priv->pflags |= MLX4_EN_PRIV_FLAGS_PHV; in mlx4_en_set_priv_flags() 1971 priv->pflags &= ~MLX4_EN_PRIV_FLAGS_PHV; in mlx4_en_set_priv_flags() 1982 return priv->pflags; in mlx4_en_get_priv_flags()
|
| /linux/net/sunrpc/xprtrdma/ |
| H A D | transport.c | 228 unsigned int pflags = current->flags; in xprt_rdma_connect_worker() local 246 current_restore_flags(pflags, PF_MEMALLOC); in xprt_rdma_connect_worker()
|
| /linux/arch/x86/coco/sev/ |
| H A D | core.c | 945 unsigned long address, pflags, pflags_enc; in sev_es_efi_map_ghcbs_cas() local 953 pflags = _PAGE_NX | _PAGE_RW; in sev_es_efi_map_ghcbs_cas() 954 pflags_enc = cc_mkenc(pflags); in sev_es_efi_map_ghcbs_cas() 962 if (kernel_map_pages_in_pgd(pgd, pfn, address, 1, pflags)) in sev_es_efi_map_ghcbs_cas()
|
| /linux/mm/ |
| H A D | filemap.c | 1253 unsigned long pflags; in folio_wait_bit_common() local 1259 psi_memstall_enter(&pflags); in folio_wait_bit_common() 1359 psi_memstall_leave(&pflags); in folio_wait_bit_common() 1406 unsigned long pflags; in softleaf_entry_wait_on_locked() local 1414 psi_memstall_enter(&pflags); in softleaf_entry_wait_on_locked() 1461 psi_memstall_leave(&pflags); in softleaf_entry_wait_on_locked() 2496 unsigned long pflags; in filemap_read_folio() local 2501 psi_memstall_enter(&pflags); in filemap_read_folio() 2504 psi_memstall_leave(&pflags); in filemap_read_folio()
|
| H A D | memcontrol.c | 2310 unsigned long pflags; in reclaim_high() local 2318 psi_memstall_enter(&pflags); in reclaim_high() 2323 psi_memstall_leave(&pflags); in reclaim_high() 2483 unsigned long pflags; in __mem_cgroup_handle_over_high() local 2562 psi_memstall_enter(&pflags); in __mem_cgroup_handle_over_high() 2564 psi_memstall_leave(&pflags); in __mem_cgroup_handle_over_high() 2582 unsigned long pflags; in try_charge_memcg() local 2629 psi_memstall_enter(&pflags); in try_charge_memcg() 2632 psi_memstall_leave(&pflags); in try_charge_memcg()
|
| /linux/include/linux/ |
| H A D | libata.h | 881 unsigned int pflags; /* ATA_PFLAG_xxx */ member 1125 return ap->pflags & ATA_PFLAG_FROZEN; in ata_port_is_frozen() 1368 if (ap->pflags & ATA_PFLAG_INIT_GTM_VALID) in ata_acpi_init_gtm() 1644 if (ap->pflags & ATA_PFLAG_EXTERNAL) in ata_port_desc_misc()
|