/kernel/linux/linux-5.10/fs/ |
H A D | utimes.c | 19 int vfs_utimes(const struct path *path, struct timespec64 *times) in vfs_utimes() argument 26 if (times) { in vfs_utimes() 27 if (!nsec_valid(times[0].tv_nsec) || in vfs_utimes() 28 !nsec_valid(times[1].tv_nsec)) in vfs_utimes() 30 if (times[0].tv_nsec == UTIME_NOW && in vfs_utimes() 31 times[1].tv_nsec == UTIME_NOW) in vfs_utimes() 32 times = NULL; in vfs_utimes() 40 if (times) { in vfs_utimes() 41 if (times[0].tv_nsec == UTIME_OMIT) in vfs_utimes() 43 else if (times[ in vfs_utimes() 78 do_utimes_path(int dfd, const char __user *filename, struct timespec64 *times, int flags) do_utimes_path() argument 107 do_utimes_fd(int fd, struct timespec64 *times, int flags) do_utimes_fd() argument 138 do_utimes(int dfd, const char __user *filename, struct timespec64 *times, int flags) do_utimes() argument 175 struct __kernel_old_timeval times[2]; do_futimesat() local [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | utimes.c | 20 int vfs_utimes(const struct path *path, struct timespec64 *times) in vfs_utimes() argument 27 if (times) { in vfs_utimes() 28 if (!nsec_valid(times[0].tv_nsec) || in vfs_utimes() 29 !nsec_valid(times[1].tv_nsec)) in vfs_utimes() 31 if (times[0].tv_nsec == UTIME_NOW && in vfs_utimes() 32 times[1].tv_nsec == UTIME_NOW) in vfs_utimes() 33 times = NULL; in vfs_utimes() 41 if (times) { in vfs_utimes() 42 if (times[0].tv_nsec == UTIME_OMIT) in vfs_utimes() 44 else if (times[ in vfs_utimes() 80 do_utimes_path(int dfd, const char __user *filename, struct timespec64 *times, int flags) do_utimes_path() argument 109 do_utimes_fd(int fd, struct timespec64 *times, int flags) do_utimes_fd() argument 140 do_utimes(int dfd, const char __user *filename, struct timespec64 *times, int flags) do_utimes() argument 177 struct __kernel_old_timeval times[2]; do_futimesat() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | selftest_engine_heartbeat.c | 203 u32 times[5]; in __live_heartbeat_fast() local 217 for (i = 0; i < ARRAY_SIZE(times); i++) { in __live_heartbeat_fast() 245 times[i] = ktime_us_delta(t1, t0); in __live_heartbeat_fast() 248 sort(times, ARRAY_SIZE(times), sizeof(times[0]), cmp_u32, NULL); in __live_heartbeat_fast() 252 times[ARRAY_SIZE(times) / 2], in __live_heartbeat_fast() 253 times[0], in __live_heartbeat_fast() 254 times[ARRAY_SIZ in __live_heartbeat_fast() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | selftest_engine_heartbeat.c | 209 u32 times[5]; in __live_heartbeat_fast() local 223 for (i = 0; i < ARRAY_SIZE(times); i++) { in __live_heartbeat_fast() 252 times[i] = ktime_us_delta(t1, t0); in __live_heartbeat_fast() 255 sort(times, ARRAY_SIZE(times), sizeof(times[0]), cmp_u32, NULL); in __live_heartbeat_fast() 259 times[ARRAY_SIZE(times) / 2], in __live_heartbeat_fast() 260 times[0], in __live_heartbeat_fast() 261 times[ARRAY_SIZ in __live_heartbeat_fast() [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | fault-inject.c | 22 int times; in setup_fault_attr() local 25 /* "<interval>,<probability>,<space>,<times>" */ in setup_fault_attr() 27 &interval, &probability, &space, ×) < 4) { in setup_fault_attr() 35 atomic_set(&attr->times, times); in setup_fault_attr() 47 "space %d, times %d\n", attr->dname, in fail_dump() 50 atomic_read(&attr->times)); in fail_dump() 125 if (atomic_read(&attr->times) == 0) in should_fail() 148 if (atomic_read(&attr->times) != -1) in should_fail() 149 atomic_dec_not_zero(&attr->times); in should_fail() [all...] |
/kernel/liteos_m/kernel/src/ |
H A D | los_swtmr.c | 52 UINT32 times : 24;
member 185 if ((swtmrAlgInfo.canMultiple != 1) || (alignListNode.times == 0)) {
in OsSwtmrFindAlignPos() 189 if (swtmrAlgInfo.times == 0) {
in OsSwtmrFindAlignPos() 193 if ((alignListNode.times >= swtmrAlgInfo.times) && ((alignListNode.times % swtmrAlgInfo.times) == 0)) {
in OsSwtmrFindAlignPos() 194 if (minInLargeVal > (alignListNode.times / swtmrAlgInfo.times)) {
in OsSwtmrFindAlignPos() 195 minInLargeVal = alignListNode.times / swtmrAlgInf in OsSwtmrFindAlignPos() [all...] |
/kernel/linux/linux-5.10/fs/hostfs/ |
H A D | hostfs_user.c | 197 struct timeval times[2]; in set_attr() local 235 * times according to the changes to perform, and then call futimes() in set_attr() 244 times[0].tv_sec = st.atime.tv_sec; in set_attr() 245 times[0].tv_usec = st.atime.tv_nsec / 1000; in set_attr() 246 times[1].tv_sec = st.mtime.tv_sec; in set_attr() 247 times[1].tv_usec = st.mtime.tv_nsec / 1000; in set_attr() 250 times[0].tv_sec = attrs->ia_atime.tv_sec; in set_attr() 251 times[0].tv_usec = attrs->ia_atime.tv_nsec / 1000; in set_attr() 254 times[1].tv_sec = attrs->ia_mtime.tv_sec; in set_attr() 255 times[ in set_attr() [all...] |
/kernel/linux/linux-6.6/fs/hostfs/ |
H A D | hostfs_user.c | 198 struct timeval times[2]; in set_attr() local 236 * times according to the changes to perform, and then call futimes() in set_attr() 245 times[0].tv_sec = st.atime.tv_sec; in set_attr() 246 times[0].tv_usec = st.atime.tv_nsec / 1000; in set_attr() 247 times[1].tv_sec = st.mtime.tv_sec; in set_attr() 248 times[1].tv_usec = st.mtime.tv_nsec / 1000; in set_attr() 251 times[0].tv_sec = attrs->ia_atime.tv_sec; in set_attr() 252 times[0].tv_usec = attrs->ia_atime.tv_nsec / 1000; in set_attr() 255 times[1].tv_sec = attrs->ia_mtime.tv_sec; in set_attr() 256 times[ in set_attr() [all...] |
/kernel/liteos_m/testsuites/unittest/posix/src/fs/pressure/ |
H A D | posix_fs_pressure_test.c | 60 for (int32_t times = 0; times < PRESSURE_RUN_TIMES; times++) { 105 for (int32_t times = 0; times < PRESSURE_RUN_TIMES; times++) { 160 for (int32_t times = 0; times < PRESSURE_RUN_TIMES003; times++) {
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
H A D | unroll.h | 16 #define unroll(times, fn, ...) do { \ 28 BUILD_BUG_ON(!__builtin_constant_p(times)); \ 30 switch (times) { \
|
/kernel/linux/linux-6.6/arch/mips/include/asm/ |
H A D | unroll.h | 16 #define unroll(times, fn, ...) do { \ 28 BUILD_BUG_ON(!__builtin_constant_p(times)); \ 30 switch (times) { \
|
/kernel/linux/linux-6.6/lib/ |
H A D | fault-inject.c | 22 int times; in setup_fault_attr() local 25 /* "<interval>,<probability>,<space>,<times>" */ in setup_fault_attr() 27 &interval, &probability, &space, ×) < 4) { in setup_fault_attr() 35 atomic_set(&attr->times, times); in setup_fault_attr() 47 "space %d, times %d\n", attr->dname, in fail_dump() 50 atomic_read(&attr->times)); in fail_dump() 131 if (atomic_read(&attr->times) == 0) in should_fail_ex() 155 if (atomic_read(&attr->times) != -1) in should_fail_ex() 156 atomic_dec_not_zero(&attr->times); in should_fail_ex() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/benchs/ |
H A D | bench_bpf_hashmap_lookup.c | 208 static int compute_events(u64 *times, double *events_mean, double *events_stddev, u64 *mean_time) in compute_events() argument 217 if (!times[i]) in compute_events() 219 *mean_time += times[i]; in compute_events() 220 *events_mean += events_from_time(times[i]); in compute_events() 231 double events_i = *events_mean - events_from_time(times[i]); in compute_events()
|
/kernel/liteos_a/testsuites/unittest/fuzz/ |
H A D | times_fuzzer.cpp | 33 #include <sys/times.h> 44 times((struct tms *)datainput); in TestTimes()
|
/kernel/linux/linux-6.6/kernel/sched/ |
H A D | psi.c | 71 * times. However, that is clearly not the amount of contention the 117 * the cumulative stall times and the running averages. 246 enum psi_aggregators aggregator, u32 *times, in get_recent_times() 263 memcpy(times, groupc->times, sizeof(groupc->times)); in get_recent_times() 283 times[s] += now - state_start; in get_recent_times() 285 delta = times[s] - groupc->times_prev[aggregator][s]; in get_recent_times() 286 groupc->times_prev[aggregator][s] = times[s]; in get_recent_times() 288 times[ in get_recent_times() 245 get_recent_times(struct psi_group *group, int cpu, enum psi_aggregators aggregator, u32 *times, u32 *pchanged_states) get_recent_times() argument 355 u32 times[NR_PSI_STATES]; collect_percpu_times() local [all...] |
/kernel/linux/linux-6.6/drivers/iio/ |
H A D | industrialio-gts-helper.c | 200 * the times are in the order of preference and greater times are in gain_to_scaletables() 269 * supported gains and times can provide. 339 * iio_gts_build_avail_time_table - build table of available integration times 342 * Build the table which can represent the available times to be returned 352 int *times, i, j, idx = 0, *int_micro_times; in iio_gts_build_avail_time_table() local 357 times = kcalloc(gts->num_itime, sizeof(int), GFP_KERNEL); in iio_gts_build_avail_time_table() 358 if (!times) in iio_gts_build_avail_time_table() 361 /* Sort times from all tables to one and remove duplicates */ in iio_gts_build_avail_time_table() 365 if (times[id in iio_gts_build_avail_time_table() [all...] |
/kernel/linux/linux-5.10/kernel/sched/ |
H A D | psi.c | 61 * times. However, that is clearly not the amount of contention the 107 * the cumulative stall times and the running averages. 241 enum psi_aggregators aggregator, u32 *times, in get_recent_times() 256 memcpy(times, groupc->times, sizeof(groupc->times)); in get_recent_times() 274 times[s] += now - state_start; in get_recent_times() 276 delta = times[s] - groupc->times_prev[aggregator][s]; in get_recent_times() 277 groupc->times_prev[aggregator][s] = times[s]; in get_recent_times() 279 times[ in get_recent_times() 240 get_recent_times(struct psi_group *group, int cpu, enum psi_aggregators aggregator, u32 *times, u32 *pchanged_states) get_recent_times() argument 324 u32 times[NR_PSI_STATES]; collect_percpu_times() local [all...] |
/kernel/linux/linux-5.10/tools/perf/scripts/python/ |
H A D | stat-cpi.py | 6 times = [] variable 14 if (time not in times): 15 times.append(time) 70 # for time in times:
|
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | stat-cpi.py | 6 times = [] variable 14 if (time not in times): 15 times.append(time) 70 # for time in times:
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | fault-inject.h | 19 atomic_t times; member 36 .times = ATOMIC_INIT(1), \
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | fault-inject.h | 20 atomic_t times; member 41 .times = ATOMIC_INIT(1), \
|
/kernel/liteos_a/testsuites/unittest/libc/io/full/ |
H A D | It_stdlib_poll_002.cpp | 40 int times = 3; // 3, loop number for test. in Pthread01() local 51 while (times--) { in Pthread01()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | xdping.h | 12 __u64 times[XDPING_MAX_COUNT]; member
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | xdping.h | 12 __u64 times[XDPING_MAX_COUNT]; member
|
/kernel/liteos_a/testsuites/unittest/security/vid/ |
H A D | it_test_vid.h | 39 #include <sys/times.h>
|