Searched refs:times (Results 1 - 25 of 88) sorted by relevance

1234

/linux-master/fs/
H A Dutimes.c20 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 Dxdping.h12 __u64 times[XDPING_MAX_COUNT]; member in struct:pinginfo
H A Dxdping.c53 if (pinginfo.times[i] == 0)
60 (double)pinginfo.times[i]/1000000);
/linux-master/arch/mips/include/asm/
H A Dunroll.h16 #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 Dselftest_engine_heartbeat.c209 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 Dhostfs_user.c198 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 Dstat-cpi.py6 times = [] variable
14 if (time not in times):
15 times.append(time)
70 # for time in times:
/linux-master/include/linux/
H A Dfault-inject.h20 atomic_t times; member in struct:fault_attr
41 .times = ATOMIC_INIT(1), \
H A Dtime.h30 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 Dpsi_types.h97 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 Dfault-inject.c22 int times; local
25 /* "<interval>,<probability>,<space>,<times>" */
27 &interval, &probability, &space, &times) < 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 Dbench_bpf_hashmap_lookup.c208 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 Dindustrialio-gts-helper.c200 * 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 Dpsi.c71 * 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 Dcputime.c312 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 Dxdping_kern.c122 if (pinginfo->times[i] == 0)
127 pinginfo->times[i] = recvtime -
/linux-master/fs/isofs/
H A Drock.h74 struct stamp times[]; /* Variable number of these beasts */ member in struct:RR_TF_s
/linux-master/include/linux/sched/
H A Dcputime.h55 void thread_group_cputime(struct task_struct *tsk, struct task_cputime *times);
/linux-master/Documentation/driver-api/media/drivers/ccs/
H A Dmk-ccs-regs340 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 Dqat_hal.c126 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 Devlist.c2255 * @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 Dnx-common-pseries.c152 static void ibm_nx842_incr_hist(atomic64_t *times, unsigned int time) argument
159 atomic64_inc(&times[bucket]);
917 atomic64_t *times; local
930 times = local_devdata->counters->comp_times;
932 times = local_devdata->counters->decomp_times;
941 atomic64_read(&times[i]));
949 atomic64_read(&times[(NX842_HIST_SLOTS - 1)]));
/linux-master/drivers/net/ethernet/mellanox/mlxfw/
H A Dmlxfw_fsm.c90 int times; local
93 times = MLXFW_FSM_STATE_WAIT_ROUNDS;
106 if (--times == 0) {
/linux-master/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_context.c76 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 Dbr_stp_timer.c11 #include <linux/times.h>

Completed in 543 milliseconds

1234