Home
last modified time | relevance | path

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

1234

/openbmc/linux/fs/xfs/scrub/
H A 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 …]
/openbmc/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()
/openbmc/linux/net/smc/
H A 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()
534 pflags->urg_data_present = 1; in smc_tx_rdma_writes()
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()
611 if (!pflags->urg_data_present) in smcd_tx_sndbuf_nonempty()
616 if (!rc && pflags->urg_data_present) { in smcd_tx_sndbuf_nonempty()
617 pflags->urg_data_pending = 0; in smcd_tx_sndbuf_nonempty()
[all …]
/openbmc/u-boot/drivers/tpm/
H A Dtpm_tis_sandbox.c216 struct tpm_permanent_flags *pflags; in sandbox_tpm_xfer() local
218 pflags = (struct tpm_permanent_flags *)data; in sandbox_tpm_xfer()
219 memset(pflags, '\0', sizeof(*pflags)); in sandbox_tpm_xfer()
221 &pflags->tag); in sandbox_tpm_xfer()
223 sizeof(*pflags); in sandbox_tpm_xfer()
/openbmc/linux/include/linux/sched/
H A 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()
/openbmc/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()
/openbmc/linux/drivers/ata/
H A Dlibata-eh.c529 ap->pflags |= ATA_PFLAG_UNLOADED; in ata_eh_unload()
711 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_scsi_port_error_handler()
766 ap->pflags &= ~ATA_PFLAG_RESUMING; in ata_scsi_port_error_handler()
768 if (ap->pflags & ATA_PFLAG_LOADING) in ata_scsi_port_error_handler()
769 ap->pflags &= ~ATA_PFLAG_LOADING; in ata_scsi_port_error_handler()
896 ap->pflags |= ATA_PFLAG_EH_PENDING; in ata_eh_set_pending()
1077 ap->pflags |= ATA_PFLAG_FROZEN; in __ata_port_freeze()
1138 ap->pflags &= ~ATA_PFLAG_FROZEN; in ata_eh_thaw_port()
1301 ap->pflags |= ATA_PFLAG_RECOVERED; in ata_eh_about_to_do()
2601 ap->pflags |= ATA_PFLAG_RESETTING; in ata_eh_reset()
[all …]
H A 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,
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()
/openbmc/u-boot/cmd/
H A Dtpm_test.c48 struct tpm_permanent_flags pflags; in tpm_get_flags() local
51 result = tpm_get_permanent_flags(dev, &pflags); in tpm_get_flags()
55 *disable = pflags.disable; in tpm_get_flags()
57 *deactivated = pflags.deactivated; in tpm_get_flags()
59 *nvlocked = pflags.nv_locked; in tpm_get_flags()
61 pflags.disable, pflags.deactivated, pflags.nv_locked); in tpm_get_flags()
/openbmc/qemu/include/hw/
H A Dloader.h156 uint32_t *pflags, int big_endian, int elf_machine,
168 uint64_t *lowaddr, uint64_t *highaddr, uint32_t *pflags,
179 uint64_t *highaddr, uint32_t *pflags, int big_endian,
191 uint64_t *highaddr, uint32_t *pflags, int big_endian,
/openbmc/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()
/openbmc/linux/include/uapi/linux/netfilter/
H A Dxt_multiport.h26 __u8 pflags[XT_MULTI_PORTS]; /* Port flags */ member
/openbmc/qemu/target/avr/
H A Dcpu.h206 uint64_t *cs_base, uint32_t *pflags) in cpu_get_tb_cpu_state() argument
220 *pflags = flags; in cpu_get_tb_cpu_state()
/openbmc/qemu/target/alpha/
H A Dcpu.h474 uint64_t *cs_base, uint32_t *pflags) in cpu_get_tb_cpu_state() argument
478 *pflags = env->flags & ENV_FLAG_TB_MASK; in cpu_get_tb_cpu_state()
480 *pflags |= TB_FLAG_UNALIGN * !env_cpu(env)->prctl_unalign_sigbus; in cpu_get_tb_cpu_state()
/openbmc/linux/drivers/message/fusion/
H A 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'
/openbmc/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()
1194 unsigned int pflags = memalloc_nofs_save(); in rpc_async_release() local
1197 memalloc_nofs_restore(pflags); in rpc_async_release()
/openbmc/linux/drivers/usb/gadget/udc/
H A Dpxa27x_udc.c661 unsigned long *pflags) in req_done() argument
676 if (pflags) in req_done()
681 if (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
735 req_done(ep, req, 0, pflags); in ep_end_in_req()
750 unsigned long *pflags) in ep0_end_in_req() argument
[all …]
/openbmc/linux/drivers/gpu/drm/loongson/
H A 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()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A 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()
/openbmc/linux/net/can/
H A 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()
/openbmc/qemu/target/hppa/
H A Dcpu.h331 uint64_t *cs_base, uint32_t *pflags) in cpu_get_tb_cpu_state() argument
369 *pflags = flags; in cpu_get_tb_cpu_state()
/openbmc/qemu/hw/core/
H A Dloader.c412 uint64_t *highaddr, uint32_t *pflags, int big_endian, in load_elf() argument
416 pentry, lowaddr, highaddr, pflags, big_endian, in load_elf()
425 uint64_t *highaddr, uint32_t *pflags, int big_endian, in load_elf_as() argument
430 pentry, lowaddr, highaddr, pflags, big_endian, in load_elf_as()
439 uint64_t *lowaddr, uint64_t *highaddr, uint32_t *pflags, in load_elf_ram() argument
445 pentry, lowaddr, highaddr, pflags, big_endian, in load_elf_ram()
456 uint32_t *pflags, int big_endian, int elf_machine, in load_elf_ram_sym() argument
499 pentry, lowaddr, highaddr, pflags, elf_machine, in load_elf_ram_sym()
504 pentry, lowaddr, highaddr, pflags, elf_machine, in load_elf_ram_sym()
/openbmc/linux/mm/
H A 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()
/openbmc/u-boot/lib/
H A Dtpm-v1.c411 struct tpm_permanent_flags *pflags) in tpm1_get_permanent_flags() argument
436 if (data_size < sizeof(*pflags)) { in tpm1_get_permanent_flags()
441 data_offset, pflags, sizeof(*pflags))) { in tpm1_get_permanent_flags()

1234