Searched refs:secs (Results 1 - 25 of 110) sorted by path

12345

/linux-master/arch/sh/boards/mach-dreamcast/
H A Drtc.c64 time64_t secs = rtc_tm_to_time64(tm); local
65 u32 adj = secs + TWENTY_YEARS;
/linux-master/crypto/asymmetric_keys/
H A Dverify_pefile.h20 const struct section_header *secs; member in struct:pefile_context
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp.h74 int nfp_resource_wait(struct nfp_cpp *cpp, const char *name, unsigned int secs);
/linux-master/drivers/watchdog/
H A Domap_wdt.h29 #define TIMER_MARGIN_DEFAULT 60 /* 60 secs */
33 #define GET_WLDR_VAL(secs) (0xffffffff - ((secs) * (32768/(1<<PTV))) + 1)
/linux-master/fs/hpfs/
H A Danode.c399 void hpfs_truncate_btree(struct super_block *s, secno f, int fno, unsigned secs) argument
415 if (!secs) {
430 if (le32_to_cpu(btree->u.internal[i].file_secno) >= secs) goto f;
441 if (btree->u.internal[i].file_secno == cpu_to_le32(secs)) {
455 if (le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) >= secs) goto ff;
459 if (secs <= le32_to_cpu(btree->u.external[i].file_secno)) {
460 hpfs_error(s, "there is an allocation error in file %08x, sector %08x", f, secs);
463 else if (le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > secs) {
464 hpfs_free_sectors(s, le32_to_cpu(btree->u.external[i].disk_secno) + secs -
466 - secs
[all...]
/linux-master/include/trace/events/
H A Drtc.h12 TP_PROTO(time64_t secs, int err),
14 TP_ARGS(secs, err),
17 __field(time64_t, secs)
22 __entry->secs = secs;
27 __entry->secs, __entry->err
33 TP_PROTO(time64_t secs, int err),
35 TP_ARGS(secs, err)
40 TP_PROTO(time64_t secs, int err),
42 TP_ARGS(secs, er
[all...]
/linux-master/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
H A DUtil.pm34 my ($secs, $nsecs) = @_;
36 return $secs * $NSECS_PER_SEC + $nsecs;
/linux-master/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DCore.py106 self.secs = common_secs
113 return (self.secs * (10 ** 9)) + self.nsecs
116 return "%d.%d" % (self.secs, int(self.nsecs / 1000))
/linux-master/tools/perf/scripts/python/
H A Dcheck-perf-trace.py60 def print_header(event_name, cpu, secs, nsecs, pid, comm):
62 (event_name, cpu, secs, nsecs, pid, comm),
/linux-master/arch/arm/xen/
H A Denlighten.c122 op.u.settime64.secs = now.tv_sec;
/linux-master/arch/mips/boot/tools/
H A Drelocs.c32 static struct section *secs; variable in typeref:struct:section
96 sec_strtab = secs[ehdr.e_shstrndx].strtab;
98 name = sec_strtab + secs[shndx].shdr.sh_name;
114 return &secs[i];
265 secs = calloc(ehdr.e_shnum, sizeof(struct section));
266 if (!secs)
273 struct section *sec = &secs[i];
290 sec->link = &secs[sec->shdr.sh_link];
299 struct section *sec = &secs[i];
324 struct section *sec = &secs[
[all...]
/linux-master/arch/mips/mti-malta/
H A Dmalta-time.c66 int secs; local
106 secs = secs2 - secs1;
107 if (secs < 1)
108 secs += 60;
111 count /= secs;
115 giccount = div_u64(giccount - gicstart, secs);
/linux-master/arch/parisc/kernel/
H A Dtime.c181 time64_t secs = rtc_tm_to_time64(tm); local
185 ret = pdc_tod_set(secs, 0);
187 pr_warn("pdc_tod_set(%lld) returned error %d\n", secs, ret);
/linux-master/arch/s390/tools/
H A Drelocs.c60 static struct section *secs; variable in typeref:struct:section
187 secs = calloc(shnum, sizeof(struct section));
188 if (!secs)
195 struct section *sec = &secs[i];
214 sec->link = &secs[sec->shdr.sh_link];
224 struct section *sec = &secs[i];
301 struct section *sec = &secs[i];
306 sec_applies = &secs[sec->shdr.sh_info];
/linux-master/arch/um/drivers/
H A Drtc_kern.c54 unsigned long long secs; local
61 secs = uml_rtc_alarm_time - ktime_get_real_seconds();
70 return uml_rtc_enable_alarm(secs);
76 secs * NSEC_PER_SEC);
/linux-master/arch/x86/include/asm/
H A Dsgx.h244 * @secs: address of the SECS page
250 u64 secs; member in struct:sgx_pageinfo
414 int sgx_virt_ecreate(struct sgx_pageinfo *pageinfo, void __user *secs,
417 void __user *secs, u64 *lepubkeyhash, int *trapnr);
/linux-master/arch/x86/kernel/cpu/sgx/
H A Dencl.c168 pginfo.secs = (u64)sgx_get_epc_virt_addr(secs_page);
170 pginfo.secs = 0;
245 struct sgx_epc_page *epc_page = encl->secs.epc_page;
248 epc_page = sgx_encl_eldu(&encl->secs, NULL);
270 epc_page = sgx_encl_eldu(entry, encl->secs.epc_page);
388 pginfo.secs = (unsigned long)sgx_get_epc_virt_addr(encl->secs.epc_page);
743 if (!encl->secs_child_cnt && encl->secs.epc_page) {
744 sgx_encl_free_epc_page(encl->secs.epc_page);
745 encl->secs
[all...]
H A Dencl.h59 struct sgx_encl_page secs; member in struct:sgx_encl
H A Dencls.h140 static inline int __ecreate(struct sgx_pageinfo *pginfo, void *secs) argument
142 return __encls_2(ECREATE, pginfo, secs);
146 static inline int __eextend(void *secs, void *addr) argument
148 return __encls_2(EEXTEND, secs, addr);
161 static inline int __einit(void *sigstruct, void *token, void *secs) argument
163 return __encls_ret_3(EINIT, sigstruct, secs, token);
H A Dioctl.c57 static int sgx_encl_create(struct sgx_encl *encl, struct sgx_secs *secs) argument
75 encl_size = secs->size + PAGE_SIZE;
86 secs_epc = sgx_alloc_epc_page(&encl->secs, true);
92 encl->secs.epc_page = secs_epc;
95 pginfo.contents = (unsigned long)secs;
97 pginfo.secs = 0;
106 if (secs->attributes & SGX_ATTR_DEBUG)
109 encl->secs.encl = encl;
110 encl->secs.type = SGX_PAGE_TYPE_SECS;
111 encl->base = secs
150 void *secs; local
[all...]
H A Dmain.c166 pginfo.secs = 0;
218 ret = __etrack(sgx_get_epc_virt_addr(encl->secs.epc_page));
271 sgx_encl_ewb(encl->secs.epc_page, &secs_backing);
273 sgx_encl_free_epc_page(encl->secs.epc_page);
274 encl->secs.epc_page = NULL;
H A Dvirt.c323 * @secs: Userspace pointer to SECS page
334 int sgx_virt_ecreate(struct sgx_pageinfo *pageinfo, void __user *secs, argument
340 * @secs is an untrusted, userspace-provided address. It comes from
343 * userspace mapping @secs doesn't exist.
345 * Add a WARN() to make sure @secs is already valid userspace pointer
348 * such as alignment of @secs, are deferred to ENCLS itself.
350 if (WARN_ON_ONCE(!access_ok(secs, PAGE_SIZE)))
354 ret = __ecreate(pageinfo, (void *)secs);
369 void __user *secs)
376 * for @secs i
368 __sgx_virt_einit(void __user *sigstruct, void __user *token, void __user *secs) argument
408 sgx_virt_einit(void __user *sigstruct, void __user *token, void __user *secs, u64 *lepubkeyhash, int *trapnr) argument
[all...]
/linux-master/arch/x86/tools/
H A Drelocs.c46 static struct section *secs; variable in typeref:struct:section
257 sec_strtab = secs[shstrndx].strtab;
260 name = sec_strtab + secs[shndx].shdr.sh_name;
288 struct section *sec = &secs[i];
351 Elf_Sym *symtab = secs[shsymtabndx].symtab;
352 Elf32_Word *xsymtab = secs[shxsymtabndx].xsymtab;
441 secs = calloc(shnum, sizeof(struct section));
442 if (!secs) {
451 struct section *sec = &secs[i];
466 sec->link = &secs[se
[all...]
/linux-master/arch/x86/um/vdso/
H A Dum_vdso.c46 long secs; local
49 : "=a" (secs)
52 return secs;
/linux-master/arch/x86/xen/
H A Dtime.c123 op.u.settime64.secs = now.tv_sec;
128 op.u.settime32.secs = now.tv_sec;

Completed in 315 milliseconds

12345