/linux/fs/xfs/scrub/ |
H A D | xfile.c | 114 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/net/smc/ |
H A D | smc_tx.c | 468 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/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 | 252 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/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 | 254 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 …]
|
H A D | pata_legacy.c | 166 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 D | pata_ninja32.c | 145 ap->pflags |= ATA_PFLAG_PIO32 | ATA_PFLAG_PIO32CHANGE; in ninja32_init_one()
|
H A D | libata-scsi.c | 118 if (ap->pflags & ATA_PFLAG_EH_IN_PROGRESS && in ata_scsi_park_show() 646 if (ap->pflags & ATA_PFLAG_PIO32) in ata_ioc32() 677 if (ap->pflags & ATA_PFLAG_PIO32CHANGE) { in ata_sas_scsi_ioctl() 679 ap->pflags |= ATA_PFLAG_PIO32; in ata_sas_scsi_ioctl() 681 ap->pflags &= ~ATA_PFLAG_PIO32; in ata_sas_scsi_ioctl() 4316 if (ap->pflags & (ATA_PFLAG_EH_PENDING | ATA_PFLAG_EH_IN_PROGRESS)) in __ata_scsi_queuecmd() 4766 if (ap->pflags & ATA_PFLAG_UNLOADING) in ata_scsi_hotplug() 4884 if (ap->pflags & ATA_PFLAG_SUSPENDED) in ata_scsi_dev_rescan()
|
/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() 1194 unsigned int pflags = memalloc_nofs_save(); in rpc_async_release() local 1197 memalloc_nofs_restore(pflags); in rpc_async_release()
|
H A D | xprtsock.c | 796 unsigned int pflags = memalloc_nofs_save(); in xs_stream_data_receive_workfn() local 799 memalloc_nofs_restore(pflags); in xs_stream_data_receive_workfn() 1440 unsigned int pflags = memalloc_nofs_save(); in xs_udp_data_receive_workfn() local 1443 memalloc_nofs_restore(pflags); in xs_udp_data_receive_workfn() 2200 unsigned int pflags = current->flags; in xs_udp_setup_socket() local 2223 current_restore_flags(pflags, PF_MEMALLOC); in xs_udp_setup_socket() 2404 unsigned int pflags = current->flags; in xs_tcp_setup_socket() local 2484 current_restore_flags(pflags, PF_MEMALLOC); in xs_tcp_setup_socket() 2688 unsigned int pflags = current->flags; in xs_tcp_tls_setup_socket() local 2744 current_restore_flags(pflags, PF_MEMALLOC); in xs_tcp_tls_setup_socket()
|
/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 | 50 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/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | nv04.c | 212 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/fs/btrfs/ |
H A D | compression.c | 415 int *memstall, unsigned long *pflags) in add_ra_bio_pages() argument 490 psi_memstall_enter(pflags); in add_ra_bio_pages() 577 unsigned long pflags; in btrfs_submit_compressed_read() local 622 &pflags); in btrfs_submit_compressed_read() 630 psi_memstall_leave(&pflags); in btrfs_submit_compressed_read()
|
/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 | 261 (params)->pflags |= BIT(pflag); \ 263 (params)->pflags &= ~(BIT(pflag)); \ 266 #define MLX5E_GET_PFLAG(params, pflag) (!!((params)->pflags & (BIT(pflag)))) 308 u32 pflags; member
|
/linux/net/can/ |
H A D | bcm.c | 340 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/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_ethtool.c | 1923 bool bf_enabled_old = !!(priv->pflags & MLX4_EN_PRIV_FLAGS_BLUEFLAME); in mlx4_en_set_priv_flags() 1925 bool phv_enabled_old = !!(priv->pflags & MLX4_EN_PRIV_FLAGS_PHV); in mlx4_en_set_priv_flags() 1945 priv->pflags |= MLX4_EN_PRIV_FLAGS_BLUEFLAME; in mlx4_en_set_priv_flags() 1947 priv->pflags &= ~MLX4_EN_PRIV_FLAGS_BLUEFLAME; in mlx4_en_set_priv_flags() 1964 priv->pflags |= MLX4_EN_PRIV_FLAGS_PHV; in mlx4_en_set_priv_flags() 1966 priv->pflags &= ~MLX4_EN_PRIV_FLAGS_PHV; in mlx4_en_set_priv_flags() 1977 return priv->pflags; in mlx4_en_get_priv_flags()
|
/linux/mm/ |
H A D | filemap.c | 1247 unsigned long pflags; in folio_wait_bit_common() local 1253 psi_memstall_enter(&pflags); in folio_wait_bit_common() 1353 psi_memstall_leave(&pflags); in folio_wait_bit_common() 1398 unsigned long pflags; in migration_entry_wait_on_locked() local 1406 psi_memstall_enter(&pflags); in migration_entry_wait_on_locked() 1450 psi_memstall_leave(&pflags); in migration_entry_wait_on_locked() 2384 unsigned long pflags; in filemap_read_folio() local 2389 psi_memstall_enter(&pflags); in filemap_read_folio() 2392 psi_memstall_leave(&pflags); in filemap_read_folio()
|
H A D | memcontrol.c | 1938 unsigned long pflags; in reclaim_high() local 1946 psi_memstall_enter(&pflags); in reclaim_high() 1951 psi_memstall_leave(&pflags); in reclaim_high() 2111 unsigned long pflags; in mem_cgroup_handle_over_high() local 2193 psi_memstall_enter(&pflags); in mem_cgroup_handle_over_high() 2195 psi_memstall_leave(&pflags); in mem_cgroup_handle_over_high() 2213 unsigned long pflags; in try_charge_memcg() local 2254 psi_memstall_enter(&pflags); in try_charge_memcg() 2257 psi_memstall_leave(&pflags); in try_charge_memcg()
|
/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/drivers/scsi/qla2xxx/ |
H A D | qla_sup.c | 1559 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()
|