Searched refs:dst_len (Results 1 – 2 of 2) sorted by relevance
/kernel/ |
D | kcov.c | 930 u64 dst_len, src_len; in kcov_move_area() local 939 dst_len = READ_ONCE(*(unsigned long *)dst_area); in kcov_move_area() 945 dst_len = READ_ONCE(*(u64 *)dst_area); in kcov_move_area() 957 if (dst_len > ((dst_area_size * word_size - count_size) >> in kcov_move_area() 960 dst_occupied = count_size + (dst_len << entry_size_log); in kcov_move_area() 970 WRITE_ONCE(*(unsigned long *)dst_area, dst_len + entries_moved); in kcov_move_area() 973 WRITE_ONCE(*(u64 *)dst_area, dst_len + entries_moved); in kcov_move_area()
|
/kernel/bpf/ |
D | cgroup.c | 2063 static int copy_sysctl_value(char *dst, size_t dst_len, char *src, in copy_sysctl_value() argument 2069 if (!dst_len) in copy_sysctl_value() 2073 memset(dst, 0, dst_len); in copy_sysctl_value() 2077 memcpy(dst, src, min(dst_len, src_len)); in copy_sysctl_value() 2079 if (dst_len > src_len) { in copy_sysctl_value() 2080 memset(dst + src_len, '\0', dst_len - src_len); in copy_sysctl_value() 2084 dst[dst_len - 1] = '\0'; in copy_sysctl_value()
|