Home
last modified time | relevance | path

Searched refs:pflags (Results 1 – 25 of 80) 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/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()
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 …]
/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/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.c254 WARN_ON(!(ap->pflags & ATA_PFLAG_INITIALIZING)); in ata_port_desc()
528 ap->pflags &= ~ATA_PFLAG_EH_PENDING; /* clear pending from freeze */ in ata_eh_unload()
529 ap->pflags |= ATA_PFLAG_UNLOADED; in ata_eh_unload()
712 if (ap->pflags & ATA_PFLAG_RESUMING) { in ata_scsi_port_error_handler()
719 ap->pflags |= ATA_PFLAG_EH_IN_PROGRESS; in ata_scsi_port_error_handler()
720 ap->pflags &= ~ATA_PFLAG_EH_PENDING; in ata_scsi_port_error_handler()
726 if (!(ap->pflags & (ATA_PFLAG_UNLOADING | ATA_PFLAG_SUSPENDED))) in ata_scsi_port_error_handler()
730 if ((ap->pflags & ATA_PFLAG_UNLOADING) && in ata_scsi_port_error_handler()
731 !(ap->pflags & ATA_PFLAG_UNLOADED)) in ata_scsi_port_error_handler()
745 if (ap->pflags & ATA_PFLAG_EH_PENDING) { in ata_scsi_port_error_handler()
[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.h154 uint32_t *pflags, int big_endian, int elf_machine,
166 uint64_t *lowaddr, uint64_t *highaddr, uint32_t *pflags,
177 uint64_t *highaddr, uint32_t *pflags, int big_endian,
189 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/qemu/target/avr/
H A Dcpu.h195 uint64_t *cs_base, uint32_t *pflags) in cpu_get_tb_cpu_state() argument
209 *pflags = flags; in cpu_get_tb_cpu_state()
/openbmc/qemu/target/alpha/
H A Dcpu.h466 uint64_t *cs_base, uint32_t *pflags) in cpu_get_tb_cpu_state() argument
470 *pflags = env->flags & ENV_FLAG_TB_MASK; in cpu_get_tb_cpu_state()
472 *pflags |= TB_FLAG_UNALIGN * !env_cpu(env)->prctl_unalign_sigbus; in cpu_get_tb_cpu_state()
/openbmc/linux/drivers/usb/gadget/udc/
H A Dpxa27x_udc.c661 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 …]
/openbmc/linux/net/sunrpc/
H A Dsched.c914 unsigned long pflags = current->flags; in __rpc_execute()
1003 current_restore_flags(pflags, PF_MEMALLOC); in __rpc_execute()
1022 unsigned int pflags = memalloc_nofs_save(); in rpc_execute()
1024 memalloc_nofs_restore(pflags); in rpc_execute() local
1030 unsigned int pflags = memalloc_nofs_save(); in rpc_async_schedule()
1033 memalloc_nofs_restore(pflags); in rpc_async_schedule()
1194 unsigned int pflags = memalloc_nofs_save(); in rpc_async_release()
1197 memalloc_nofs_restore(pflags); in rpc_async_release()
916 unsigned long pflags = current->flags; __rpc_execute() local
1032 unsigned int pflags = memalloc_nofs_save(); rpc_async_schedule() local
1196 unsigned int pflags = memalloc_nofs_save(); rpc_async_release() local
/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/include/uapi/linux/netfilter/
H A Dxt_multiport.h26 __u8 pflags[XT_MULTI_PORTS]; /* Port flags */ member
/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/qemu/target/hppa/
H A Dcpu.c51 uint64_t *pcsbase, uint32_t *pflags) in cpu_get_tb_cpu_state() argument
95 *pflags = flags; in cpu_get_tb_cpu_state()
/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/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/linux/kernel/
H A Dauditfilter.c482 entry->rule.pflags |= AUDIT_LOGINUID_LEGACY; in audit_data_to_entry()
688 if (krule->pflags & AUDIT_LOGINUID_LEGACY && !f->val) { in audit_krule_to_data()
711 a->pflags != b->pflags || in audit_compare_rule()
835 new->pflags = old->pflags; in audit_dupe_rule()

1234