Home
last modified time | relevance | path

Searched full:pdb (Results 1 – 25 of 30) sorted by relevance

12

/linux/drivers/crypto/caam/
H A Dpkc_desc.c14 void init_rsa_pub_desc(u32 *desc, struct rsa_pub_pdb *pdb) in init_rsa_pub_desc() argument
17 append_cmd(desc, pdb->sgf); in init_rsa_pub_desc()
18 append_ptr(desc, pdb->f_dma); in init_rsa_pub_desc()
19 append_ptr(desc, pdb->g_dma); in init_rsa_pub_desc()
20 append_ptr(desc, pdb->n_dma); in init_rsa_pub_desc()
21 append_ptr(desc, pdb->e_dma); in init_rsa_pub_desc()
22 append_cmd(desc, pdb->f_len); in init_rsa_pub_desc()
27 void init_rsa_priv_f1_desc(u32 *desc, struct rsa_priv_f1_pdb *pdb) in init_rsa_priv_f1_desc() argument
30 append_cmd(desc, pdb->sgf); in init_rsa_priv_f1_desc()
31 append_ptr(desc, pdb->g_dma); in init_rsa_priv_f1_desc()
[all …]
H A Dcaampkc.c68 struct rsa_pub_pdb *pdb = &edesc->pdb.pub; in rsa_pub_unmap() local
70 dma_unmap_single(dev, pdb->n_dma, key->n_sz, DMA_TO_DEVICE); in rsa_pub_unmap()
71 dma_unmap_single(dev, pdb->e_dma, key->e_sz, DMA_TO_DEVICE); in rsa_pub_unmap()
80 struct rsa_priv_f1_pdb *pdb = &edesc->pdb.priv_f1; in rsa_priv_f1_unmap() local
82 dma_unmap_single(dev, pdb->n_dma, key->n_sz, DMA_TO_DEVICE); in rsa_priv_f1_unmap()
83 dma_unmap_single(dev, pdb->d_dma, key->d_sz, DMA_TO_DEVICE); in rsa_priv_f1_unmap()
92 struct rsa_priv_f2_pdb *pdb = &edesc->pdb.priv_f2; in rsa_priv_f2_unmap() local
96 dma_unmap_single(dev, pdb->d_dma, key->d_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
97 dma_unmap_single(dev, pdb->p_dma, p_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
98 dma_unmap_single(dev, pdb->q_dma, q_sz, DMA_TO_DEVICE); in rsa_priv_f2_unmap()
[all …]
H A Dpdb.h3 * CAAM Protocol Data Block (PDB) definition header file
14 * PDB- IPSec ESP Header Modification Options
33 * the PDB, copy the DF bit from the inner IP header to the outer IP header.
47 * PDB - IPSec ESP Encap/Decap Options
57 #define PDBOPTS_ESP_IPHDRSRC 0x08 /* IP header comes from PDB (encap) */
68 * General IPSec encap/decap PDB definitions
72 * ipsec_encap_cbc - PDB part for IPsec CBC encapsulation
80 * ipsec_encap_ctr - PDB part for IPsec CTR encapsulation
92 * ipsec_encap_ccm - PDB part for IPsec CCM encapsulation
108 * ipsec_encap_gcm - PDB part for IPsec GCM encapsulation
[all …]
H A Dcaampkc.h14 #include "pdb.h"
128 * @pdb : specific RSA Protocol Data Block (PDB)
145 } pdb; member
150 void init_rsa_pub_desc(u32 *desc, struct rsa_pub_pdb *pdb);
151 void init_rsa_priv_f1_desc(u32 *desc, struct rsa_priv_f1_pdb *pdb);
152 void init_rsa_priv_f2_desc(u32 *desc, struct rsa_priv_f2_pdb *pdb);
153 void init_rsa_priv_f3_desc(u32 *desc, struct rsa_priv_f3_pdb *pdb);
H A Derror.c103 { 0x82, "invalid setting in PDB" },
110 …l has seen an error in size. When running RSA, pdb size N < (size of F) when no formatting is used…
/linux/security/apparmor/include/
H A Dpolicy.h78 * count: refcount for the pdb
101 * aa_get_pdb - increment refcount on @pdb
102 * @pdb: policydb (MAYBE NULL)
104 * Returns: pointer to @pdb if @pdb is NULL will return NULL
105 * Requires: @pdb must be held with valid refcount when called
107 static inline struct aa_policydb *aa_get_pdb(struct aa_policydb *pdb) in aa_get_pdb() argument
109 if (pdb) in aa_get_pdb()
110 kref_get(&(pdb->count)); in aa_get_pdb()
112 return pdb; in aa_get_pdb()
116 * aa_put_pdb - put a pdb refcount
[all …]
/linux/security/apparmor/
H A Dpolicy_unpack.c712 struct aa_policydb *pdb; in unpack_pdb() local
717 pdb = aa_alloc_pdb(GFP_KERNEL); in unpack_pdb()
718 if (!pdb) in unpack_pdb()
721 size = unpack_perms_table(e, &pdb->perms); in unpack_pdb()
724 pdb->perms = NULL; in unpack_pdb()
728 pdb->size = size; in unpack_pdb()
730 if (pdb->perms) { in unpack_pdb()
739 pdb->dfa = unpack_dfa(e, flags); in unpack_pdb()
740 if (IS_ERR(pdb->dfa)) { in unpack_pdb()
741 error = PTR_ERR(pdb->dfa); in unpack_pdb()
[all …]
H A Dpolicy.c102 static void aa_free_pdb(struct aa_policydb *pdb) in aa_free_pdb() argument
104 if (pdb) { in aa_free_pdb()
105 aa_put_dfa(pdb->dfa); in aa_free_pdb()
106 if (pdb->perms) in aa_free_pdb()
107 kvfree(pdb->perms); in aa_free_pdb()
108 aa_free_str_table(&pdb->trans); in aa_free_pdb()
109 kfree(pdb); in aa_free_pdb()
119 struct aa_policydb *pdb = container_of(kref, struct aa_policydb, count); in aa_pdb_free_kref() local
121 aa_free_pdb(pdb); in aa_pdb_free_kref()
127 struct aa_policydb *pdb = kzalloc(sizeof(struct aa_policydb), gfp); in aa_alloc_pdb() local
[all …]
/linux/drivers/net/ethernet/amd/
H A Dau1000_eth.c565 struct db_dest *pDB; in au1000_GetFreeDB() local
566 pDB = aup->pDBfree; in au1000_GetFreeDB()
568 if (pDB) in au1000_GetFreeDB()
569 aup->pDBfree = pDB->pnext; in au1000_GetFreeDB()
571 return pDB; in au1000_GetFreeDB()
574 void au1000_ReleaseDB(struct au1000_private *aup, struct db_dest *pDB) in au1000_ReleaseDB() argument
578 pDBfree->pnext = pDB; in au1000_ReleaseDB()
579 aup->pDBfree = pDB; in au1000_ReleaseDB()
772 struct db_dest *pDB; in au1000_rx() local
781 pDB = aup->rx_db_inuse[aup->rx_head]; in au1000_rx()
[all …]
/linux/arch/mips/include/asm/
H A Dhighmem.h9 * Gerhard.Wichert@pdb.siemens.de
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vm_sdma.c177 * @pe: byte offset of the PDE/PTE, relative to start of PDB/PTB
209 * @pe: byte offset of the PDE/PTE, relative to start of PDB/PTB
/linux/arch/microblaze/include/asm/
H A Dhighmem.h9 * Gerhard.Wichert@pdb.siemens.de
/linux/arch/sparc/include/asm/
H A Dhighmem.h9 * Gerhard.Wichert@pdb.siemens.de
/linux/arch/x86/include/asm/
H A Dhighmem.h9 * Gerhard.Wichert@pdb.siemens.de
/linux/arch/powerpc/include/asm/
H A Dhighmem.h11 * Gerhard.Wichert@pdb.siemens.de
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dvmmtu102.c34 type |= 0x00000006; /* HUB_ONLY | ALL PDB (hack) */ in tu102_vmm_flush()
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-facebook-minipack.dts76 * connecting to left PDB (Power Distribution Board).
89 * connecting to right PDB (Power Distribution Board).
436 * I2C Switch 8-0070 channel #0: connecting to left PDB
502 * I2C Switch 8-0070 channel #1: connecting to right PDB
H A Daspeed-bmc-quanta-q71l.dts379 /* PDB FRU */
H A Daspeed-bmc-facebook-fuji.dts55 * PDB-Left.
68 * PDB-Right.
/linux/Documentation/devicetree/bindings/media/i2c/
H A Dti,ds90ub960.yaml40 Specifier for the GPIO connected to the PDB pin.
/linux/drivers/staging/sm750fb/
H A Dsm750.c726 const struct fb_videomode *pdb[] = { in lynxfb_set_fbinfo() local
795 pdb[i], cdb[i], NULL, 8); in lynxfb_set_fbinfo()
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pko-defs.h1274 uint64_t pdb:4; member
1278 uint64_t pdb:4;
/linux/mm/
H A Dhighmem.c6 * Gerhard Wichert, Siemens AG, Gerhard.Wichert@pdb.siemens.de
/linux/fs/proc/
H A Darray.c49 * Siemens AG <Gerhard.Wichert@pdb.siemens.de>
/linux/drivers/scsi/qla2xxx/
H A Dqla_mbx.c2136 struct port_database_24xx *pdb) in qla24xx_get_port_database() argument
2146 memset(pdb, 0, sizeof(*pdb)); in qla24xx_get_port_database()
2148 pdb_dma = dma_map_single(&vha->hw->pdev->dev, pdb, in qla24xx_get_port_database()
2149 sizeof(*pdb), DMA_FROM_DEVICE); in qla24xx_get_port_database()
2165 mcp->buf_size = sizeof(*pdb); in qla24xx_get_port_database()
2180 sizeof(*pdb), DMA_FROM_DEVICE); in qla24xx_get_port_database()

12