/kernel/linux/linux-5.10/arch/s390/pci/ |
H A D | pci_mmio.c | 50 u64 ulen, u8 *status) in __pcistg_mio_inuser() 53 register u64 len asm("3") = ulen; in __pcistg_mio_inuser() 56 u64 cnt = ulen; in __pcistg_mio_inuser() 201 u64 ulen, u8 *status) in __pcilg_mio_inuser() 204 register u64 len asm("3") = ulen; in __pcilg_mio_inuser() 205 u64 cnt = ulen; in __pcilg_mio_inuser() 206 int shift = ulen * 8; in __pcilg_mio_inuser() 48 __pcistg_mio_inuser( void __iomem *ioaddr, const void __user *src, u64 ulen, u8 *status) __pcistg_mio_inuser() argument 199 __pcilg_mio_inuser( void __user *dst, const void __iomem *ioaddr, u64 ulen, u8 *status) __pcilg_mio_inuser() argument
|
/kernel/linux/linux-6.6/arch/s390/pci/ |
H A D | pci_mmio.c | 51 u64 ulen, u8 *status) in __pcistg_mio_inuser() 53 union register_pair ioaddr_len = {.even = (u64 __force)ioaddr, .odd = ulen}; in __pcistg_mio_inuser() 56 u64 cnt = ulen; in __pcistg_mio_inuser() 195 u64 ulen, u8 *status) in __pcilg_mio_inuser() 197 union register_pair ioaddr_len = {.even = (u64 __force)ioaddr, .odd = ulen}; in __pcilg_mio_inuser() 198 u64 cnt = ulen; in __pcilg_mio_inuser() 199 int shift = ulen * 8; in __pcilg_mio_inuser() 49 __pcistg_mio_inuser( void __iomem *ioaddr, const void __user *src, u64 ulen, u8 *status) __pcistg_mio_inuser() argument 193 __pcilg_mio_inuser( void __user *dst, const void __iomem *ioaddr, u64 ulen, u8 *status) __pcilg_mio_inuser() argument
|
/kernel/linux/linux-5.10/tools/bpf/ |
H A D | bpf_jit_disasm.c | 176 int ret, flen, pass, ulen = 0; in get_last_jit_image() local 222 while ((ptr = strtok(tmp, "\n")) != NULL && ulen < proglen) { in get_last_jit_image() 231 image[ulen++] = (uint8_t) strtoul(pptr, &pptr, 16); in get_last_jit_image() 233 ulen--; in get_last_jit_image() 236 if (ulen >= proglen) in get_last_jit_image() 242 assert(ulen == proglen); in get_last_jit_image() 248 *ilen = ulen; in get_last_jit_image()
|
/kernel/linux/linux-6.6/tools/bpf/ |
H A D | bpf_jit_disasm.c | 179 int ret, flen, pass, ulen = 0; in get_last_jit_image() local 225 while ((ptr = strtok(tmp, "\n")) != NULL && ulen < proglen) { in get_last_jit_image() 234 image[ulen++] = (uint8_t) strtoul(pptr, &pptr, 16); in get_last_jit_image() 236 ulen--; in get_last_jit_image() 239 if (ulen >= proglen) in get_last_jit_image() 245 assert(ulen == proglen); in get_last_jit_image() 251 *ilen = ulen; in get_last_jit_image()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | syscall.c | 2790 u32 ulen = info->raw_tracepoint.tp_name_len; in bpf_raw_tp_link_fill_link_info() local 2793 if (!ulen ^ !ubuf) in bpf_raw_tp_link_fill_link_info() 2801 if (ulen >= tp_len + 1) { in bpf_raw_tp_link_fill_link_info() 2807 if (copy_to_user(ubuf, tp_name, ulen - 1)) in bpf_raw_tp_link_fill_link_info() 2809 if (put_user(zero, ubuf + ulen - 1)) in bpf_raw_tp_link_fill_link_info() 3434 u32 ulen; in bpf_prog_get_info_by_fd() local 3457 ulen = info.nr_map_ids; in bpf_prog_get_info_by_fd() 3459 ulen = min_t(u32, info.nr_map_ids, ulen); in bpf_prog_get_info_by_fd() 3460 if (ulen) { in bpf_prog_get_info_by_fd() [all...] |
H A D | offload.c | 306 u32 ulen; in bpf_prog_offload_info_fill() local 322 ulen = info->jited_prog_len; in bpf_prog_offload_info_fill() 324 if (info->jited_prog_len && ulen) { in bpf_prog_offload_info_fill() 326 ulen = min_t(u32, info->jited_prog_len, ulen); in bpf_prog_offload_info_fill() 327 if (copy_to_user(uinsns, aux->offload->jited_image, ulen)) { in bpf_prog_offload_info_fill()
|
H A D | bpf_iter.c | 416 u32 ulen = info->iter.target_name_len; in bpf_iter_link_fill_link_info() local 420 if (!ulen ^ !ubuf) in bpf_iter_link_fill_link_info() 428 if (ulen >= target_len + 1) { in bpf_iter_link_fill_link_info() 434 if (copy_to_user(ubuf, target_name, ulen - 1)) in bpf_iter_link_fill_link_info() 436 if (put_user(zero, ubuf + ulen - 1)) in bpf_iter_link_fill_link_info()
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | ip6_checksum.c | 14 __u32 ulen; in csum_ipv6_magic() local 50 ulen = (__force u32)htonl((__u32) len); in csum_ipv6_magic() 51 sum += ulen; in csum_ipv6_magic() 52 carry = (sum < ulen); in csum_ipv6_magic()
|
H A D | udp.c | 351 unsigned int ulen, copied; in udpv6_recvmsg() local 370 ulen = udp6_skb_len(skb); in udpv6_recvmsg() 372 if (copied > ulen - off) in udpv6_recvmsg() 373 copied = ulen - off; in udpv6_recvmsg() 374 else if (copied < ulen) in udpv6_recvmsg() 386 if (copied < ulen || peeking || in udpv6_recvmsg() 458 err = ulen; in udpv6_recvmsg() 925 u32 ulen = 0; in __udp6_lib_rcv() local 934 ulen = ntohs(uh->len); in __udp6_lib_rcv() 935 if (ulen > sk in __udp6_lib_rcv() 1313 int ulen = len; udpv6_sendmsg() local [all...] |
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | ip6_checksum.c | 14 __u32 ulen; in csum_ipv6_magic() local 50 ulen = (__force u32)htonl((__u32) len); in csum_ipv6_magic() 51 sum += ulen; in csum_ipv6_magic() 52 carry = (sum < ulen); in csum_ipv6_magic()
|
H A D | udp.c | 327 unsigned int ulen, copied; in udpv6_recvmsg() local 346 ulen = udp6_skb_len(skb); in udpv6_recvmsg() 348 if (copied > ulen - off) in udpv6_recvmsg() 349 copied = ulen - off; in udpv6_recvmsg() 350 else if (copied < ulen) in udpv6_recvmsg() 362 if (copied < ulen || peeking || in udpv6_recvmsg() 434 err = ulen; in udpv6_recvmsg() 938 u32 ulen = 0; in __udp6_lib_rcv() local 947 ulen = ntohs(uh->len); in __udp6_lib_rcv() 948 if (ulen > sk in __udp6_lib_rcv() 1337 int ulen = len; udpv6_sendmsg() local [all...] |
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | fscache.c | 88 int nfs_fscache_get_super_cookie(struct super_block *sb, const char *uniq, int ulen) in nfs_fscache_get_super_cookie() argument 96 nfss->fscache_uniq = kmemdup_nul(uniq, ulen, GFP_KERNEL); in nfs_fscache_get_super_cookie() 120 if (ulen > 0) { in nfs_fscache_get_super_cookie() 121 if (ulen > NFS_MAX_KEY_LEN - len) in nfs_fscache_get_super_cookie() 124 memcpy(key + len, uniq, ulen); in nfs_fscache_get_super_cookie() 125 len += ulen; in nfs_fscache_get_super_cookie()
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | syscall.c | 3342 static int bpf_copy_to_user(char __user *ubuf, const char *buf, u32 ulen, in bpf_copy_to_user() argument 3345 if (ulen >= len + 1) { in bpf_copy_to_user() 3351 if (copy_to_user(ubuf, buf, ulen - 1)) in bpf_copy_to_user() 3353 if (put_user(zero, ubuf + ulen - 1)) in bpf_copy_to_user() 3368 u32 ulen = info->raw_tracepoint.tp_name_len; in bpf_raw_tp_link_fill_link_info() local 3371 if (!ulen ^ !ubuf) in bpf_raw_tp_link_fill_link_info() 3379 return bpf_copy_to_user(ubuf, tp_name, ulen, tp_len); in bpf_raw_tp_link_fill_link_info() 3412 char __user *uname, u32 ulen, in bpf_perf_link_fill_common() 3421 if (!ulen ^ !uname) in bpf_perf_link_fill_common() 3432 err = bpf_copy_to_user(uname, buf, ulen, le in bpf_perf_link_fill_common() 3411 bpf_perf_link_fill_common(const struct perf_event *event, char __user *uname, u32 ulen, u64 *probe_offset, u64 *probe_addr, u32 *fd_type) bpf_perf_link_fill_common() argument 3450 u32 ulen, type; bpf_perf_link_fill_kprobe() local 3478 u32 ulen, type; bpf_perf_link_fill_uprobe() local 3515 u32 ulen; bpf_perf_link_fill_tracepoint() local 4320 u32 ulen; bpf_prog_get_info_by_fd() local [all...] |
H A D | offload.c | 466 u32 ulen; in bpf_prog_offload_info_fill() local 482 ulen = info->jited_prog_len; in bpf_prog_offload_info_fill() 484 if (info->jited_prog_len && ulen) { in bpf_prog_offload_info_fill() 486 ulen = min_t(u32, info->jited_prog_len, ulen); in bpf_prog_offload_info_fill() 487 if (copy_to_user(uinsns, aux->offload->jited_image, ulen)) { in bpf_prog_offload_info_fill()
|
/kernel/linux/linux-6.6/drivers/s390/crypto/ |
H A D | zcrypt_cca_key.h | 16 unsigned short ulen; member 145 key->t6_hdr.ulen = key->pubhdr.token_length + 4; in zcrypt_type6_mex_key_en() 195 key->t6_hdr.ulen = size - 2; in zcrypt_type6_crt_key()
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
H A D | udp.c | 280 unsigned int ulen, copied; in nip_udp_recvmsg() local 289 ulen = skb->len; in nip_udp_recvmsg() 291 if (copied > ulen - off) in nip_udp_recvmsg() 292 copied = ulen - off; in nip_udp_recvmsg() 293 else if (copied < ulen) in nip_udp_recvmsg() 320 err = ulen; in nip_udp_recvmsg()
|
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | fscache.c | 112 void nfs_fscache_get_super_cookie(struct super_block *sb, const char *uniq, int ulen) in nfs_fscache_get_super_cookie() argument 123 ulen = 1; in nfs_fscache_get_super_cookie() 126 key = kzalloc(sizeof(*key) + ulen, GFP_KERNEL); in nfs_fscache_get_super_cookie() 142 key->key.uniq_len = ulen; in nfs_fscache_get_super_cookie() 143 memcpy(key->key.uniquifier, uniq, ulen); in nfs_fscache_get_super_cookie() 190 sizeof(key->key) + ulen, in nfs_fscache_get_super_cookie()
|
/kernel/linux/linux-5.10/fs/fat/ |
H A D | namei_vfat.c | 328 wchar_t *uname, int ulen, in vfat_create_shortname() 345 ext_start = end = &uname[ulen]; in vfat_create_shortname() 349 sz = ulen; in vfat_create_shortname() 357 sz = ulen; in vfat_create_shortname() 375 sz = ulen; in vfat_create_shortname() 593 int err, ulen, usize, i; in vfat_build_slots() local 602 err = xlate_to_uni(name, len, (unsigned char *)uname, &ulen, &usize, in vfat_build_slots() 607 err = vfat_is_used_badchars(uname, ulen); in vfat_build_slots() 611 err = vfat_create_shortname(dir, sbi->nls_disk, uname, ulen, in vfat_build_slots() 327 vfat_create_shortname(struct inode *dir, struct nls_table *nls, wchar_t *uname, int ulen, unsigned char *name_res, unsigned char *lcase) vfat_create_shortname() argument
|
/kernel/linux/linux-5.10/drivers/s390/crypto/ |
H A D | zcrypt_cca_key.h | 16 unsigned short ulen; member 156 key->t6_hdr.ulen = key->pubHdr.token_length + 4; in zcrypt_type6_mex_key_en() 207 key->t6_hdr.ulen = size - 2; in zcrypt_type6_crt_key()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | udp_offload.c | 432 unsigned int ulen; in udp_gro_receive_segment() local 442 ulen = ntohs(uh->len); in udp_gro_receive_segment() 443 if (ulen <= sizeof(*uh) || ulen != skb_gro_len(skb)) { in udp_gro_receive_segment() 473 if (ulen > ntohs(uh2->len)) { in udp_gro_receive_segment() 495 if (ret || ulen != ntohs(uh2->len) || in udp_gro_receive_segment()
|
H A D | udp.c | 1055 int ulen = len; in udp_sendmsg() local 1097 ulen += sizeof(struct udphdr); in udp_sendmsg() 1256 skb = ip_make_skb(sk, fl4, getfrag, msg, ulen, in udp_sendmsg() 1286 up->len += ulen; in udp_sendmsg() 1287 err = ip_append_data(sk, fl4, getfrag, msg, ulen, in udp_sendmsg() 1820 unsigned int ulen, copied; in udp_recvmsg() local 1834 ulen = udp_skb_len(skb); in udp_recvmsg() 1836 if (copied > ulen - off) in udp_recvmsg() 1837 copied = ulen - off; in udp_recvmsg() 1838 else if (copied < ulen) in udp_recvmsg() 2373 unsigned short ulen; __udp4_lib_rcv() local [all...] |
/kernel/linux/linux-6.6/fs/fat/ |
H A D | namei_vfat.c | 328 wchar_t *uname, int ulen, in vfat_create_shortname() 345 ext_start = end = &uname[ulen]; in vfat_create_shortname() 349 sz = ulen; in vfat_create_shortname() 357 sz = ulen; in vfat_create_shortname() 375 sz = ulen; in vfat_create_shortname() 593 int err, ulen, usize, i; in vfat_build_slots() local 602 err = xlate_to_uni(name, len, (unsigned char *)uname, &ulen, &usize, in vfat_build_slots() 607 err = vfat_is_used_badchars(uname, ulen); in vfat_build_slots() 611 err = vfat_create_shortname(dir, sbi->nls_disk, uname, ulen, in vfat_build_slots() 327 vfat_create_shortname(struct inode *dir, struct nls_table *nls, wchar_t *uname, int ulen, unsigned char *name_res, unsigned char *lcase) vfat_create_shortname() argument
|
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_refcount.c | 866 unsigned long long ulen = left->rc_blockcount; in xfs_refc_want_merge_center() local 890 * The new record cannot exceed the max length. ulen is a ULL as the in xfs_refc_want_merge_center() 894 ulen += cleft->rc_blockcount + right->rc_blockcount; in xfs_refc_want_merge_center() 895 if (ulen >= MAXREFCEXTLEN) in xfs_refc_want_merge_center() 898 *ulenp = ulen; in xfs_refc_want_merge_center() 908 unsigned long long ulen = left->rc_blockcount; in xfs_refc_want_merge_left() local 925 * The new record cannot exceed the max length. ulen is a ULL as the in xfs_refc_want_merge_left() 929 ulen += cleft->rc_blockcount; in xfs_refc_want_merge_left() 930 if (ulen >= MAXREFCEXTLEN) in xfs_refc_want_merge_left() 942 unsigned long long ulen in xfs_refc_want_merge_right() local 985 unsigned long long ulen; xfs_refcount_merge_extents() local [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | udp_offload.c | 471 unsigned int ulen; in udp_gro_receive_segment() local 481 ulen = ntohs(uh->len); in udp_gro_receive_segment() 482 if (ulen <= sizeof(*uh) || ulen != skb_gro_len(skb)) { in udp_gro_receive_segment() 512 if (ulen > ntohs(uh2->len)) { in udp_gro_receive_segment() 534 if (ret || ulen != ntohs(uh2->len) || in udp_gro_receive_segment()
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_refcount.c | 804 unsigned long long ulen; in xfs_refcount_merge_extents() local 830 ulen = (unsigned long long)left.rc_blockcount + cleft.rc_blockcount + in xfs_refcount_merge_extents() 836 ulen < MAXREFCEXTLEN) { in xfs_refcount_merge_extents() 839 &right, ulen, aglen); in xfs_refcount_merge_extents() 843 ulen = (unsigned long long)left.rc_blockcount + cleft.rc_blockcount; in xfs_refcount_merge_extents() 846 ulen < MAXREFCEXTLEN) { in xfs_refcount_merge_extents() 862 ulen = (unsigned long long)right.rc_blockcount + cright.rc_blockcount; in xfs_refcount_merge_extents() 865 ulen < MAXREFCEXTLEN) { in xfs_refcount_merge_extents()
|