/linux/fs/coda/ |
H A D | upcall.c | 47 union inputArgs *inp; in alloc_upcall() local 49 inp = kvzalloc(size, GFP_KERNEL); in alloc_upcall() 50 if (!inp) in alloc_upcall() 53 inp->ih.opcode = opcode; in alloc_upcall() 54 inp->ih.pid = task_pid_nr_ns(current, &init_pid_ns); in alloc_upcall() 55 inp->ih.pgid = task_pgrp_nr_ns(current, &init_pid_ns); in alloc_upcall() 56 inp->ih.uid = from_kuid(&init_user_ns, current_fsuid()); in alloc_upcall() 58 return (void*)inp; in alloc_upcall() 63 inp = (union inputArgs *)alloc_upcall(op, insize); \ 64 if (IS_ERR(inp)) { return PTR_ERR(inp); }\ [all …]
|
/linux/arch/powerpc/crypto/ |
H A D | aesp10-ppc.pl | 120 my ($inp,$bits,$out,$ptr,$cnt,$rounds)=map("r$_",(3..8)); 152 ${UCMP}i $inp,0 153 beq- Lenc_key_abort # if ($inp==0) return -1; 171 neg r9,$inp 172 lvx $in0,0,$inp 173 addi $inp,$inp,15 # 15 is not typo 177 lvx $in1,0,$inp 194 addi $inp,$inp,8 196 addi $inp,$inp,8 258 addi $inp,$out,15 # 15 is not typo [all …]
|
H A D | aesp8-ppc.pl | 120 my ($inp,$bits,$out,$ptr,$cnt,$rounds)=map("r$_",(3..8)); 153 ${UCMP}i $inp,0 154 beq- Lenc_key_abort # if ($inp==0) return -1; 172 neg r9,$inp 173 lvx $in0,0,$inp 174 addi $inp,$inp,15 # 15 is not typo 178 lvx $in1,0,$inp 195 addi $inp,$inp,8 197 addi $inp,$inp,8 259 addi $inp,$out,15 # 15 is not typo [all …]
|
H A D | ghashp8-ppc.pl | 54 my ($Xip,$Htbl,$inp,$len)=map("r$_",(3..6)); # argument block 180 lvx_u $IN,0,$inp 181 addi $inp,$inp,16 195 add $inp,$inp,r0 206 lvx_u $IN,0,$inp 207 addi $inp,$inp,16
|
H A D | poly1305-p10-glue.c | 50 const u8 *inp, unsigned int len) in crypto_poly1305_setdctxkey() argument 58 key->key.r64[0] = get_unaligned_le64(&inp[0]); in crypto_poly1305_setdctxkey() 59 key->key.r64[1] = get_unaligned_le64(&inp[8]); in crypto_poly1305_setdctxkey() 60 inp += POLY1305_BLOCK_SIZE; in crypto_poly1305_setdctxkey() 66 dctx->s[0] = get_unaligned_le32(&inp[0]); in crypto_poly1305_setdctxkey() 67 dctx->s[1] = get_unaligned_le32(&inp[4]); in crypto_poly1305_setdctxkey() 68 dctx->s[2] = get_unaligned_le32(&inp[8]); in crypto_poly1305_setdctxkey() 69 dctx->s[3] = get_unaligned_le32(&inp[12]); in crypto_poly1305_setdctxkey()
|
H A D | ghashp10-ppc.pl | 54 my ($Xip,$Htbl,$inp,$len)=map("r$_",(3..6)); # argument block 307 lvx_u $IN,0,$inp 308 addi $inp,$inp,16 322 add $inp,$inp,r0 333 lvx_u $IN,0,$inp 334 addi $inp,$inp,16
|
/linux/lib/ |
H A D | decompress_unlz4.c | 40 u8 *inp; in unlz4() local 67 inp = input; in unlz4() 72 inp = large_malloc(LZ4_compressBound(uncomp_chunksize)); in unlz4() 73 if (!inp) { in unlz4() 78 inp_start = inp; in unlz4() 84 size = fill(inp, 4); in unlz4() 91 chunksize = get_unaligned_le32(inp); in unlz4() 94 inp += 4; in unlz4() 108 size = fill(inp, 4); in unlz4() 120 chunksize = get_unaligned_le32(inp); in unlz4() [all …]
|
/linux/arch/mips/crypto/ |
H A D | poly1305-mips.pl | 75 my ($ctx,$inp,$len,$padbit) = ($a0,$a1,$a2,$a3); 128 beqz $inp,.Lno_key 131 andi $tmp0,$inp,7 # $inp % 8 132 dsubu $inp,$inp,$tmp0 # align $inp 134 ld $in0,0($inp) 135 ld $in1,8($inp) 137 ld $tmp2,16($inp) 155 ldl $in0,0+MSB($inp) 156 ldl $in1,8+MSB($inp) 157 ldr $in0,0+LSB($inp) [all …]
|
/linux/arch/arm/crypto/ |
H A D | sha256-armv4.pl | 51 $inp="r1"; $t4="r1"; 76 @ ldr $t1,[$inp],#4 @ $i 78 str $inp,[sp,#17*4] @ make room for $t4 87 @ ldrb $t1,[$inp,#3] @ $i 89 ldrb $t2,[$inp,#2] 90 ldrb $t0,[$inp,#1] 92 ldrb $t2,[$inp],#4 95 str $inp,[sp,#17*4] @ make room for $t4 119 ldr $t1,[$inp],#4 @ prefetch 121 ldrb $t1,[$inp,#3] [all …]
|
H A D | poly1305-armv4.pl | 38 ($ctx,$inp,$len,$padbit)=map("r$_",(0..3)); 71 cmp $inp,#0 94 ldrb r4,[$inp,#0] 96 ldrb r5,[$inp,#1] 98 ldrb r6,[$inp,#2] 99 ldrb r7,[$inp,#3] 101 ldrb r5,[$inp,#4] 103 ldrb r6,[$inp,#5] 105 ldrb r7,[$inp,#6] 116 ldrb r8,[$inp,#7] [all …]
|
H A D | sha512-armv4.pl | 64 $inp="r1"; 288 add $len,$inp,$len,lsl#7 @ len to point at the end of inp 325 ldrb $Tlo,[$inp,#7] 326 ldrb $t0, [$inp,#6] 327 ldrb $t1, [$inp,#5] 328 ldrb $t2, [$inp,#4] 329 ldrb $Thi,[$inp,#3] 330 ldrb $t3, [$inp,#2] 332 ldrb $t0, [$inp,#1] 334 ldrb $t1, [$inp],#8 [all …]
|
/linux/arch/x86/crypto/ |
H A D | poly1305_glue.c | 20 asmlinkage void poly1305_blocks_x86_64(void *ctx, const u8 *inp, 26 asmlinkage void poly1305_blocks_avx(void *ctx, const u8 *inp, const size_t len, 28 asmlinkage void poly1305_blocks_avx2(void *ctx, const u8 *inp, const size_t len, 30 asmlinkage void poly1305_blocks_avx512(void *ctx, const u8 *inp, 89 static void poly1305_simd_blocks(void *ctx, const u8 *inp, size_t len, in poly1305_simd_blocks() argument 102 poly1305_blocks_x86_64(ctx, inp, len, padbit); in poly1305_simd_blocks() 111 poly1305_blocks_avx512(ctx, inp, bytes, padbit); in poly1305_simd_blocks() 113 poly1305_blocks_avx2(ctx, inp, bytes, padbit); in poly1305_simd_blocks() 115 poly1305_blocks_avx(ctx, inp, bytes, padbit); in poly1305_simd_blocks() 119 inp += bytes; in poly1305_simd_blocks() [all …]
|
H A D | poly1305-x86_64-cryptogams.pl | 177 my ($ctx,$inp,$len,$padbit)=("%rdi","%rsi","%rdx","%rcx"); 178 my ($mac,$nonce)=($inp,$len); # *_emit arguments 253 test $inp,$inp 283 and 0($inp),%rax 284 and 8($inp),%rcx 341 add 0($inp),$h0 # accumulate input 342 adc 8($inp),$h1 343 lea 16($inp),$inp 681 add 0($inp),$h0 # accumulate input 682 adc 8($inp),$h1 [all …]
|
/linux/arch/arm64/crypto/ |
H A D | sha512-armv8.pl | 100 ($ctx,$inp,$num,$Ktbl)=map("x$_",(0..2,30)); 118 ldp @X[$i+1],@X[$i+2],[$inp],#2*$SZ 121 ldp @X[14],@X[15],[$inp] 238 add $num,$inp,$num,lsl#`log(16*$SZ)/log(2)` // end of input 244 ldp @X[0],@X[1],[$inp],#2*$SZ 247 str $inp,[x29,#112] 256 ldr $inp,[x29,#112] 261 add $inp,$inp,#14*$SZ // advance input pointer 274 cmp $inp,$num 391 ld1 {@MSG[0]-@MSG[3]},[$inp],#64 [all …]
|
H A D | poly1305-armv8.pl | 44 my ($ctx,$inp,$len,$padbit) = map("x$_",(0..3)); 45 my ($mac,$nonce)=($inp,$len); 65 cmp $inp,xzr 77 ldp $r0,$r1,[$inp] // load key 152 ldp $t0,$t1,[$inp],#16 // load input 377 ldp $d0,$d1,[$inp],#16 // load input 410 ldp $d0,$d1,[$inp],#16 // load input 472 ldp x8,x12,[$inp,#32] // inp[2:3] 474 ldp x9,x13,[$inp,#48] 475 add $in2,$inp,#96 [all …]
|
/linux/fs/ |
H A D | select.c | 506 unsigned long *rinp, *routp, *rexp, *inp, *outp, *exp; in do_select() local 509 inp = fds->in; outp = fds->out; exp = fds->ex; in do_select() 517 in = *inp++; out = *outp++; ex = *exp++; in do_select() 622 int core_sys_select(int n, fd_set __user *inp, fd_set __user *outp, in core_sys_select() argument 670 if ((ret = get_fd_set(n, inp, fds.in)) || in core_sys_select() 689 if (set_fd_set(n, inp, fds.res_in) || in core_sys_select() 701 static int kern_select(int n, fd_set __user *inp, fd_set __user *outp, in kern_select() argument 719 ret = core_sys_select(n, inp, outp, exp, to); in kern_select() 723 SYSCALL_DEFINE5(select, int, n, fd_set __user *, inp, fd_set __user *, outp, in SYSCALL_DEFINE5() argument 726 return kern_select(n, inp, outp, exp, tvp); in SYSCALL_DEFINE5() [all …]
|
/linux/drivers/net/fddi/skfp/ |
H A D | drvfbi.c | 102 i = (int) inp(ADDR(B0_CTRL)) ; /* do dummy read */ in card_start() 127 rev_id = inp(PCI_C(PCI_REVISION_ID)) ; in card_start() 286 bitrev8(inp(ADDR(B2_MAC_0+i))); in read_address() 290 ConnectorType = inp(ADDR(B2_CONN_TYP)) ; in read_address() 291 PmdType = inp(ADDR(B2_PMD_TYP)) ; in read_address() 321 if (!(inp(ADDR(B0_DAS)) & DAS_AVAIL)) in init_board() 326 if (!(inp(ADDR(B0_DAS)) & DAS_BYP_ST)) in init_board() 362 return (inp(ADDR(B0_DAS)) & DAS_BYP_ST) ? TRUE : FALSE; in sm_pm_bypass_present()
|
/linux/drivers/s390/crypto/ |
H A D | zcrypt_msgtype50.c | 199 unsigned char *mod, *exp, *inp; in ICAMEX_msg_to_type50MEX_msg() local 214 inp = meb1->message + sizeof(meb1->message) - mod_len; in ICAMEX_msg_to_type50MEX_msg() 225 inp = meb2->message + sizeof(meb2->message) - mod_len; in ICAMEX_msg_to_type50MEX_msg() 236 inp = meb3->message + sizeof(meb3->message) - mod_len; in ICAMEX_msg_to_type50MEX_msg() 243 copy_from_user(inp, mex->inputdata, mod_len)) in ICAMEX_msg_to_type50MEX_msg() 263 unsigned char *p, *q, *dp, *dq, *u, *inp; in ICACRT_msg_to_type50CRT_msg() local 287 inp = crb1->message + sizeof(crb1->message) - mod_len; in ICACRT_msg_to_type50CRT_msg() 301 inp = crb2->message + sizeof(crb2->message) - mod_len; in ICACRT_msg_to_type50CRT_msg() 316 inp = crb3->message + sizeof(crb3->message) - mod_len; in ICACRT_msg_to_type50CRT_msg() 330 copy_from_user(inp, crt->inputdata, mod_len)) in ICACRT_msg_to_type50CRT_msg()
|
/linux/drivers/media/pci/cx18/ |
H A D | cx18-video.c | 14 int inp = cx->active_input; in cx18_video_set_io() local 17 cx->card->video_inputs[inp].video_input, 0, 0); in cx18_video_set_io()
|
/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-routing.c | 52 int inp = itv->active_input; in ivtv_video_set_io() local 57 itv->card->video_inputs[inp].video_input, 0, 0); in ivtv_video_set_io() 59 type = itv->card->video_inputs[inp].video_type; in ivtv_video_set_io()
|
/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-touch-cap.c | 165 int vivid_enum_input_tch(struct file *file, void *priv, struct v4l2_input *inp) in vivid_enum_input_tch() argument 167 if (inp->index) in vivid_enum_input_tch() 170 inp->type = V4L2_INPUT_TYPE_TOUCH; in vivid_enum_input_tch() 171 strscpy(inp->name, "Vivid Touch", sizeof(inp->name)); in vivid_enum_input_tch() 172 inp->capabilities = 0; in vivid_enum_input_tch()
|
/linux/tools/perf/util/ |
H A D | auxtrace.c | 2163 static int parse_num_or_str(char **inp, u64 *num, const char **str, in parse_num_or_str() argument 2166 *inp += strspn(*inp, " "); in parse_num_or_str() 2168 if (isdigit(**inp)) { in parse_num_or_str() 2174 *num = strtoull(*inp, &endptr, 0); in parse_num_or_str() 2177 if (endptr == *inp) in parse_num_or_str() 2179 *inp = endptr; in parse_num_or_str() 2185 *inp += strspn(*inp, " "); in parse_num_or_str() 2186 *str = *inp; in parse_num_or_str() 2187 n = strcspn(*inp, str_delim); in parse_num_or_str() 2190 *inp += n; in parse_num_or_str() [all …]
|
/linux/drivers/media/platform/sunxi/sun4i-csi/ |
H A D | sun4i_v4l2.c | 63 struct v4l2_input *inp) in sun4i_csi_enum_input() argument 65 if (inp->index != 0) in sun4i_csi_enum_input() 68 inp->type = V4L2_INPUT_TYPE_CAMERA; in sun4i_csi_enum_input() 69 strscpy(inp->name, "Camera", sizeof(inp->name)); in sun4i_csi_enum_input()
|
/linux/drivers/media/usb/go7007/ |
H A D | go7007-v4l2.c | 598 struct v4l2_input *inp) in vidioc_enum_input() argument 602 if (inp->index >= go->board_info->num_inputs) in vidioc_enum_input() 605 strscpy(inp->name, go->board_info->inputs[inp->index].name, in vidioc_enum_input() 606 sizeof(inp->name)); in vidioc_enum_input() 610 inp->index == 0) in vidioc_enum_input() 611 inp->type = V4L2_INPUT_TYPE_TUNER; in vidioc_enum_input() 613 inp->type = V4L2_INPUT_TYPE_CAMERA; in vidioc_enum_input() 616 inp->audioset = (1 << go->board_info->num_aud_inputs) - 1; in vidioc_enum_input() 618 inp->audioset = 0; in vidioc_enum_input() 619 inp->tuner = 0; in vidioc_enum_input() [all …]
|
/linux/arch/s390/crypto/ |
H A D | chacha-s390.h | 11 void chacha20_vx(u8 *out, const u8 *inp, size_t len, const u32 *key,
|