| /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() 742 if (ap->pflags & ATA_PFLAG_RESUMING) { in ata_scsi_port_error_handler() 749 ap->pflags |= ATA_PFLAG_EH_IN_PROGRESS; in ata_scsi_port_error_handler() 750 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_scsi_port_error_handler() 756 if (!(ap->pflags & (ATA_PFLAG_UNLOADING | ATA_PFLAG_SUSPENDED)) && in ata_scsi_port_error_handler() 761 if ((ap->pflags & ATA_PFLAG_UNLOADING) && in ata_scsi_port_error_handler() 762 !(ap->pflags & ATA_PFLAG_UNLOADED)) in ata_scsi_port_error_handler() 776 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()
|
| /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/drivers/usb/gadget/udc/ |
| H A D | pxa27x_udc.c | 661 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/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/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/include/uapi/linux/netfilter/ |
| H A D | xt_multiport.h | 26 __u8 pflags[XT_MULTI_PORTS]; /* Port flags */ member
|
| /linux/net/can/ |
| H A D | raw.c | 136 unsigned int *pflags; in raw_rcv() local 203 pflags = raw_flags(skb); in raw_rcv() 204 *pflags = 0; in raw_rcv() 206 *pflags |= MSG_DONTROUTE; in raw_rcv() 208 *pflags |= MSG_CONFIRM; in raw_rcv()
|
| H A D | bcm.c | 367 unsigned int *pflags; in bcm_send_to_user() local 381 pflags = bcm_flags(skb); in bcm_send_to_user() 382 *pflags = 0; in bcm_send_to_user() 398 *pflags |= MSG_DONTROUTE; in bcm_send_to_user() 400 *pflags |= MSG_CONFIRM; in bcm_send_to_user()
|
| /linux/kernel/ |
| H A D | auditfilter.c | 482 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 D | page_io.c | 614 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 D | filemap.c | 1252 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() 1405 unsigned long pflags; in softleaf_entry_wait_on_locked() local 1413 psi_memstall_enter(&pflags); in softleaf_entry_wait_on_locked() 1460 psi_memstall_leave(&pflags); in softleaf_entry_wait_on_locked() 2495 unsigned long pflags; in filemap_read_folio() local 2500 psi_memstall_enter(&pflags); in filemap_read_folio() 2503 psi_memstall_leave(&pflags); in filemap_read_folio()
|
| /linux/fs/btrfs/ |
| H A D | compression.c | 372 int *memstall, unsigned long *pflags) in add_ra_bio_pages() argument 451 psi_memstall_enter(pflags); in add_ra_bio_pages() 539 unsigned long pflags; in btrfs_submit_compressed_read() local 590 &pflags); in btrfs_submit_compressed_read() 596 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/netfilter/ |
| H A D | xt_multiport.c | 37 if (minfo->pflags[i]) { in ports_match_v1()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en.h | 269 (params)->pflags |= BIT(pflag); \ 271 (params)->pflags &= ~(BIT(pflag)); \ 274 #define MLX5E_GET_PFLAG(params, pflag) (!!((params)->pflags & (BIT(pflag)))) 312 u32 pflags; member
|
| /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()
|