/linux-master/fs/ |
H A D | utimes.c | 20 int vfs_utimes(const struct path *path, struct timespec64 *times) argument 27 if (times) { 28 if (!nsec_valid(times[0].tv_nsec) || 29 !nsec_valid(times[1].tv_nsec)) 31 if (times[0].tv_nsec == UTIME_NOW && 32 times[1].tv_nsec == UTIME_NOW) 33 times = NULL; 41 if (times) { 42 if (times[0].tv_nsec == UTIME_OMIT) 44 else if (times[ 80 do_utimes_path(int dfd, const char __user *filename, struct timespec64 *times, int flags) argument 109 do_utimes_fd(int fd, struct timespec64 *times, int flags) argument 140 do_utimes(int dfd, const char __user *filename, struct timespec64 *times, int flags) argument 177 struct __kernel_old_timeval times[2]; local [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | xdping.h | 12 __u64 times[XDPING_MAX_COUNT]; member in struct:pinginfo
|
H A D | xdping.c | 53 if (pinginfo.times[i] == 0) 60 (double)pinginfo.times[i]/1000000);
|
/linux-master/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) { \
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | selftest_engine_heartbeat.c | 209 u32 times[5]; local 223 for (i = 0; i < ARRAY_SIZE(times); i++) { 252 times[i] = ktime_us_delta(t1, t0); 255 sort(times, ARRAY_SIZE(times), sizeof(times[0]), cmp_u32, NULL); 259 times[ARRAY_SIZE(times) / 2], 260 times[0], 261 times[ARRAY_SIZ [all...] |
/linux-master/fs/hostfs/ |
H A D | hostfs_user.c | 198 struct timeval times[2]; local 236 * times according to the changes to perform, and then call futimes() 245 times[0].tv_sec = st.atime.tv_sec; 246 times[0].tv_usec = st.atime.tv_nsec / 1000; 247 times[1].tv_sec = st.mtime.tv_sec; 248 times[1].tv_usec = st.mtime.tv_nsec / 1000; 251 times[0].tv_sec = attrs->ia_atime.tv_sec; 252 times[0].tv_usec = attrs->ia_atime.tv_nsec / 1000; 255 times[1].tv_sec = attrs->ia_mtime.tv_sec; 256 times[ [all...] |
/linux-master/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:
|
/linux-master/include/linux/ |
H A D | fault-inject.h | 20 atomic_t times; member in struct:fault_attr 41 .times = ATOMIC_INIT(1), \
|
H A D | time.h | 30 extern long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, int flags); 72 * time_after32 - compare two 32-bit relative times 80 * times. This is useful for comparing 32-bit seconds values that can't 82 * issues) when it is known that the times are less than 68 years apart.
|
H A D | psi_types.h | 97 u32 times[NR_PSI_STATES]; member in struct:psi_group_cpu 184 /* Total stall times and sampled pressure averages */ 204 /* Total stall times at the start of RT polling monitor activation */
|
/linux-master/lib/ |
H A D | fault-inject.c | 22 int times; local 25 /* "<interval>,<probability>,<space>,<times>" */ 27 &interval, &probability, &space, ×) < 4) { 35 atomic_set(&attr->times, times); 47 "space %d, times %d\n", attr->dname, 50 atomic_read(&attr->times)); 131 if (atomic_read(&attr->times) == 0) 155 if (atomic_read(&attr->times) != -1) 156 atomic_dec_not_zero(&attr->times); [all...] |
/linux-master/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) argument 217 if (!times[i]) 219 *mean_time += times[i]; 220 *events_mean += events_from_time(times[i]); 231 double events_i = *events_mean - events_from_time(times[i]);
|
/linux-master/drivers/iio/ |
H A D | industrialio-gts-helper.c | 200 * the times are in the order of preference and greater times are 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; local 357 times = kcalloc(gts->num_itime, sizeof(int), GFP_KERNEL); 358 if (!times) 361 /* Sort times from all tables to one and remove duplicates */ 365 if (times[id [all...] |
/linux-master/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, 263 memcpy(times, groupc->times, sizeof(groupc->times)); 283 times[s] += now - state_start; 285 delta = times[s] - groupc->times_prev[aggregator][s]; 286 groupc->times_prev[aggregator][s] = times[s]; 288 times[ 245 get_recent_times(struct psi_group *group, int cpu, enum psi_aggregators aggregator, u32 *times, u32 *pchanged_states) argument 355 u32 times[NR_PSI_STATES]; local [all...] |
H A D | cputime.c | 312 void thread_group_cputime(struct task_struct *tsk, struct task_cputime *times) argument 325 * those pending times and rely only on values updated on tick or 337 times->utime = sig->utime; 338 times->stime = sig->stime; 339 times->sum_exec_runtime = sig->sum_sched_runtime; 343 times->utime += utime; 344 times->stime += stime; 345 times->sum_exec_runtime += read_sum_exec_runtime(t);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | xdping_kern.c | 122 if (pinginfo->times[i] == 0) 127 pinginfo->times[i] = recvtime -
|
/linux-master/fs/isofs/ |
H A D | rock.h | 74 struct stamp times[]; /* Variable number of these beasts */ member in struct:RR_TF_s
|
/linux-master/include/linux/sched/ |
H A D | cputime.h | 55 void thread_group_cputime(struct task_struct *tsk, struct task_cputime *times);
|
/linux-master/Documentation/driver-api/media/drivers/ccs/ |
H A D | mk-ccs-regs | 340 my $times = $h->{$arg}->{elsize} != 1 ? 346 $reg_formula .= " + (($arg) < $lim ? ($arg)$times : $offset + (($arg) - $lim)$times)"; 348 $reg_formula .= " + ($arg)$times"; 351 $lim_formula .= (defined $lim_formula ? " + " : "") . "($arg)$times";
|
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_hal.c | 126 int times = MAX_RETRY_TIMES; local 131 while ((int)cycles > elapsed_cycles && times--) { 146 if (times < 0) { 383 int times = MAX_RETRY_TIMES; local 392 } while (times-- && (cur_cnt == base_cnt)); 394 if (times < 0) { 448 int times = 30; local 464 } while (!(csr_val & ESRAM_AUTO_TINIT_DONE) && times--); 465 if (times < 0) { 480 unsigned int times local 626 int times = MAX_RETRY_TIMES; local [all...] |
/linux-master/tools/perf/util/ |
H A D | evlist.c | 2255 * @times: time ranges that events are enabled (N.B. this is also accessed as an 2260 * @times_step: current position in (int *)@times)[], 2268 struct event_enable_time *times; member in struct:event_enable_timer 2314 eet->times = calloc(times_cnt, sizeof(*eet->times)); 2315 if (!eet->times) { 2320 if (parse_event_enable_times(str, eet->times) != times_cnt) { 2342 opts->target.initial_delay = eet->times[0].start; 2349 zfree(&eet->times); 2377 ms = eet->times[ 2416 int *times = (int *)eet->times; /* Accessing 'times' as array of int */ local [all...] |
/linux-master/drivers/crypto/nx/ |
H A D | nx-common-pseries.c | 152 static void ibm_nx842_incr_hist(atomic64_t *times, unsigned int time) argument 159 atomic64_inc(×[bucket]); 917 atomic64_t *times; local 930 times = local_devdata->counters->comp_times; 932 times = local_devdata->counters->decomp_times; 941 atomic64_read(×[i])); 949 atomic64_read(×[(NX842_HIST_SLOTS - 1)]));
|
/linux-master/drivers/net/ethernet/mellanox/mlxfw/ |
H A D | mlxfw_fsm.c | 90 int times; local 93 times = MLXFW_FSM_STATE_WAIT_ROUNDS; 106 if (--times == 0) {
|
/linux-master/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_context.c | 76 ktime_t times[2] = {}; local 78 times[0] = ktime_get_raw(); 103 times[1] = ktime_get_raw(); 106 nctx, engine->name, ktime_to_ns(times[1] - times[0])); 114 times[1] = ktime_get_raw(); 158 times[1] = ktime_sub(ktime_get_raw(), times[1]); 160 times[0] = times[ [all...] |
/linux-master/net/bridge/ |
H A D | br_stp_timer.c | 11 #include <linux/times.h>
|