Searched refs:vlen (Results 26 - 50 of 55) sorted by relevance

123

/linux-master/tools/bpf/bpftool/
H A Dbtf_dumper.c473 int i, vlen; local
480 vlen = BTF_INFO_VLEN(t->info);
484 for (i = 0; i < vlen; i++) {
532 int ret = 0, i, vlen; local
538 vlen = BTF_INFO_VLEN(t->info);
544 for (i = 0; i < vlen; i++) {
714 int i, vlen; local
721 vlen = BTF_INFO_VLEN(func_proto->info);
722 for (i = 0; i < vlen; i++) {
H A Dgen.c155 int i, err, off = 0, pad_cnt = 0, vlen = btf_vlen(sec); local
166 for (i = 0; i < vlen; i++, sec_var++) {
331 int i, err = 0, vlen; local
358 vlen = btf_vlen(sec);
359 for (i = 0; i < vlen; i++, sec_var++) {
502 int i, vlen; local
530 vlen = btf_vlen(sec);
532 for (i = 0; i < vlen; i++, sec_var++) {
2143 __u16 vlen = btf_vlen(btf_type); local
2148 for (i = 0; i < vlen;
2180 __u16 vlen = btf_vlen(btf_type); local
2426 unsigned short vlen; local
[all...]
H A Dprog.c310 unsigned int i, vlen; local
332 vlen = btf_vlen(t_datasec);
346 for (i = 0; i < vlen; i++, vsi++) {
375 for (i = 0; i < vlen; i++, vsi++) {
/linux-master/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c900 size_t vlen, bool private)
904 hpre_rsa_drop_leading_zeros(&ptr, &vlen);
906 ctx->key_sz = vlen;
912 ctx->rsa.pubkey = dma_alloc_coherent(ctx->dev, vlen << 1,
919 ctx->rsa.prikey = dma_alloc_coherent(ctx->dev, vlen << 1,
923 dma_free_coherent(ctx->dev, vlen << 1,
929 memcpy(ctx->rsa.prikey + vlen, ptr, vlen);
931 memcpy(ctx->rsa.pubkey + vlen, ptr, vlen);
899 hpre_rsa_set_n(struct hpre_ctx *ctx, const char *value, size_t vlen, bool private) argument
937 hpre_rsa_set_e(struct hpre_ctx *ctx, const char *value, size_t vlen) argument
952 hpre_rsa_set_d(struct hpre_ctx *ctx, const char *value, size_t vlen) argument
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dsyscall.c27 #define BTF_INFO_ENC(kind, kind_flag, vlen) \
28 ((!!(kind_flag) << 31) | ((kind) << 24) | ((vlen) & BTF_MAX_VLEN))
/linux-master/tools/testing/selftests/
H A Dkselftest_harness.h1113 unsigned int flen = 0, vlen = 0, tlen = 0; local
1137 vlen = strlen(v->name);
1140 if (strlen(optarg) == flen + 1 + vlen + !!vlen + tlen &&
1142 !strncmp(v->name, &optarg[flen + 1], vlen) &&
1143 !strncmp(t->name, &optarg[flen + 1 + vlen + !!vlen], tlen))
/linux-master/drivers/video/fbdev/matrox/
H A Dmatroxfb_maven.c885 int vlen; local
907 vlen = (vslen + umargin + mt->VDisplay) * vdec;
908 vlen = (vlen >> 16) - 146; /* FIXME: 146?! */
909 if (vlen < 0)
910 vlen = 0;
911 if (vlen > 0xFF)
912 vlen = 0xFF;
916 m->regs[0xBE] = vlen;
/linux-master/drivers/video/fbdev/
H A Docfb.c109 u32 vlen; local
136 vlen = var->upper_margin + var->lower_margin + var->vsync_len +
139 ocfb_writereg(fbdev, OCFB_HVLEN, (hlen - 1) << 16 | (vlen - 1));
/linux-master/tools/lib/bpf/
H A Dlibbpf_internal.h76 #define BTF_INFO_ENC(kind, kind_flag, vlen) \
77 ((!!(kind_flag) << 31) | ((kind) << 24) | ((vlen) & BTF_MAX_VLEN))
243 static inline __u32 btf_type_info(int kind, int vlen, int kflag) argument
245 return (kflag << 31) | (kind << 24) | vlen;
H A Dlibbpf.c1049 int i, j, k, vlen; local
1064 vlen = btf_vlen(map->st_ops->type);
1065 for (k = 0; k < vlen; ++k) {
2447 int vlen, i; local
2449 vlen = btf_vlen(def_t);
2451 for (i = 0; i < vlen; i++, m++) {
2567 if (i != vlen - 1) {
2888 int nr_types, i, vlen, err; local
2923 vlen = btf_vlen(sec);
2924 for (i = 0; i < vlen;
3024 int i, j, vlen; local
10036 int vlen, element_sz, new_array_id; local
[all...]
/linux-master/fs/jffs2/
H A Dwbuf.c860 int vlen = invecs[invec].iov_len; local
863 wbuf_retlen = jffs2_fill_wbuf(c, v, vlen);
870 vlen -= wbuf_retlen;
875 if (vlen >= c->wbuf_pagesize) {
876 ret = mtd_write(c->mtd, outvec_to, PAGE_DIV(vlen),
878 if (ret < 0 || wbuf_retlen != PAGE_DIV(vlen))
881 vlen -= wbuf_retlen;
888 wbuf_retlen = jffs2_fill_wbuf(c, v, vlen);
/linux-master/fs/xfs/libxfs/
H A Dxfs_da_format.h803 static inline int xfs_attr_leaf_entsize_local(int nlen, int vlen) argument
821 * round_up(3 + nlen + vlen, 4). This is encoded in the ondisk format,
830 return round_up(localsize + nlen + vlen, XFS_ATTR_LEAF_NAME_ALIGN);
/linux-master/include/linux/
H A Dsocket.h413 unsigned int vlen, unsigned int flags,
417 unsigned int vlen, unsigned int flags,
H A Dsyscalls.h467 unsigned long vlen);
470 unsigned long vlen);
476 unsigned long vlen, unsigned long pos_l, unsigned long pos_h);
478 unsigned long vlen, unsigned long pos_l, unsigned long pos_h);
819 size_t vlen, int behavior, unsigned int flags);
850 unsigned int vlen, unsigned flags,
853 unsigned int vlen, unsigned flags,
878 unsigned int vlen, unsigned flags);
920 unsigned long vlen, unsigned long pos_l, unsigned long pos_h,
923 unsigned long vlen, unsigne
[all...]
/linux-master/tools/perf/trace/beauty/include/linux/
H A Dsocket.h413 unsigned int vlen, unsigned int flags,
417 unsigned int vlen, unsigned int flags,
/linux-master/arch/s390/kvm/
H A Dpv.c169 unsigned long npages = 0, vlen = 0; local
189 vlen = ALIGN(virt * ((npages * PAGE_SIZE) / HPAGE_SIZE), PAGE_SIZE);
190 vlen += uv_info.guest_virt_base_stor_len;
191 kvm->arch.pv.stor_var = vzalloc(vlen);
/linux-master/arch/um/drivers/
H A Dvector_user.c723 unsigned int vlen,
728 CATCH_EINTR(n = sendmmsg(fd, (struct mmsghdr *) msgvec, vlen, flags));
740 unsigned int vlen,
746 n = recvmmsg(fd, (struct mmsghdr *) msgvec, vlen, flags, 0));
720 uml_vector_sendmmsg( int fd, void *msgvec, unsigned int vlen, unsigned int flags) argument
737 uml_vector_recvmmsg( int fd, void *msgvec, unsigned int vlen, unsigned int flags) argument
/linux-master/fs/nfsd/
H A Dvfs.h126 struct kvec *vec, int vlen, unsigned long *cnt,
H A Dvfs.c1151 loff_t offset, struct kvec *vec, int vlen,
1197 iov_iter_kvec(&iter, ITER_SOURCE, vec, vlen, *cnt);
1302 struct kvec *vec, int vlen, unsigned long *cnt, int stable,
1315 vlen, cnt, stable, verf);
1150 nfsd_vfs_write(struct svc_rqst *rqstp, struct svc_fh *fhp, struct nfsd_file *nf, loff_t offset, struct kvec *vec, int vlen, unsigned long *cnt, int stable, __be32 *verf) argument
1301 nfsd_write(struct svc_rqst *rqstp, struct svc_fh *fhp, loff_t offset, struct kvec *vec, int vlen, unsigned long *cnt, int stable, __be32 *verf) argument
/linux-master/net/
H A Dsocket.c2683 int __sys_sendmmsg(int fd, struct mmsghdr __user *mmsg, unsigned int vlen, argument
2697 if (vlen > UIO_MAXIOV)
2698 vlen = UIO_MAXIOV;
2712 while (datagrams < vlen) {
2713 if (datagrams == vlen - 1)
2751 unsigned int, vlen, unsigned int, flags)
2753 return __sys_sendmmsg(fd, mmsg, vlen, flags, true);
2893 unsigned int vlen, unsigned int flags,
2926 while (datagrams < vlen) {
2965 /* Timeout, return less than vlen datagram
2892 do_recvmmsg(int fd, struct mmsghdr __user *mmsg, unsigned int vlen, unsigned int flags, struct timespec64 *timeout) argument
3003 __sys_recvmmsg(int fd, struct mmsghdr __user *mmsg, unsigned int vlen, unsigned int flags, struct __kernel_timespec __user *timeout, struct old_timespec32 __user *timeout32) argument
[all...]
/linux-master/drivers/s390/crypto/
H A Dzcrypt_ccamisc.c1662 size_t rlen, vlen; local
1680 rlen = vlen = PAGE_SIZE / 2;
1684 rarray, &rlen, varray, &vlen);
1685 if (rc == 0 && rlen >= 10 * 8 && vlen >= 204) {
1709 rlen = vlen = PAGE_SIZE / 2;
1711 rarray, &rlen, varray, &vlen);
1712 if (rc == 0 && rlen >= 13 * 8 && vlen >= 240) {
/linux-master/arch/arm64/crypto/
H A Dsm4-ce-gcm-core.S215 #define GTAG_HASH_LENGTHS(vctr0, vlen) \
216 ld1 {vlen.16b}, [x7]; \
223 rbit vlen.16b, vlen.16b; \
226 eor RHASH.16b, RHASH.16b, vlen.16b; \
/linux-master/fs/smb/client/
H A Dsmb2inode.c109 u16 vlen; local
126 vlen = le16_to_cpu(ea->ea_value_length);
128 (u8 *)ea + nlen + 1 + vlen > end)
131 switch (vlen) {
/linux-master/mm/
H A Dmadvise.c1445 size_t, vlen, int, behavior, unsigned int, flags)
1461 ret = import_iovec(ITER_DEST, vec, vlen, ARRAY_SIZE(iovstack), &iov, &iter);
/linux-master/tools/testing/selftests/bpf/
H A Dtest_progs.c993 __u16 j, vlen; local
1000 for (j = 0, vlen = btf_vlen(t); j < vlen; j++, e++) {

Completed in 302 milliseconds

123