Home
last modified time | relevance | path

Searched refs:sec (Results 1 – 25 of 94) sorted by relevance

1234

/linux-4.19.296/crypto/
Dtcrypt.c64 static unsigned int sec; variable
2033 test_cipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0, in do_test()
2035 test_cipher_speed("ecb(aes)", DECRYPT, sec, NULL, 0, in do_test()
2037 test_cipher_speed("cbc(aes)", ENCRYPT, sec, NULL, 0, in do_test()
2039 test_cipher_speed("cbc(aes)", DECRYPT, sec, NULL, 0, in do_test()
2041 test_cipher_speed("lrw(aes)", ENCRYPT, sec, NULL, 0, in do_test()
2043 test_cipher_speed("lrw(aes)", DECRYPT, sec, NULL, 0, in do_test()
2045 test_cipher_speed("xts(aes)", ENCRYPT, sec, NULL, 0, in do_test()
2047 test_cipher_speed("xts(aes)", DECRYPT, sec, NULL, 0, in do_test()
2049 test_cipher_speed("cts(cbc(aes))", ENCRYPT, sec, NULL, 0, in do_test()
[all …]
/linux-4.19.296/include/linux/
Dexport.h28 #define __CRC_SYMBOL(sym, sec) \ argument
29 asm(" .section \"___kcrctab" sec "+" #sym "\", \"a\" \n" \
34 #define __CRC_SYMBOL(sym, sec) \ argument
35 asm(" .section \"___kcrctab" sec "+" #sym "\", \"a\" \n" \
41 #define __CRC_SYMBOL(sym, sec) argument
52 #define __KSYMTAB_ENTRY(sym, sec) \ argument
54 asm(" .section \"___ksymtab" sec "+" #sym "\", \"a\" \n" \
66 #define __KSYMTAB_ENTRY(sym, sec) \ argument
68 __attribute__((section("___ksymtab" sec "+" #sym), used)) \
78 #define ___EXPORT_SYMBOL(sym, sec) \ argument
[all …]
Dpercpu-defs.h48 #define __PCPU_ATTRS(sec) \ argument
49 __percpu __attribute__((section(PER_CPU_BASE_SECTION sec))) \
85 #define DECLARE_PER_CPU_SECTION(type, name, sec) \ argument
87 extern __PCPU_ATTRS(sec) __typeof__(type) name
89 #define DEFINE_PER_CPU_SECTION(type, name, sec) \ argument
93 extern __PCPU_ATTRS(sec) __typeof__(type) name; \
94 __PCPU_ATTRS(sec) PER_CPU_DEF_ATTRIBUTES __weak \
100 #define DECLARE_PER_CPU_SECTION(type, name, sec) \ argument
101 extern __PCPU_ATTRS(sec) __typeof__(type) name
103 #define DEFINE_PER_CPU_SECTION(type, name, sec) \ argument
[all …]
/linux-4.19.296/fs/reiserfs/
Dxattr_security.c46 struct reiserfs_security_handle *sec) in reiserfs_security_init() argument
51 sec->name = NULL; in reiserfs_security_init()
52 sec->value = NULL; in reiserfs_security_init()
58 error = security_old_inode_init_security(inode, dir, qstr, &sec->name, in reiserfs_security_init()
59 &sec->value, &sec->length); in reiserfs_security_init()
64 sec->name = NULL; in reiserfs_security_init()
65 sec->value = NULL; in reiserfs_security_init()
66 sec->length = 0; in reiserfs_security_init()
70 if (sec->length && reiserfs_xattrs_initialized(inode->i_sb)) { in reiserfs_security_init()
72 reiserfs_xattr_nblocks(inode, sec->length); in reiserfs_security_init()
[all …]
Dxattr.h37 struct reiserfs_security_handle *sec);
40 struct reiserfs_security_handle *sec);
41 void reiserfs_security_free(struct reiserfs_security_handle *sec);
103 struct reiserfs_security_handle *sec) in reiserfs_security_init() argument
110 struct reiserfs_security_handle *sec) in reiserfs_security_write() argument
114 static inline void reiserfs_security_free(struct reiserfs_security_handle *sec) in reiserfs_security_free() argument
/linux-4.19.296/include/asm-generic/
Dexport.h34 .macro ___EXPORT_SYMBOL name,val,sec
37 .section ___ksymtab\sec+\name,"a"
47 .section ___kcrctab\sec+\name,"a"
64 #define __EXPORT_SYMBOL(sym, val, sec) === __KSYM_##sym === argument
71 #define __EXPORT_SYMBOL(sym, val, sec) \
72 __cond_export_sym(sym, val, sec, __is_defined(__KSYM_##sym))
73 #define __cond_export_sym(sym, val, sec, conf) \
74 ___cond_export_sym(sym, val, sec, conf)
75 #define ___cond_export_sym(sym, val, sec, enabled) \
76 __cond_export_sym_##enabled(sym, val, sec)
[all …]
/linux-4.19.296/fs/hpfs/
Dalloc.c12 static void hpfs_claim_alloc(struct super_block *s, secno sec) in hpfs_claim_alloc() argument
17 hpfs_error(s, "free count underflow, allocating sector %08x", sec); in hpfs_claim_alloc()
25 static void hpfs_claim_free(struct super_block *s, secno sec) in hpfs_claim_free() argument
30 hpfs_error(s, "free count overflow, freeing sector %08x", sec); in hpfs_claim_free()
38 static void hpfs_claim_dirband_alloc(struct super_block *s, secno sec) in hpfs_claim_dirband_alloc() argument
43 hpfs_error(s, "dirband free count underflow, allocating sector %08x", sec); in hpfs_claim_dirband_alloc()
51 static void hpfs_claim_dirband_free(struct super_block *s, secno sec) in hpfs_claim_dirband_free() argument
56 hpfs_error(s, "dirband free count overflow, freeing sector %08x", sec); in hpfs_claim_dirband_free()
69 static int chk_if_allocated(struct super_block *s, secno sec, char *msg) in chk_if_allocated() argument
73 if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "chk"))) goto fail; in chk_if_allocated()
[all …]
Danode.c15 struct bplus_header *btree, unsigned sec, in hpfs_bplus_lookup() argument
26 if (le32_to_cpu(btree->u.internal[i].file_secno) > sec) { in hpfs_bplus_lookup()
33 hpfs_error(s, "sector %08x not found in internal anode %08x", sec, a); in hpfs_bplus_lookup()
38 if (le32_to_cpu(btree->u.external[i].file_secno) <= sec && in hpfs_bplus_lookup()
39 … le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > sec) { in hpfs_bplus_lookup()
40 …a = le32_to_cpu(btree->u.external[i].disk_secno) + sec - le32_to_cpu(btree->u.external[i].file_sec… in hpfs_bplus_lookup()
54 hpfs_error(s, "sector %08x not found in external anode %08x", sec, a); in hpfs_bplus_lookup()
330 static secno anode_lookup(struct super_block *s, anode_secno a, unsigned sec) in anode_lookup() argument
335 return hpfs_bplus_lookup(s, NULL, &anode->btree, sec, bh); in anode_lookup()
343 secno sec; in hpfs_ea_read() local
[all …]
Dbuffer.c14 secno hpfs_search_hotfix_map(struct super_block *s, secno sec) in hpfs_search_hotfix_map() argument
19 if (sbi->hotfix_from[i] == sec) { in hpfs_search_hotfix_map()
23 return sec; in hpfs_search_hotfix_map()
26 unsigned hpfs_search_hotfix_map_for_range(struct super_block *s, secno sec, unsigned n) in hpfs_search_hotfix_map_for_range() argument
31 if (sbi->hotfix_from[i] >= sec && sbi->hotfix_from[i] < sec + n) { in hpfs_search_hotfix_map_for_range()
32 n = sbi->hotfix_from[i] - sec; in hpfs_search_hotfix_map_for_range()
/linux-4.19.296/drivers/media/dvb-core/
Ddvb_demux.c100 return (f->feed.sec.crc_val = crc32_be(f->feed.sec.crc_val, src, len)); in dvb_dmx_crc32()
151 u8 xor = f->filter.filter_value[i] ^ feed->feed.sec.secbuf[i]; in dvb_dmx_swfilter_sectionfilter()
162 return feed->cb.sec(feed->feed.sec.secbuf, feed->feed.sec.seclen, in dvb_dmx_swfilter_sectionfilter()
170 struct dmx_section_feed *sec = &feed->feed.sec; in dvb_dmx_swfilter_section_feed() local
173 if (!sec->is_filtering) in dvb_dmx_swfilter_section_feed()
179 if (sec->check_crc) { in dvb_dmx_swfilter_section_feed()
180 section_syntax_indicator = ((sec->secbuf[1] & 0x80) != 0); in dvb_dmx_swfilter_section_feed()
182 demux->check_crc32(feed, sec->secbuf, sec->seclen)) { in dvb_dmx_swfilter_section_feed()
191 } while ((f = f->next) && sec->is_filtering); in dvb_dmx_swfilter_section_feed()
193 sec->seclen = 0; in dvb_dmx_swfilter_section_feed()
[all …]
Ddmxdev.c376 struct dmx_sct_filter_params *para = &dmxdevfilter->params.sec; in dvb_dmxdev_filter_timer()
424 if (dmxdevfilter->params.sec.flags & DMX_ONESHOT) in dvb_dmxdev_section_callback()
496 dmxdevfilter->feed.sec->stop_filtering(dmxdevfilter->feed.sec); in dvb_dmxdev_feed_stop()
518 return filter->feed.sec->start_filtering(filter->feed.sec); in dvb_dmxdev_feed_start()
541 u16 pid = filter->params.sec.pid; in dvb_dmxdev_feed_restart()
546 dmxdev->filter[i].params.sec.pid == pid) { in dvb_dmxdev_feed_restart()
552 filter->feed.sec); in dvb_dmxdev_feed_restart()
567 if (!dmxdevfilter->feed.sec) in dvb_dmxdev_filter_stop()
570 if (dmxdevfilter->filter.sec) in dvb_dmxdev_filter_stop()
571 dmxdevfilter->feed.sec-> in dvb_dmxdev_filter_stop()
[all …]
/linux-4.19.296/drivers/rtc/
Drtc-tegra.c114 unsigned long sec, msec; in tegra_rtc_read_time() local
122 sec = readl(info->rtc_base + TEGRA_RTC_REG_SHADOW_SECONDS); in tegra_rtc_read_time()
126 rtc_time_to_tm(sec, tm); in tegra_rtc_read_time()
129 sec, in tegra_rtc_read_time()
144 unsigned long sec; in tegra_rtc_set_time() local
148 rtc_tm_to_time(tm, &sec); in tegra_rtc_set_time()
151 sec, in tegra_rtc_set_time()
163 writel(sec, info->rtc_base + TEGRA_RTC_REG_SECONDS); in tegra_rtc_set_time()
174 unsigned long sec; in tegra_rtc_read_alarm() local
177 sec = readl(info->rtc_base + TEGRA_RTC_REG_SECONDS_ALARM0); in tegra_rtc_read_alarm()
[all …]
Drtc-brcmstb-waketimer.c79 u32 sec; member
89 t->sec = readl_relaxed(timer->base + BRCMSTB_WKTMR_COUNTER); in wktmr_read()
135 rtc_time_to_tm(now.sec, tm); in brcmstb_waketmr_gettime()
144 time64_t sec; in brcmstb_waketmr_settime() local
146 sec = rtc_tm_to_time64(tm); in brcmstb_waketmr_settime()
148 writel_relaxed(sec, timer->base + BRCMSTB_WKTMR_COUNTER); in brcmstb_waketmr_settime()
157 time64_t sec; in brcmstb_waketmr_getalarm() local
160 sec = readl_relaxed(timer->base + BRCMSTB_WKTMR_ALARM); in brcmstb_waketmr_getalarm()
161 if (sec != 0) { in brcmstb_waketmr_getalarm()
164 rtc_time64_to_tm(sec, &alarm->time); in brcmstb_waketmr_getalarm()
[all …]
Drtc-ftrtc010.c77 u32 days, hour, min, sec, offset; in ftrtc010_rtc_read_time() local
80 sec = readl(rtc->rtc_base + FTRTC010_RTC_SECOND); in ftrtc010_rtc_read_time()
86 time = offset + days * 86400 + hour * 3600 + min * 60 + sec; in ftrtc010_rtc_read_time()
96 u32 sec, min, hour, day, offset; in ftrtc010_rtc_set_time() local
101 sec = readl(rtc->rtc_base + FTRTC010_RTC_SECOND); in ftrtc010_rtc_set_time()
106 offset = time - (day * 86400 + hour * 3600 + min * 60 + sec); in ftrtc010_rtc_set_time()
121 u32 days, hour, min, sec; in ftrtc010_rtc_probe() local
174 sec = readl(rtc->rtc_base + FTRTC010_RTC_SECOND); in ftrtc010_rtc_probe()
180 min * 60 + sec; in ftrtc010_rtc_probe()
Drtc-tx4939.c97 unsigned long sec; in tx4939_rtc_read_time() local
112 sec = ((unsigned long)buf[5] << 24) | (buf[4] << 16) | in tx4939_rtc_read_time()
114 rtc_time_to_tm(sec, tm); in tx4939_rtc_read_time()
123 unsigned long sec; in tx4939_rtc_set_alarm() local
133 rtc_tm_to_time(&alrm->time, &sec); in tx4939_rtc_set_alarm()
136 buf[2] = sec; in tx4939_rtc_set_alarm()
137 buf[3] = sec >> 8; in tx4939_rtc_set_alarm()
138 buf[4] = sec >> 16; in tx4939_rtc_set_alarm()
139 buf[5] = sec >> 24; in tx4939_rtc_set_alarm()
155 unsigned long sec; in tx4939_rtc_read_alarm() local
[all …]
Drtc-m48t35.c28 u8 sec; member
62 tm->tm_sec = readb(&priv->reg->sec); in m48t35_read_time()
93 unsigned char mon, day, hrs, min, sec; in m48t35_set_time() local
102 sec = tm->tm_sec; in m48t35_set_time()
117 sec = bin2bcd(sec); in m48t35_set_time()
132 writeb(sec, &priv->reg->sec); in m48t35_set_time()
Drtc-mc146818-lib.c105 unsigned char mon, day, hrs, min, sec; in mc146818_set_time() local
118 sec = time->tm_sec; in mc146818_set_time()
162 sec = bin2bcd(sec); in mc146818_set_time()
184 CMOS_WRITE(sec, RTC_SECONDS); in mc146818_set_time()
Drtc-ds1286.c220 unsigned char mon, day, hrs, min, sec; in ds1286_set_time() local
230 sec = tm->tm_sec; in ds1286_set_time()
242 sec = bin2bcd(sec); in ds1286_set_time()
258 ds1286_rtc_write(priv, sec, RTC_SECONDS); in ds1286_set_time()
291 unsigned char hrs, min, sec; in ds1286_set_alarm() local
295 sec = alm->time.tm_sec; in ds1286_set_alarm()
303 if (sec != 0) in ds1286_set_alarm()
Drtc-mxc.c107 u32 day = 0, hr = 0, min = 0, sec = 0, hr_min = 0; in get_alarm_or_time() local
113 sec = readw(ioaddr + RTC_SECOND); in get_alarm_or_time()
118 sec = readw(ioaddr + RTC_ALRM_SEC); in get_alarm_or_time()
125 return ((((time64_t)day * 24 + hr) * 60) + min) * 60 + sec; in get_alarm_or_time()
133 u32 tod, day, hr, min, sec, temp; in set_alarm_or_time() local
145 sec = tod - min * 60; in set_alarm_or_time()
152 writew(sec, ioaddr + RTC_SECOND); in set_alarm_or_time()
157 writew(sec, ioaddr + RTC_ALRM_SEC); in set_alarm_or_time()
Drtc-ds1742.c149 unsigned int cen, sec; in ds1742_rtc_probe() local
177 sec = readb(ioaddr + RTC_SECONDS); in ds1742_rtc_probe()
178 if (sec & RTC_STOP) { in ds1742_rtc_probe()
179 sec &= RTC_SECONDS_MASK; in ds1742_rtc_probe()
182 writeb(sec, ioaddr + RTC_SECONDS); in ds1742_rtc_probe()
Drtc-bq4802.c94 u8 sec, min, hrs, day, mon, yrs, century, val; in bq4802_set_time() local
106 sec = tm->tm_sec; in bq4802_set_time()
108 sec = bin2bcd(sec); in bq4802_set_time()
121 p->write(p, 0x00, sec); in bq4802_set_time()
/linux-4.19.296/fs/hfs/
Dhfs_fs.h249 #define __hfs_u_to_mtime(sec) cpu_to_be32(sec + 2082844800U - sys_tz.tz_minuteswest * 60) argument
250 #define __hfs_m_to_utime(sec) (be32_to_cpu(sec) - 2082844800U + sys_tz.tz_minuteswest * 60) argument
270 #define sb_bread512(sb, sec, data) ({ \ argument
276 __start = (loff_t)(sec) << HFS_SECTOR_SIZE_BITS;\
/linux-4.19.296/include/media/
Ddmxdev.h127 struct dmx_section_filter *sec; member
133 struct dmx_section_feed *sec; member
137 struct dmx_sct_filter_params sec; member
/linux-4.19.296/drivers/char/
Drtc.c110 #define hpet_set_alarm_time(hrs, min, sec) 0 argument
485 unsigned char hrs, min, sec; in rtc_do_ioctl() local
494 sec = alm_tm.tm_sec; in rtc_do_ioctl()
497 if (hpet_set_alarm_time(hrs, min, sec)) { in rtc_do_ioctl()
505 if (sec < 60) in rtc_do_ioctl()
506 sec = bin2bcd(sec); in rtc_do_ioctl()
508 sec = 0xff; in rtc_do_ioctl()
522 CMOS_WRITE(sec, RTC_SECONDS_ALARM); in rtc_do_ioctl()
536 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_do_ioctl() local
555 sec = rtc_tm.tm_sec; in rtc_do_ioctl()
[all …]
/linux-4.19.296/drivers/ptp/
Dptp_chardev.c178 enable = req.perout.period.sec || req.perout.period.nsec; in ptp_ioctl()
201 precise_offset.device.sec = ts.tv_sec; in ptp_ioctl()
204 precise_offset.sys_realtime.sec = ts.tv_sec; in ptp_ioctl()
207 precise_offset.sys_monoraw.sec = ts.tv_sec; in ptp_ioctl()
228 pct->sec = ts.tv_sec; in ptp_ioctl()
234 pct->sec = ts.tv_sec; in ptp_ioctl()
239 pct->sec = ts.tv_sec; in ptp_ioctl()

1234