/linux-master/include/linux/ |
H A D | bitmap-str.h | 5 int bitmap_parse_user(const char __user *ubuf, unsigned int ulen, unsigned long *dst, int nbits); 13 int bitmap_parselist_user(const char __user *ubuf, unsigned int ulen,
|
H A D | nodemask.h | 57 * int nodemask_parse_user(ubuf, ulen, mask) Parse ascii string as nodemask 339 #define nodemask_parse_user(ubuf, ulen, dst) \ 340 __nodemask_parse_user((ubuf), (ulen), &(dst), MAX_NUMNODES)
|
/linux-master/tools/bpf/ |
H A D | bpf_jit_disasm.c | 179 int ret, flen, pass, ulen = 0; local 225 while ((ptr = strtok(tmp, "\n")) != NULL && ulen < proglen) { 234 image[ulen++] = (uint8_t) strtoul(pptr, &pptr, 16); 236 ulen--; 239 if (ulen >= proglen) 245 assert(ulen == proglen); 251 *ilen = ulen;
|
/linux-master/net/ipv6/ |
H A D | ip6_checksum.c | 14 __u32 ulen; local 50 ulen = (__force u32)htonl((__u32) len); 51 sum += ulen; 52 carry = (sum < ulen);
|
H A D | udp.c | 324 unsigned int ulen, copied; local 343 ulen = udp6_skb_len(skb); 345 if (copied > ulen - off) 346 copied = ulen - off; 347 else if (copied < ulen) 359 if (copied < ulen || peeking || 431 err = ulen; 935 u32 ulen = 0; local 944 ulen = ntohs(uh->len); 945 if (ulen > sk 1335 int ulen = len; local [all...] |
/linux-master/arch/s390/pci/ |
H A D | pci_mmio.c | 51 u64 ulen, u8 *status) 53 union register_pair ioaddr_len = {.even = (u64 __force)ioaddr, .odd = ulen}; 56 u64 cnt = ulen; 195 u64 ulen, u8 *status) 197 union register_pair ioaddr_len = {.even = (u64 __force)ioaddr, .odd = ulen}; 198 u64 cnt = ulen; 199 int shift = ulen * 8; 49 __pcistg_mio_inuser( void __iomem *ioaddr, const void __user *src, u64 ulen, u8 *status) argument 193 __pcilg_mio_inuser( void __user *dst, const void __iomem *ioaddr, u64 ulen, u8 *status) argument
|
/linux-master/arch/riscv/lib/ |
H A D | csum.c | 24 unsigned int ulen, uproto; local 37 ulen = (__force unsigned int)htonl((unsigned int)len); 38 sum += ulen;
|
/linux-master/fs/nfs/ |
H A D | fscache.c | 88 int nfs_fscache_get_super_cookie(struct super_block *sb, const char *uniq, int ulen) argument 96 nfss->fscache_uniq = kmemdup_nul(uniq, ulen, GFP_KERNEL); 120 if (ulen > 0) { 121 if (ulen > NFS_MAX_KEY_LEN - len) 124 memcpy(key + len, uniq, ulen); 125 len += ulen;
|
H A D | nfs42xdr.c | 1189 u32 count, len, ulen; local 1251 ulen = len + XATTR_USER_PREFIX_LEN + 1; 1253 if (ulen > left) { 1261 buf[ulen - 1] = 0; 1262 buf += ulen; 1263 left -= ulen; 1265 copied += ulen;
|
/linux-master/lib/ |
H A D | bitmap-str.c | 19 * @ulen: buffer size in bytes. If string is smaller than this 25 unsigned int ulen, unsigned long *maskp, 31 buf = memdup_user_nul(ubuf, ulen); 408 * @ulen: buffer size in bytes. If string is smaller than this 416 unsigned int ulen, unsigned long *maskp, 422 buf = memdup_user_nul(ubuf, ulen); 24 bitmap_parse_user(const char __user *ubuf, unsigned int ulen, unsigned long *maskp, int nmaskbits) argument 415 bitmap_parselist_user(const char __user *ubuf, unsigned int ulen, unsigned long *maskp, int nmaskbits) argument
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_custom_syncookie.h | 92 __u32 ulen; local 128 ulen = (__force u32)bpf_htonl((__u32)len); 129 sum += ulen; 130 carry = (sum < ulen);
|
/linux-master/kernel/bpf/ |
H A D | syscall.c | 3534 static int bpf_copy_to_user(char __user *ubuf, const char *buf, u32 ulen, argument 3537 if (ulen >= len + 1) { 3543 if (copy_to_user(ubuf, buf, ulen - 1)) 3545 if (put_user(zero, ubuf + ulen - 1)) 3560 u32 ulen = info->raw_tracepoint.tp_name_len; local 3563 if (!ulen ^ !ubuf) 3571 return bpf_copy_to_user(ubuf, tp_name, ulen, tp_len); 3604 char __user *uname, u32 ulen, 3613 if (!ulen ^ !uname) 3624 err = bpf_copy_to_user(uname, buf, ulen, le 3603 bpf_perf_link_fill_common(const struct perf_event *event, char __user *uname, u32 ulen, u64 *probe_offset, u64 *probe_addr, u32 *fd_type, unsigned long *missed) argument 3643 u32 ulen, type; local 3673 u32 ulen, type; local 3711 u32 ulen; local 4549 u32 ulen; local [all...] |
H A D | offload.c | 473 u32 ulen; local 489 ulen = info->jited_prog_len; 491 if (info->jited_prog_len && ulen) { 493 ulen = min_t(u32, info->jited_prog_len, ulen); 494 if (copy_to_user(uinsns, aux->offload->jited_image, ulen)) {
|
H A D | bpf_iter.c | 461 u32 ulen = info->iter.target_name_len; local 465 if (!ulen ^ !ubuf) 473 if (ulen >= target_len + 1) { 479 if (copy_to_user(ubuf, target_name, ulen - 1)) 481 if (put_user(zero, ubuf + ulen - 1))
|
/linux-master/drivers/s390/crypto/ |
H A D | zcrypt_cca_key.h | 16 unsigned short ulen; member in struct:t6_keyblock_hdr 145 key->t6_hdr.ulen = key->pubhdr.token_length + 4; 195 key->t6_hdr.ulen = size - 2;
|
/linux-master/fs/fat/ |
H A D | namei_vfat.c | 328 wchar_t *uname, int ulen, 345 ext_start = end = &uname[ulen]; 349 sz = ulen; 357 sz = ulen; 375 sz = ulen; 593 int err, ulen, usize, i; local 602 err = xlate_to_uni(name, len, (unsigned char *)uname, &ulen, &usize, 607 err = vfat_is_used_badchars(uname, ulen); 611 err = vfat_create_shortname(dir, sbi->nls_disk, uname, ulen, 327 vfat_create_shortname(struct inode *dir, struct nls_table *nls, wchar_t *uname, int ulen, unsigned char *name_res, unsigned char *lcase) argument
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_refcount.c | 885 unsigned long long ulen = left->rc_blockcount; local 909 * The new record cannot exceed the max length. ulen is a ULL as the 913 ulen += cleft->rc_blockcount + right->rc_blockcount; 914 if (ulen >= MAXREFCEXTLEN) 917 *ulenp = ulen; 927 unsigned long long ulen = left->rc_blockcount; local 944 * The new record cannot exceed the max length. ulen is a ULL as the 948 ulen += cleft->rc_blockcount; 949 if (ulen >= MAXREFCEXTLEN) 961 unsigned long long ulen local 1004 unsigned long long ulen; local [all...] |
/linux-master/net/ipv4/ |
H A D | udp_offload.c | 472 unsigned int ulen; local 482 ulen = ntohs(uh->len); 483 if (ulen <= sizeof(*uh) || ulen != skb_gro_len(skb)) { 513 if (ulen > ntohs(uh2->len)) { 535 if (ret || ulen != ntohs(uh2->len) ||
|
H A D | udp.c | 1050 int ulen = len; local 1093 ulen += sizeof(struct udphdr); 1251 skb = ip_make_skb(sk, fl4, getfrag, msg, ulen, 1281 up->len += ulen; 1282 err = ip_append_data(sk, fl4, getfrag, msg, ulen, 1802 unsigned int ulen, copied; local 1816 ulen = udp_skb_len(skb); 1818 if (copied > ulen - off) 1819 copied = ulen - off; 1820 else if (copied < ulen) 2372 unsigned short ulen; local [all...] |
/linux-master/net/l2tp/ |
H A D | l2tp_ip6.c | 502 int ulen; local 630 ulen = len + (skb_queue_empty(&sk->sk_write_queue) ? transhdrlen : 0); 632 ulen, transhdrlen, &ipc6,
|
/linux-master/fs/smb/client/ |
H A D | fs_context.c | 528 size_t ulen, plen; local 531 ulen = strlen(ctx->UNC); 534 s = kmalloc(ulen + plen + 1, GFP_KERNEL); 537 memcpy(s, ctx->UNC, ulen); 539 s[ulen] = dirsep; 540 memcpy(s + ulen + 1, ctx->prepath, plen); 542 s[ulen + plen] = '\0';
|
/linux-master/fs/ntfs3/ |
H A D | inode.c | 1938 u16 ulen = 0; local 1993 ulen = le16_to_cpu(rp->MountPointReparseBuffer.PrintNameLength); 2007 ulen = le16_to_cpu( 2045 ulen = le16_to_cpu(rp->ReparseDataLength) - 2050 ulen >>= 1; 2053 if (!ulen || uname + ulen > (__le16 *)Add2Ptr(rp, size)) 2057 if (!uname[ulen - 1]) 2058 ulen -= 1; 2060 err = ntfs_utf16_to_nls(sbi, uname, ulen, buffe [all...] |
H A D | namei.c | 33 int ulen = uni->len; local 37 while (ulen--)
|
/linux-master/security/apparmor/ |
H A D | label.c | 1491 size_t ulen = len; \ 1494 total += ulen; \ 1495 ulen = min(ulen, size); \ 1496 size -= ulen; \ 1497 str += ulen; \
|
/linux-master/drivers/media/dvb-core/ |
H A D | dvb_net.c | 820 __be16 ulen = htons(h.priv->ule_sndu_len); local 824 { &ulen, sizeof ulen }, 833 ulen |= htons(0x8000);
|