/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76_connac3_mac.c | 17 u32 ru = le32_get_bits(rxv[0], MT_PRXV_HE_RU_ALLOC), offs = 0; in mt76_connac3_mac_decode_he_radiotap_ru() local 21 switch (ru) { in mt76_connac3_mac_decode_he_radiotap_ru() 24 offs = ru; in mt76_connac3_mac_decode_he_radiotap_ru() 28 offs = ru - 37; in mt76_connac3_mac_decode_he_radiotap_ru() 32 offs = ru - 53; in mt76_connac3_mac_decode_he_radiotap_ru() 36 offs = ru - 61; in mt76_connac3_mac_decode_he_radiotap_ru() 40 offs = ru - 65; in mt76_connac3_mac_decode_he_radiotap_ru()
|
H A D | eeprom.c | 338 u32 ru_rates = ARRAY_SIZE(dest->ru[0]); in mt76_get_rate_power_limits() 395 val = mt76_get_of_array(np, "rates-ru", &len, ru_rates + 1); in mt76_get_rate_power_limits() 396 mt76_apply_multi_array_limit(dest->ru[0], ARRAY_SIZE(dest->ru[0]), in mt76_get_rate_power_limits() 397 ARRAY_SIZE(dest->ru), val, len, in mt76_get_rate_power_limits()
|
H A D | mt76_connac_mac.c | 744 u8 ru, offs = 0; in mt76_connac2_mac_decode_he_radiotap_ru() local 748 ru = (u8)(ru_l | ru_h << 4); in mt76_connac2_mac_decode_he_radiotap_ru() 752 switch (ru) { in mt76_connac2_mac_decode_he_radiotap_ru() 755 offs = ru; in mt76_connac2_mac_decode_he_radiotap_ru() 759 offs = ru - 37; in mt76_connac2_mac_decode_he_radiotap_ru() 763 offs = ru - 53; in mt76_connac2_mac_decode_he_radiotap_ru() 767 offs = ru - 61; in mt76_connac2_mac_decode_he_radiotap_ru() 771 offs = ru - 65; in mt76_connac2_mac_decode_he_radiotap_ru()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | tcp_mmap.c | 159 struct rusage ru; in child_thread() local 242 getrusage(RUSAGE_THREAD, &ru); in child_thread() 246 total_usec = 1000000*ru.ru_utime.tv_sec + ru.ru_utime.tv_usec + in child_thread() 247 1000000*ru.ru_stime.tv_sec + ru.ru_stime.tv_usec; in child_thread() 254 (double)ru.ru_utime.tv_sec + (double)ru.ru_utime.tv_usec / 1000000.0, in child_thread() 255 (double)ru.ru_stime.tv_sec + (double)ru in child_thread() [all...] |
H A D | icmp_redirect.sh | 158 ip -netns ${ns} ru del pref 0 159 ip -netns ${ns} ru add pref 32765 from all lookup local 160 ip -netns ${ns} -6 ru del pref 0 161 ip -netns ${ns} -6 ru add pref 32765 from all lookup local
|
H A D | vrf-xfrm-tests.sh | 104 ip ${ns} ru del pref 0 105 ip ${ns} ru add pref 32765 from all lookup local 106 ip ${ns} -6 ru del pref 0 107 ip ${ns} -6 ru add pref 32765 from all lookup local
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | tcp_mmap.c | 182 struct rusage ru; in child_thread() local 297 getrusage(RUSAGE_THREAD, &ru); in child_thread() 301 total_usec = 1000000*ru.ru_utime.tv_sec + ru.ru_utime.tv_usec + in child_thread() 302 1000000*ru.ru_stime.tv_sec + ru.ru_stime.tv_usec; in child_thread() 309 (double)ru.ru_utime.tv_sec + (double)ru.ru_utime.tv_usec / 1000000.0, in child_thread() 310 (double)ru.ru_stime.tv_sec + (double)ru in child_thread() [all...] |
H A D | icmp_redirect.sh | 162 ip -netns ${ns} ru del pref 0 163 ip -netns ${ns} ru add pref 32765 from all lookup local 164 ip -netns ${ns} -6 ru del pref 0 165 ip -netns ${ns} -6 ru add pref 32765 from all lookup local
|
H A D | vrf-xfrm-tests.sh | 104 ip ${ns} ru del pref 0 105 ip ${ns} ru add pref 32765 from all lookup local 106 ip ${ns} -6 ru del pref 0 107 ip ${ns} -6 ru add pref 32765 from all lookup local
|
/kernel/linux/linux-5.10/kernel/ |
H A D | exit.c | 1571 int options, struct rusage *ru) in kernel_waitid() 1624 wo.wo_rusage = ru; in kernel_waitid() 1637 infop, int, options, struct rusage __user *, ru) in SYSCALL_DEFINE5() 1641 long err = kernel_waitid(which, upid, &info, options, ru ? &r : NULL); in SYSCALL_DEFINE5() 1647 if (ru && copy_to_user(ru, &r, sizeof(struct rusage))) in SYSCALL_DEFINE5() 1670 struct rusage *ru) in kernel_wait4() 1703 wo.wo_rusage = ru; in kernel_wait4() 1729 int, options, struct rusage __user *, ru) in SYSCALL_DEFINE4() 1732 long err = kernel_wait4(upid, stat_addr, options, ru in SYSCALL_DEFINE4() 1570 kernel_waitid(int which, pid_t upid, struct waitid_info *infop, int options, struct rusage *ru) kernel_waitid() argument 1669 kernel_wait4(pid_t upid, int __user *stat_addr, int options, struct rusage *ru) kernel_wait4() argument 1775 struct rusage ru; COMPAT_SYSCALL_DEFINE5() local [all...] |
H A D | compat.c | 83 int put_compat_rusage(const struct rusage *r, struct compat_rusage __user *ru) in put_compat_rusage() argument 105 if (copy_to_user(ru, &r32, sizeof(r32))) in put_compat_rusage()
|
/kernel/liteos_a/syscall/ |
H A D | misc_syscall.c | 194 int SysGetrusage(int what, struct rusage *ru) in SysGetrusage() argument 201 ret = LOS_ArchCopyFromUser(&kru, ru, sizeof(struct rusage)); in SysGetrusage() 227 ret = LOS_ArchCopyToUser(ru, &kru, sizeof(struct rusage)); in SysGetrusage()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | exit.c | 1659 int options, struct rusage *ru) in kernel_waitid() 1712 wo.wo_rusage = ru; in kernel_waitid() 1725 infop, int, options, struct rusage __user *, ru) in SYSCALL_DEFINE5() 1729 long err = kernel_waitid(which, upid, &info, options, ru ? &r : NULL); in SYSCALL_DEFINE5() 1735 if (ru && copy_to_user(ru, &r, sizeof(struct rusage))) in SYSCALL_DEFINE5() 1758 struct rusage *ru) in kernel_wait4() 1791 wo.wo_rusage = ru; in kernel_wait4() 1817 int, options, struct rusage __user *, ru) in SYSCALL_DEFINE4() 1820 long err = kernel_wait4(upid, stat_addr, options, ru in SYSCALL_DEFINE4() 1658 kernel_waitid(int which, pid_t upid, struct waitid_info *infop, int options, struct rusage *ru) kernel_waitid() argument 1757 kernel_wait4(pid_t upid, int __user *stat_addr, int options, struct rusage *ru) kernel_wait4() argument 1863 struct rusage ru; COMPAT_SYSCALL_DEFINE5() local [all...] |
H A D | compat.c | 83 int put_compat_rusage(const struct rusage *r, struct compat_rusage __user *ru) in put_compat_rusage() argument 105 if (copy_to_user(ru, &r32, sizeof(r32))) in put_compat_rusage()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | init.c | 359 int ru, nss, max_nss = 1, max_ru = 3; in mt7915_gen_ppe_thresh() local 369 for (ru = 0; ru < max_ru; ru++) { in mt7915_gen_ppe_thresh() 373 if (!(ru_bit_mask & BIT(ru))) in mt7915_gen_ppe_thresh() 376 val = (ppet16_ppet8_ru3_ru0[nss] >> (ru * 6)) & in mt7915_gen_ppe_thresh()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | resource.h | 10 void getrusage(struct task_struct *p, int who, struct rusage *ru);
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | resource.h | 10 void getrusage(struct task_struct *p, int who, struct rusage *ru);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_tv.c | 61 u16 ru, gu, bu, au; member 125 * 11 bit fields (ry, by, ru, gu, gv) 189 .ru = 0x0733, .gu = 0x052d, .bu = 0x05c7, .au = 0x0200, 199 .ru = 0x076a, .gu = 0x0564, .bu = 0x030d, .au = 0x0200, 209 .ru = 0x074c, .gu = 0x0546, .bu = 0x05ec, .au = 0x0200, 219 .ru = 0x0788, .gu = 0x0581, .bu = 0x0322, .au = 0x0200, 229 .ru = 0x0745, .gu = 0x053f, .bu = 0x05e1, .au = 0x0200, 239 .ru = 0x0780, .gu = 0x0579, .bu = 0x031c, .au = 0x0200, 249 .ru = 0x0733, .gu = 0x052d, .bu = 0x05c7, .au = 0x0200, 259 .ru [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_tv.c | 68 u16 ru, gu, bu, au; member 132 * 11 bit fields (ry, by, ru, gu, gv) 196 .ru = 0x0733, .gu = 0x052d, .bu = 0x05c7, .au = 0x0200, 206 .ru = 0x076a, .gu = 0x0564, .bu = 0x030d, .au = 0x0200, 216 .ru = 0x074c, .gu = 0x0546, .bu = 0x05ec, .au = 0x0200, 226 .ru = 0x0788, .gu = 0x0581, .bu = 0x0322, .au = 0x0200, 236 .ru = 0x0745, .gu = 0x053f, .bu = 0x05e1, .au = 0x0200, 246 .ru = 0x0780, .gu = 0x0579, .bu = 0x031c, .au = 0x0200, 256 .ru = 0x0733, .gu = 0x052d, .bu = 0x05c7, .au = 0x0200, 266 .ru [all...] |
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/ |
H A D | aic94xx_tmf.c | 270 struct ssp_response_iu *ru; in asd_get_tmf_resp_tasklet() local 288 ru = edb->vaddr + 16 + sizeof(*fh); in asd_get_tmf_resp_tasklet() 289 res = ru->status; in asd_get_tmf_resp_tasklet() 290 if (ru->datapres == 1) /* Response data present */ in asd_get_tmf_resp_tasklet() 291 res = ru->resp_data[3]; in asd_get_tmf_resp_tasklet()
|
/kernel/linux/linux-6.6/drivers/scsi/aic94xx/ |
H A D | aic94xx_tmf.c | 270 struct ssp_response_iu *ru; in asd_get_tmf_resp_tasklet() local 288 ru = edb->vaddr + 16 + sizeof(*fh); in asd_get_tmf_resp_tasklet() 289 res = ru->status; in asd_get_tmf_resp_tasklet() 290 if (ru->datapres == SAS_DATAPRES_RESPONSE_DATA) in asd_get_tmf_resp_tasklet() 291 res = ru->resp_data[3]; in asd_get_tmf_resp_tasklet()
|
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/ |
H A D | pidfd_wait.c | 35 struct rusage *ru) in sys_waitid() 37 return syscall(__NR_waitid, which, pid, info, options, ru); in sys_waitid() 34 sys_waitid(int which, pid_t pid, siginfo_t *info, int options, struct rusage *ru) sys_waitid() argument
|
/kernel/linux/linux-6.6/tools/testing/selftests/pidfd/ |
H A D | pidfd_wait.c | 35 struct rusage *ru) in sys_waitid() 37 return syscall(__NR_waitid, which, pid, info, options, ru); in sys_waitid() 34 sys_waitid(int which, pid_t pid, siginfo_t *info, int options, struct rusage *ru) sys_waitid() argument
|
/kernel/linux/linux-5.10/tools/testing/selftests/kexec/ |
H A D | kexec_common_lib.sh | 121 if [ $(id -ru) -ne 0 ]; then
|
/kernel/linux/linux-6.6/tools/testing/selftests/kexec/ |
H A D | kexec_common_lib.sh | 115 if [ $(id -ru) -ne 0 ]; then
|