Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 74) sorted by relevance

123

/linux-2.4.37.9/crypto/
Dcrypto_null.c29 static int null_compress(void *ctx, const u8 *src, unsigned int slen, in null_compress()
33 static int null_decompress(void *ctx, const u8 *src, unsigned int slen, in null_decompress()
37 static void null_init(void *ctx) in null_init()
40 static void null_update(void *ctx, const u8 *data, unsigned int len) in null_update()
43 static void null_final(void *ctx, u8 *out) in null_final()
46 static int null_setkey(void *ctx, const u8 *key, in null_setkey()
50 static void null_encrypt(void *ctx, u8 *dst, const u8 *src) in null_encrypt()
53 static void null_decrypt(void *ctx, u8 *dst, const u8 *src) in null_decrypt()
Ddeflate.c53 static int deflate_init(void *ctx) in deflate_init()
58 static void deflate_exit(void *ctx) in deflate_exit()
72 static int deflate_comp_init(struct deflate_ctx *ctx) in deflate_comp_init()
100 static int deflate_decomp_init(struct deflate_ctx *ctx) in deflate_decomp_init()
125 static int deflate_compress(void *ctx, const u8 *src, unsigned int slen, in deflate_compress()
160 static int deflate_decompress(void *ctx, const u8 *src, unsigned int slen, in deflate_decompress()
Dtea.c53 struct tea_ctx *ctx = ctx_arg; in tea_setkey() local
75 struct tea_ctx *ctx = ctx_arg; in tea_encrypt() local
102 struct tea_ctx *ctx = ctx_arg; in tea_decrypt() local
131 struct xtea_ctx *ctx = ctx_arg; in xtea_setkey() local
154 struct xtea_ctx *ctx = ctx_arg; in xtea_encrypt() local
174 struct tea_ctx *ctx = ctx_arg; in xtea_decrypt() local
198 struct xtea_ctx *ctx = ctx_arg; in xeta_encrypt() local
219 struct tea_ctx *ctx = ctx_arg; in xeta_decrypt() local
Ddes.c1173 static int des_setkey(void *ctx, const u8 *key, unsigned int keylen, u32 *flags) in des_setkey()
1178 static void des_encrypt(void *ctx, u8 *dst, const u8 *src) in des_encrypt()
1183 static void des_decrypt(void *ctx, u8 *dst, const u8 *src) in des_decrypt()
1201 static int des3_ede_setkey(void *ctx, const u8 *key, in des3_ede_setkey()
1224 static void des3_ede_encrypt(void *ctx, u8 *dst, const u8 *src) in des3_ede_encrypt()
1233 static void des3_ede_decrypt(void *ctx, u8 *dst, const u8 *src) in des3_ede_decrypt()
Dmichael_mic.c73 static void michael_init(void *ctx) in michael_init()
80 static void michael_update(void *ctx, const u8 *data, unsigned int len) in michael_update()
115 static void michael_final(void *ctx, u8 *out) in michael_final()
145 static int michael_setkey(void *ctx, const u8 *key, unsigned int keylen, in michael_setkey()
Dwp512.c991 static void wp512_init (void *ctx) { in wp512_init()
1003 static void wp512_update(void *ctx, const u8 *source, unsigned int len) in wp512_update()
1064 static void wp512_final(void *ctx, u8 *out) in wp512_final()
1106 static void wp384_final(void *ctx, u8 *out) in wp384_final()
1116 static void wp256_final(void *ctx, u8 *out) in wp256_final()
Dmd5.c143 static inline void md5_transform_helper(struct md5_ctx *ctx) in md5_transform_helper()
149 static void md5_init(void *ctx) in md5_init()
160 static void md5_update(void *ctx, const u8 *data, unsigned int len) in md5_update()
190 static void md5_final(void *ctx, u8 *out) in md5_final()
Dkhazad.c759 struct khazad_ctx *ctx = ctx_arg; in khazad_setkey() local
872 struct khazad_ctx *ctx = ctx_arg; in khazad_encrypt() local
878 struct khazad_ctx *ctx = ctx_arg; in khazad_decrypt() local
Dsha512.c179 sha512_init(void *ctx) in sha512_init()
195 sha384_init(void *ctx) in sha384_init()
211 sha512_update(void *ctx, const u8 *data, unsigned int len) in sha512_update()
248 sha512_final(void *ctx, u8 *hash) in sha512_final()
310 static void sha384_final(void *ctx, u8 *hash) in sha384_final()
Dmd4.c148 static inline void md4_transform_helper(struct md4_ctx *ctx) in md4_transform_helper()
154 static void md4_init(void *ctx) in md4_init()
165 static void md4_update(void *ctx, const u8 *data, unsigned int len) in md4_update()
195 static void md4_final(void *ctx, u8 *out) in md4_final()
/linux-2.4.37.9/drivers/char/drm/
Dffb_context.c43 struct ffb_hw_context *ctx; in ffb_save_context() local
176 struct ffb_hw_context *ctx; in ffb_restore_context() local
387 drm_ctx_t ctx; in DRM() local
415 drm_ctx_t ctx; in DRM() local
438 drm_ctx_t ctx; in DRM() local
467 drm_ctx_t ctx; in DRM() local
497 drm_ctx_t ctx; in DRM() local
508 drm_ctx_t ctx; in DRM() local
520 drm_ctx_t ctx; in DRM() local
Ddrm_context.h279 drm_ctx_t ctx; in DRM() local
306 drm_ctx_t ctx; in DRM() local
342 drm_ctx_t ctx; in DRM() local
360 drm_ctx_t ctx; in DRM() local
374 drm_ctx_t ctx; in DRM() local
390 drm_ctx_t ctx; in DRM() local
589 drm_ctx_t ctx; in DRM() local
616 drm_ctx_t ctx; in DRM() local
637 drm_ctx_t ctx; in DRM() local
671 drm_ctx_t ctx; in DRM() local
[all …]
Dmga_state.c50 drm_mga_context_regs_t *ctx = &sarea_priv->context_state; in mga_emit_clip_rect() local
75 drm_mga_context_regs_t *ctx = &sarea_priv->context_state; in mga_g200_emit_context() local
101 drm_mga_context_regs_t *ctx = &sarea_priv->context_state; in mga_g400_emit_context() local
407 drm_mga_context_regs_t *ctx = &sarea_priv->context_state; in mga_verify_context() local
511 drm_mga_context_regs_t *ctx = &sarea_priv->context_state; in mga_dma_dispatch_clear() local
605 drm_mga_context_regs_t *ctx = &sarea_priv->context_state; in mga_dma_dispatch_swap() local
760 drm_mga_context_regs_t *ctx = &dev_priv->sarea_priv->context_state; in mga_dma_dispatch_iload() local
813 drm_mga_context_regs_t *ctx = &sarea_priv->context_state; in mga_dma_dispatch_blit() local
/linux-2.4.37.9/drivers/char/drm-4.0/
Dcontext.c35 static int drm_init_queue(drm_device_t *dev, drm_queue_t *q, drm_ctx_t *ctx) in drm_init_queue()
131 drm_ctx_t ctx; in drm_resctx() local
159 drm_ctx_t ctx; in drm_addctx() local
180 drm_ctx_t ctx; in drm_modctx() local
214 drm_ctx_t ctx; in drm_getctx() local
246 drm_ctx_t ctx; in drm_switchctx() local
259 drm_ctx_t ctx; in drm_newctx() local
274 drm_ctx_t ctx; in drm_rmctx() local
Dr128_context.c102 drm_ctx_t ctx; in r128_resctx() local
130 drm_ctx_t ctx; in r128_addctx() local
153 drm_ctx_t ctx; in r128_modctx() local
165 drm_ctx_t ctx; in r128_getctx() local
181 drm_ctx_t ctx; in r128_switchctx() local
194 drm_ctx_t ctx; in r128_newctx() local
209 drm_ctx_t ctx; in r128_rmctx() local
Dradeon_context.c102 drm_ctx_t ctx; in radeon_resctx() local
128 drm_ctx_t ctx; in radeon_addctx() local
151 drm_ctx_t ctx; in radeon_modctx() local
163 drm_ctx_t ctx; in radeon_getctx() local
179 drm_ctx_t ctx; in radeon_switchctx() local
192 drm_ctx_t ctx; in radeon_newctx() local
207 drm_ctx_t ctx; in radeon_rmctx() local
Dtdfx_context.c104 drm_ctx_t ctx; in tdfx_resctx() local
132 drm_ctx_t ctx; in tdfx_addctx() local
155 drm_ctx_t ctx; in tdfx_modctx() local
167 drm_ctx_t ctx; in tdfx_getctx() local
183 drm_ctx_t ctx; in tdfx_switchctx() local
196 drm_ctx_t ctx; in tdfx_newctx() local
211 drm_ctx_t ctx; in tdfx_rmctx() local
Dffb_context.c42 struct ffb_hw_context *ctx; in ffb_save_context() local
175 struct ffb_hw_context *ctx; in ffb_restore_context() local
388 drm_ctx_t ctx; in ffb_resctx() local
416 drm_ctx_t ctx; in ffb_addctx() local
439 drm_ctx_t ctx; in ffb_modctx() local
468 drm_ctx_t ctx; in ffb_getctx() local
498 drm_ctx_t ctx; in ffb_switchctx() local
509 drm_ctx_t ctx; in ffb_newctx() local
521 drm_ctx_t ctx; in ffb_rmctx() local
Di810_context.c102 drm_ctx_t ctx; in i810_resctx() local
129 drm_ctx_t ctx; in i810_addctx() local
158 drm_ctx_t ctx; in i810_getctx() local
174 drm_ctx_t ctx; in i810_switchctx() local
187 drm_ctx_t ctx; in i810_newctx() local
202 drm_ctx_t ctx; in i810_rmctx() local
Dmga_context.c100 drm_ctx_t ctx; in mga_resctx() local
126 drm_ctx_t ctx; in mga_addctx() local
153 drm_ctx_t ctx; in mga_getctx() local
169 drm_ctx_t ctx; in mga_switchctx() local
182 drm_ctx_t ctx; in mga_newctx() local
197 drm_ctx_t ctx; in mga_rmctx() local
Dradeon_state.c64 drm_radeon_context_regs_t *ctx = &sarea_priv->context_state; in radeon_emit_context() local
93 drm_radeon_context_regs_t *ctx = &sarea_priv->context_state; in radeon_emit_vertfmt() local
108 drm_radeon_context_regs_t *ctx = &sarea_priv->context_state; in radeon_emit_line() local
127 drm_radeon_context_regs_t *ctx = &sarea_priv->context_state; in radeon_emit_bumpmap() local
146 drm_radeon_context_regs_t *ctx = &sarea_priv->context_state; in radeon_emit_masks() local
163 drm_radeon_context_regs_t *ctx = &sarea_priv->context_state; in radeon_emit_viewport() local
183 drm_radeon_context_regs_t *ctx = &sarea_priv->context_state; in radeon_emit_setup() local
201 drm_radeon_context_regs_t *ctx = &sarea_priv->context_state; in radeon_emit_tcl() local
245 drm_radeon_context_regs_t *ctx = &sarea_priv->context_state; in radeon_emit_misc() local
/linux-2.4.37.9/net/sctp/
Dsla1.c56 void SLA1_Init(struct SLA_1_Context *ctx) in SLA1_Init()
75 void SLA1processABlock(struct SLA_1_Context *ctx,unsigned int *block) in SLA1processABlock()
147 void SLA1_Process(struct SLA_1_Context *ctx, const unsigned char *ptr, int siz) in SLA1_Process()
173 void SLA1_Final(struct SLA_1_Context *ctx, unsigned char *digestBuf) in SLA1_Final()
/linux-2.4.37.9/arch/ia64/kernel/
Dperfmon.c92 #define PMC_OVFL_NOTIFY(ctx, i) ((ctx)->ctx_soft_pmds[i].flags & PFM_REGFL_OVFL_NOTIFY) argument
117 #define CTX_USED_PMD(ctx, mask) (ctx)->ctx_used_pmds[0] |= (mask) argument
118 #define CTX_IS_USED_PMD(ctx, c) (((ctx)->ctx_used_pmds[0] & (1UL << (c))) != 0UL) argument
121 #define CTX_USED_IBR(ctx,n) (ctx)->ctx_used_ibrs[(n)>>6] |= 1UL<< ((n) % 64) argument
122 #define CTX_USED_DBR(ctx,n) (ctx)->ctx_used_dbrs[(n)>>6] |= 1UL<< ((n) % 64) argument
123 #define CTX_USES_DBREGS(ctx) (((pfm_context_t *)(ctx))->ctx_fl_using_dbreg==1) argument
129 #define SET_LAST_CPU(ctx, v) (ctx)->ctx_last_cpu = (v) argument
130 #define GET_LAST_CPU(ctx) (ctx)->ctx_last_cpu argument
135 #define SET_LAST_CPU(ctx, v) do {} while(0) argument
136 #define GET_LAST_CPU(ctx) do {} while(0) argument
[all …]
/linux-2.4.37.9/net/ipv4/netfilter/
Dip_nat_snmp_basic.c149 static void asn1_open(struct asn1_ctx *ctx, in asn1_open()
159 static unsigned char asn1_octet_decode(struct asn1_ctx *ctx, unsigned char *ch) in asn1_octet_decode()
169 static unsigned char asn1_tag_decode(struct asn1_ctx *ctx, unsigned int *tag) in asn1_tag_decode()
185 static unsigned char asn1_id_decode(struct asn1_ctx *ctx, in asn1_id_decode()
206 static unsigned char asn1_length_decode(struct asn1_ctx *ctx, in asn1_length_decode()
243 static unsigned char asn1_header_decode(struct asn1_ctx *ctx, in asn1_header_decode()
268 static unsigned char asn1_eoc_decode(struct asn1_ctx *ctx, unsigned char *eoc) in asn1_eoc_decode()
298 static unsigned char asn1_null_decode(struct asn1_ctx *ctx, unsigned char *eoc) in asn1_null_decode()
304 static unsigned char asn1_long_decode(struct asn1_ctx *ctx, in asn1_long_decode()
332 static unsigned char asn1_uint_decode(struct asn1_ctx *ctx, in asn1_uint_decode()
[all …]
/linux-2.4.37.9/arch/sparc64/kernel/
Dpci_iommu.c149 unsigned long npages, unsigned long ctx) in free_streaming_cluster()
207 unsigned long flags, order, first_page, ctx; in pci_alloc_consistent() local
270 unsigned long flags, order, npages, i, ctx; in pci_free_consistent() local
336 unsigned long i, base_paddr, ctx; in pci_map_single() local
390 unsigned long flags, npages, i, ctx; in pci_unmap_single() local
539 unsigned long flags, ctx, npages, iopte_protection; in pci_map_sg() local
622 unsigned long flags, ctx, i, npages; in pci_unmap_sg() local
697 unsigned long flags, ctx, npages; in pci_dma_sync_single() local
758 unsigned long flags, ctx; in pci_dma_sync_sg() local

123