sec                83 arch/arm/xen/enlighten.c 		now.tv_sec  = ((uint64_t)wall_clock->sec_hi << 32) | wall_clock->sec;
sec                11 arch/ia64/kernel/fsyscall_gtod_data.h 	u64	sec;
sec               109 arch/ia64/kernel/mca_drv.h #define slidx_count(slidx, sec) \
sec               112 arch/ia64/kernel/mca_drv.h 	slidx_foreach_entry(__pos, &((slidx)->sec)) { __count++; }\
sec               620 arch/ia64/kernel/module.c 	  Elf64_Shdr *sec, void *location)
sec               638 arch/ia64/kernel/module.c 	      case RV_SECREL:	  val -= sec->sh_addr; break;
sec               442 arch/ia64/kernel/time.c 	fsyscall_gtod_data.wall_time.sec = tk->xtime_sec;
sec               445 arch/ia64/kernel/time.c 	fsyscall_gtod_data.monotonic_time.sec = tk->xtime_sec
sec               456 arch/ia64/kernel/time.c 		fsyscall_gtod_data.monotonic_time.sec++;
sec               200 arch/m68k/atari/time.c     int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0;
sec               211 arch/m68k/atari/time.c         sec  = t->tm_sec;
sec               230 arch/m68k/atari/time.c 	    sec = bin2bcd(sec);
sec               263 arch/m68k/atari/time.c         sec  = RTC_READ( RTC_SECONDS );
sec               272 arch/m68k/atari/time.c         RTC_WRITE( RTC_SECONDS, sec );
sec               292 arch/m68k/atari/time.c 	    sec = bcd2bin(sec);
sec               308 arch/m68k/atari/time.c         t->tm_sec  = sec;
sec                74 arch/m68k/bvme6000/rtc.c 		unsigned char mon, day, hrs, min, sec, leap_yr;
sec                90 arch/m68k/bvme6000/rtc.c 		sec = rtc_tm.tm_sec;
sec               100 arch/m68k/bvme6000/rtc.c 		if ((hrs >= 24) || (min >= 60) || (sec >= 60))
sec               113 arch/m68k/bvme6000/rtc.c 		rtc->bcd_sec   = bin2bcd(sec);
sec                68 arch/m68k/emu/nfblock.c 	sector_t sec = bio->bi_iter.bi_sector;
sec                75 arch/m68k/emu/nfblock.c 		nfhd_read_write(dev->id, 0, dir, sec >> shift, len >> shift,
sec                77 arch/m68k/emu/nfblock.c 		sec += len;
sec                69 arch/m68k/mvme16x/rtc.c 		unsigned char mon, day, hrs, min, sec, leap_yr;
sec                85 arch/m68k/mvme16x/rtc.c 		sec = rtc_tm.tm_sec;
sec                95 arch/m68k/mvme16x/rtc.c 		if ((hrs >= 24) || (min >= 60) || (sec >= 60))
sec               104 arch/m68k/mvme16x/rtc.c 		rtc->bcd_sec  = bin2bcd(sec);
sec                50 arch/m68k/sun3x/time.c 		h->sec = bin2bcd(t->tm_sec);
sec                60 arch/m68k/sun3x/time.c 		t->tm_sec = bcd2bin(h->sec);
sec                10 arch/m68k/sun3x/time.h 	volatile unsigned char sec;
sec               273 arch/mips/boot/tools/relocs.c 		struct section *sec = &secs[i];
sec               275 arch/mips/boot/tools/relocs.c 		sec->shdr_offset = ftell(fp);
sec               279 arch/mips/boot/tools/relocs.c 		sec->shdr.sh_name      = elf_word_to_cpu(shdr.sh_name);
sec               280 arch/mips/boot/tools/relocs.c 		sec->shdr.sh_type      = elf_word_to_cpu(shdr.sh_type);
sec               281 arch/mips/boot/tools/relocs.c 		sec->shdr.sh_flags     = elf_xword_to_cpu(shdr.sh_flags);
sec               282 arch/mips/boot/tools/relocs.c 		sec->shdr.sh_addr      = elf_addr_to_cpu(shdr.sh_addr);
sec               283 arch/mips/boot/tools/relocs.c 		sec->shdr.sh_offset    = elf_off_to_cpu(shdr.sh_offset);
sec               284 arch/mips/boot/tools/relocs.c 		sec->shdr.sh_size      = elf_xword_to_cpu(shdr.sh_size);
sec               285 arch/mips/boot/tools/relocs.c 		sec->shdr.sh_link      = elf_word_to_cpu(shdr.sh_link);
sec               286 arch/mips/boot/tools/relocs.c 		sec->shdr.sh_info      = elf_word_to_cpu(shdr.sh_info);
sec               287 arch/mips/boot/tools/relocs.c 		sec->shdr.sh_addralign = elf_xword_to_cpu(shdr.sh_addralign);
sec               288 arch/mips/boot/tools/relocs.c 		sec->shdr.sh_entsize   = elf_xword_to_cpu(shdr.sh_entsize);
sec               289 arch/mips/boot/tools/relocs.c 		if (sec->shdr.sh_link < ehdr.e_shnum)
sec               290 arch/mips/boot/tools/relocs.c 			sec->link = &secs[sec->shdr.sh_link];
sec               299 arch/mips/boot/tools/relocs.c 		struct section *sec = &secs[i];
sec               301 arch/mips/boot/tools/relocs.c 		if (sec->shdr.sh_type != SHT_STRTAB)
sec               304 arch/mips/boot/tools/relocs.c 		sec->strtab = malloc(sec->shdr.sh_size);
sec               305 arch/mips/boot/tools/relocs.c 		if (!sec->strtab)
sec               307 arch/mips/boot/tools/relocs.c 			    sec->shdr.sh_size);
sec               309 arch/mips/boot/tools/relocs.c 		if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0)
sec               311 arch/mips/boot/tools/relocs.c 			    sec->shdr.sh_offset, strerror(errno));
sec               313 arch/mips/boot/tools/relocs.c 		if (fread(sec->strtab, 1, sec->shdr.sh_size, fp) !=
sec               314 arch/mips/boot/tools/relocs.c 		    sec->shdr.sh_size)
sec               324 arch/mips/boot/tools/relocs.c 		struct section *sec = &secs[i];
sec               325 arch/mips/boot/tools/relocs.c 		if (sec->shdr.sh_type != SHT_SYMTAB)
sec               328 arch/mips/boot/tools/relocs.c 		sec->symtab = malloc(sec->shdr.sh_size);
sec               329 arch/mips/boot/tools/relocs.c 		if (!sec->symtab)
sec               331 arch/mips/boot/tools/relocs.c 			    sec->shdr.sh_size);
sec               333 arch/mips/boot/tools/relocs.c 		if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0)
sec               335 arch/mips/boot/tools/relocs.c 			    sec->shdr.sh_offset, strerror(errno));
sec               337 arch/mips/boot/tools/relocs.c 		if (fread(sec->symtab, 1, sec->shdr.sh_size, fp) !=
sec               338 arch/mips/boot/tools/relocs.c 		    sec->shdr.sh_size)
sec               341 arch/mips/boot/tools/relocs.c 		for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Sym); j++) {
sec               342 arch/mips/boot/tools/relocs.c 			Elf_Sym *sym = &sec->symtab[j];
sec               358 arch/mips/boot/tools/relocs.c 		struct section *sec = sec_lookup(".text");
sec               360 arch/mips/boot/tools/relocs.c 		if (!sec)
sec               363 arch/mips/boot/tools/relocs.c 		base = sec->shdr.sh_addr;
sec               367 arch/mips/boot/tools/relocs.c 		struct section *sec = &secs[i];
sec               369 arch/mips/boot/tools/relocs.c 		if (sec->shdr.sh_type != SHT_REL_TYPE)
sec               372 arch/mips/boot/tools/relocs.c 		sec->reltab = malloc(sec->shdr.sh_size);
sec               373 arch/mips/boot/tools/relocs.c 		if (!sec->reltab)
sec               375 arch/mips/boot/tools/relocs.c 			    sec->shdr.sh_size);
sec               377 arch/mips/boot/tools/relocs.c 		if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0)
sec               379 arch/mips/boot/tools/relocs.c 			    sec->shdr.sh_offset, strerror(errno));
sec               381 arch/mips/boot/tools/relocs.c 		if (fread(sec->reltab, 1, sec->shdr.sh_size, fp) !=
sec               382 arch/mips/boot/tools/relocs.c 		    sec->shdr.sh_size)
sec               385 arch/mips/boot/tools/relocs.c 		for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Rel); j++) {
sec               386 arch/mips/boot/tools/relocs.c 			Elf_Rel *rel = &sec->reltab[j];
sec               413 arch/mips/boot/tools/relocs.c 		struct section *sec = &secs[i];
sec               415 arch/mips/boot/tools/relocs.c 		if (sec->shdr.sh_type != SHT_REL_TYPE)
sec               418 arch/mips/boot/tools/relocs.c 		if (fseek(fp, sec->shdr_offset, SEEK_SET) < 0)
sec               420 arch/mips/boot/tools/relocs.c 			    sec->shdr_offset, strerror(errno));
sec               432 arch/mips/boot/tools/relocs.c 		if (fseek(fp, sec->shdr_offset, SEEK_SET) < 0)
sec               434 arch/mips/boot/tools/relocs.c 			    sec->shdr_offset, strerror(errno));
sec               467 arch/mips/boot/tools/relocs.c static void walk_relocs(int (*process)(struct section *sec, Elf_Rel *rel,
sec               478 arch/mips/boot/tools/relocs.c 		struct section *sec = &secs[i];
sec               480 arch/mips/boot/tools/relocs.c 		if (sec->shdr.sh_type != SHT_REL_TYPE)
sec               483 arch/mips/boot/tools/relocs.c 		sec_symtab  = sec->link;
sec               484 arch/mips/boot/tools/relocs.c 		sec_applies = &secs[sec->shdr.sh_info];
sec               490 arch/mips/boot/tools/relocs.c 		for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Rel); j++) {
sec               491 arch/mips/boot/tools/relocs.c 			Elf_Rel *rel = &sec->reltab[j];
sec               495 arch/mips/boot/tools/relocs.c 			process(sec, rel, sym, symname);
sec               500 arch/mips/boot/tools/relocs.c static int do_reloc(struct section *sec, Elf_Rel *rel, Elf_Sym *sym,
sec               636 arch/mips/boot/tools/relocs.c static int do_reloc_info(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym,
sec               640 arch/mips/boot/tools/relocs.c 		sec_name(sec->shdr.sh_info),
sec                24 arch/mips/dec/time.c 	unsigned int year, mon, day, hour, min, sec, real_year;
sec                30 arch/mips/dec/time.c 		sec = CMOS_READ(RTC_SECONDS);
sec                42 arch/mips/dec/time.c 	} while (sec != CMOS_READ(RTC_SECONDS));
sec                47 arch/mips/dec/time.c 		sec = bcd2bin(sec);
sec                57 arch/mips/dec/time.c 	ts->tv_sec = mktime64(year, mon, day, hour, min, sec);
sec                23 arch/mips/include/asm/m48t37.h 	volatile u8	sec;
sec                91 arch/mips/include/asm/mc146818-time.h 	unsigned int year, mon, day, hour, min, sec;
sec                97 arch/mips/include/asm/mc146818-time.h 		sec = CMOS_READ(RTC_SECONDS);
sec               103 arch/mips/include/asm/mc146818-time.h 	} while (sec != CMOS_READ(RTC_SECONDS));
sec               106 arch/mips/include/asm/mc146818-time.h 		sec = bcd2bin(sec);
sec               116 arch/mips/include/asm/mc146818-time.h 	return mktime64(year, mon, day, hour, min, sec);
sec               139 arch/mips/include/asm/sgiarcs.h 	unsigned short sec;
sec               188 arch/mips/sibyte/swarm/rtc_m41t81.c 	unsigned int year, mon, day, hour, min, sec;
sec               196 arch/mips/sibyte/swarm/rtc_m41t81.c 		sec = m41t81_read(M41T81REG_SC);
sec               198 arch/mips/sibyte/swarm/rtc_m41t81.c 		if (sec == m41t81_read(M41T81REG_SC)) break;
sec               207 arch/mips/sibyte/swarm/rtc_m41t81.c 	sec = bcd2bin(sec);
sec               216 arch/mips/sibyte/swarm/rtc_m41t81.c 	return mktime64(year, mon, day, hour, min, sec);
sec               169 arch/mips/sibyte/swarm/rtc_xicor1241.c 	unsigned int year, mon, day, hour, min, sec, y2k;
sec               173 arch/mips/sibyte/swarm/rtc_xicor1241.c 	sec = xicor_read(X1241REG_SC);
sec               190 arch/mips/sibyte/swarm/rtc_xicor1241.c 	sec = bcd2bin(sec);
sec               200 arch/mips/sibyte/swarm/rtc_xicor1241.c 	return mktime64(year, mon, day, hour, min, sec);
sec                79 arch/mips/sibyte/swarm/setup.c 	time64_t sec;
sec                83 arch/mips/sibyte/swarm/setup.c 		sec = xicor_get_time();
sec                87 arch/mips/sibyte/swarm/setup.c 		sec = m41t81_get_time();
sec                92 arch/mips/sibyte/swarm/setup.c 		sec = mktime64(2000, 1, 1, 0, 0, 0);
sec                95 arch/mips/sibyte/swarm/setup.c 	ts->tv_sec = sec;
sec               101 arch/mips/sibyte/swarm/setup.c 	time64_t sec = now.tv_sec;
sec               105 arch/mips/sibyte/swarm/setup.c 		return xicor_set_time(sec);
sec               108 arch/mips/sibyte/swarm/setup.c 		return m41t81_set_time(sec);
sec                67 arch/parisc/include/asm/pdc.h int pdc_tod_set(unsigned long sec, unsigned long usec);
sec              1070 arch/parisc/kernel/firmware.c int pdc_tod_set(unsigned long sec, unsigned long usec)
sec              1076 arch/parisc/kernel/firmware.c         retval = mem_pdc_call(PDC_TOD, PDC_TOD_WRITE, sec, usec);
sec               377 arch/powerpc/kernel/rtas-proc.c 		unsigned int year, mon, day, hour, min, sec;
sec               379 arch/powerpc/kernel/rtas-proc.c 		hour = ret[3]; min  = ret[4]; sec  = ret[5];
sec               381 arch/powerpc/kernel/rtas-proc.c 				mktime64(year, mon, day, hour, min, sec));
sec               134 arch/powerpc/platforms/chrp/time.c 	unsigned int year, mon, day, hour, min, sec;
sec               137 arch/powerpc/platforms/chrp/time.c 		sec = chrp_cmos_clock_read(RTC_SECONDS);
sec               143 arch/powerpc/platforms/chrp/time.c 	} while (sec != chrp_cmos_clock_read(RTC_SECONDS));
sec               146 arch/powerpc/platforms/chrp/time.c 		sec = bcd2bin(sec);
sec               155 arch/powerpc/platforms/chrp/time.c 	tm->tm_sec = sec;
sec                81 arch/powerpc/platforms/maple/time.c 	int sec, min, hour, mon, mday, year;
sec                93 arch/powerpc/platforms/maple/time.c 	sec = tm->tm_sec;
sec               101 arch/powerpc/platforms/maple/time.c 		sec = bin2bcd(sec);
sec               108 arch/powerpc/platforms/maple/time.c 	maple_clock_write(sec, RTC_SECONDS);
sec                38 arch/riscv/include/asm/module.h 					      const struct mod_section *sec)
sec                40 arch/riscv/include/asm/module.h 	struct got_entry *got = (struct got_entry *)(sec->shdr->sh_addr);
sec                42 arch/riscv/include/asm/module.h 	for (i = 0; i < sec->num_entries; i++) {
sec                91 arch/riscv/include/asm/module.h static inline int get_got_plt_idx(unsigned long val, const struct mod_section *sec)
sec                93 arch/riscv/include/asm/module.h 	struct got_entry *got_plt = (struct got_entry *)sec->shdr->sh_addr;
sec                95 arch/riscv/include/asm/module.h 	for (i = 0; i < sec->num_entries; i++) {
sec              1442 arch/s390/kernel/debug.c 	unsigned long base, sec, usec;
sec              1450 arch/s390/kernel/debug.c 	sec = (entry->id.stck >> 12) + base - (TOD_UNIX_EPOCH >> 12);
sec              1451 arch/s390/kernel/debug.c 	usec = do_div(sec, USEC_PER_SEC);
sec              1459 arch/s390/kernel/debug.c 		      area, sec, usec, level, except_str,
sec               124 arch/s390/kernel/time.c 	unsigned long long high, low, rem, sec, nsec;
sec               130 arch/s390/kernel/time.c 	sec = high;
sec               131 arch/s390/kernel/time.c 	rem = do_div(sec, 1000000);
sec               134 arch/s390/kernel/time.c 	xt->tv_sec = sec;
sec                44 arch/sh/boards/mach-sh03/rtc.c 	unsigned int year, mon, day, hour, min, sec;
sec                49 arch/sh/boards/mach-sh03/rtc.c 		sec  = (__raw_readb(RTC_SEC1) & 0xf) + (__raw_readb(RTC_SEC10) & 0x7) * 10;
sec                57 arch/sh/boards/mach-sh03/rtc.c 	} while (sec != (__raw_readb(RTC_SEC1) & 0xf) + (__raw_readb(RTC_SEC10) & 0x7) * 10);
sec                59 arch/sh/boards/mach-sh03/rtc.c 	    hour > 23 || min > 59 || sec > 59) {
sec                63 arch/sh/boards/mach-sh03/rtc.c 		       year, mon, day, hour, min, sec);
sec                80 arch/sh/boards/mach-sh03/rtc.c 	tm->tm_sec  = sec;
sec                96 arch/x86/include/asm/hpet.h 			       unsigned char sec);
sec                39 arch/x86/include/asm/pvclock-abi.h 	u32   sec;
sec                68 arch/x86/include/uapi/asm/kvm_para.h 	__s64 sec;
sec               743 arch/x86/kernel/early-quirks.c 	u8 sec;
sec               773 arch/x86/kernel/early-quirks.c 		sec = read_pci_config_byte(num, slot, func, PCI_SECONDARY_BUS);
sec               774 arch/x86/kernel/early-quirks.c 		if (sec > num)
sec               775 arch/x86/kernel/early-quirks.c 			early_pci_scan_bus(sec);
sec              1166 arch/x86/kernel/hpet.c int hpet_set_alarm_time(unsigned char hrs, unsigned char min, unsigned char sec)
sec              1173 arch/x86/kernel/hpet.c 	hpet_alarm_time.tm_sec = sec;
sec               132 arch/x86/kernel/pvclock.c 		now.tv_sec  = wall_clock->sec;
sec                65 arch/x86/kernel/rtc.c 	unsigned int status, year, mon, day, hour, min, sec, century = 0;
sec                88 arch/x86/kernel/rtc.c 	sec = CMOS_READ(RTC_SECONDS);
sec               107 arch/x86/kernel/rtc.c 		sec = bcd2bin(sec);
sec               121 arch/x86/kernel/rtc.c 	now->tv_sec = mktime64(year, mon, day, hour, min, sec);
sec              1702 arch/x86/kvm/x86.c 	wc.sec = (u32)boot.tv_sec; /* overflow in 2106 guest time */
sec              7386 arch/x86/kvm/x86.c 	clock_pairing.sec = ts.tv_sec;
sec                58 arch/x86/platform/intel-mid/intel_mid_vrtc.c 	u8 sec, min, hour, mday, mon;
sec                67 arch/x86/platform/intel-mid/intel_mid_vrtc.c 	sec = vrtc_cmos_read(RTC_SECONDS);
sec                80 arch/x86/platform/intel-mid/intel_mid_vrtc.c 		"mon: %d year: %d\n", sec, min, hour, mday, mon, year);
sec                82 arch/x86/platform/intel-mid/intel_mid_vrtc.c 	now->tv_sec = mktime64(year, mon, mday, hour, min, sec);
sec               485 arch/x86/platform/uv/tlb_uv.c static inline cycles_t sec_2_cycles(unsigned long sec)
sec               487 arch/x86/platform/uv/tlb_uv.c 	return ns_2_cycles(sec * NSEC_PER_SEC);
sec               277 arch/x86/tools/relocs.c 		struct section *sec = &secs[i];
sec               283 arch/x86/tools/relocs.c 		if (sec->shdr.sh_type != SHT_SYMTAB)
sec               286 arch/x86/tools/relocs.c 		nsyms = sec->shdr.sh_size/sizeof(Elf_Sym);
sec               287 arch/x86/tools/relocs.c 		symtab = sec->symtab;
sec               288 arch/x86/tools/relocs.c 		strtab = sec->link->strtab;
sec               423 arch/x86/tools/relocs.c 		struct section *sec = &secs[i];
sec               427 arch/x86/tools/relocs.c 		sec->shdr.sh_name      = elf_word_to_cpu(shdr.sh_name);
sec               428 arch/x86/tools/relocs.c 		sec->shdr.sh_type      = elf_word_to_cpu(shdr.sh_type);
sec               429 arch/x86/tools/relocs.c 		sec->shdr.sh_flags     = elf_xword_to_cpu(shdr.sh_flags);
sec               430 arch/x86/tools/relocs.c 		sec->shdr.sh_addr      = elf_addr_to_cpu(shdr.sh_addr);
sec               431 arch/x86/tools/relocs.c 		sec->shdr.sh_offset    = elf_off_to_cpu(shdr.sh_offset);
sec               432 arch/x86/tools/relocs.c 		sec->shdr.sh_size      = elf_xword_to_cpu(shdr.sh_size);
sec               433 arch/x86/tools/relocs.c 		sec->shdr.sh_link      = elf_word_to_cpu(shdr.sh_link);
sec               434 arch/x86/tools/relocs.c 		sec->shdr.sh_info      = elf_word_to_cpu(shdr.sh_info);
sec               435 arch/x86/tools/relocs.c 		sec->shdr.sh_addralign = elf_xword_to_cpu(shdr.sh_addralign);
sec               436 arch/x86/tools/relocs.c 		sec->shdr.sh_entsize   = elf_xword_to_cpu(shdr.sh_entsize);
sec               437 arch/x86/tools/relocs.c 		if (sec->shdr.sh_link < shnum)
sec               438 arch/x86/tools/relocs.c 			sec->link = &secs[sec->shdr.sh_link];
sec               447 arch/x86/tools/relocs.c 		struct section *sec = &secs[i];
sec               448 arch/x86/tools/relocs.c 		if (sec->shdr.sh_type != SHT_STRTAB) {
sec               451 arch/x86/tools/relocs.c 		sec->strtab = malloc(sec->shdr.sh_size);
sec               452 arch/x86/tools/relocs.c 		if (!sec->strtab) {
sec               454 arch/x86/tools/relocs.c 				sec->shdr.sh_size);
sec               456 arch/x86/tools/relocs.c 		if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) {
sec               458 arch/x86/tools/relocs.c 				sec->shdr.sh_offset, strerror(errno));
sec               460 arch/x86/tools/relocs.c 		if (fread(sec->strtab, 1, sec->shdr.sh_size, fp)
sec               461 arch/x86/tools/relocs.c 		    != sec->shdr.sh_size) {
sec               472 arch/x86/tools/relocs.c 		struct section *sec = &secs[i];
sec               473 arch/x86/tools/relocs.c 		if (sec->shdr.sh_type != SHT_SYMTAB) {
sec               476 arch/x86/tools/relocs.c 		sec->symtab = malloc(sec->shdr.sh_size);
sec               477 arch/x86/tools/relocs.c 		if (!sec->symtab) {
sec               479 arch/x86/tools/relocs.c 				sec->shdr.sh_size);
sec               481 arch/x86/tools/relocs.c 		if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) {
sec               483 arch/x86/tools/relocs.c 				sec->shdr.sh_offset, strerror(errno));
sec               485 arch/x86/tools/relocs.c 		if (fread(sec->symtab, 1, sec->shdr.sh_size, fp)
sec               486 arch/x86/tools/relocs.c 		    != sec->shdr.sh_size) {
sec               490 arch/x86/tools/relocs.c 		for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Sym); j++) {
sec               491 arch/x86/tools/relocs.c 			Elf_Sym *sym = &sec->symtab[j];
sec               505 arch/x86/tools/relocs.c 		struct section *sec = &secs[i];
sec               506 arch/x86/tools/relocs.c 		if (sec->shdr.sh_type != SHT_REL_TYPE) {
sec               509 arch/x86/tools/relocs.c 		sec->reltab = malloc(sec->shdr.sh_size);
sec               510 arch/x86/tools/relocs.c 		if (!sec->reltab) {
sec               512 arch/x86/tools/relocs.c 				sec->shdr.sh_size);
sec               514 arch/x86/tools/relocs.c 		if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) {
sec               516 arch/x86/tools/relocs.c 				sec->shdr.sh_offset, strerror(errno));
sec               518 arch/x86/tools/relocs.c 		if (fread(sec->reltab, 1, sec->shdr.sh_size, fp)
sec               519 arch/x86/tools/relocs.c 		    != sec->shdr.sh_size) {
sec               523 arch/x86/tools/relocs.c 		for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Rel); j++) {
sec               524 arch/x86/tools/relocs.c 			Elf_Rel *rel = &sec->reltab[j];
sec               548 arch/x86/tools/relocs.c 		struct section *sec = &secs[i];
sec               552 arch/x86/tools/relocs.c 		if (sec->shdr.sh_type != SHT_SYMTAB) {
sec               555 arch/x86/tools/relocs.c 		sym_strtab = sec->link->strtab;
sec               556 arch/x86/tools/relocs.c 		for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Sym); j++) {
sec               559 arch/x86/tools/relocs.c 			sym = &sec->symtab[j];
sec               586 arch/x86/tools/relocs.c 		struct section *sec = &secs[i];
sec               591 arch/x86/tools/relocs.c 		if (sec->shdr.sh_type != SHT_REL_TYPE) {
sec               594 arch/x86/tools/relocs.c 		sec_symtab  = sec->link;
sec               595 arch/x86/tools/relocs.c 		sec_applies = &secs[sec->shdr.sh_info];
sec               601 arch/x86/tools/relocs.c 		for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Rel); j++) {
sec               605 arch/x86/tools/relocs.c 			rel = &sec->reltab[j];
sec               664 arch/x86/tools/relocs.c static void walk_relocs(int (*process)(struct section *sec, Elf_Rel *rel,
sec               674 arch/x86/tools/relocs.c 		struct section *sec = &secs[i];
sec               676 arch/x86/tools/relocs.c 		if (sec->shdr.sh_type != SHT_REL_TYPE) {
sec               679 arch/x86/tools/relocs.c 		sec_symtab  = sec->link;
sec               680 arch/x86/tools/relocs.c 		sec_applies = &secs[sec->shdr.sh_info];
sec               686 arch/x86/tools/relocs.c 		for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Rel); j++) {
sec               687 arch/x86/tools/relocs.c 			Elf_Rel *rel = &sec->reltab[j];
sec               691 arch/x86/tools/relocs.c 			process(sec, rel, sym, symname);
sec               769 arch/x86/tools/relocs.c static int do_reloc64(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym,
sec               782 arch/x86/tools/relocs.c 	if (sec->shdr.sh_info == per_cpu_shndx)
sec               859 arch/x86/tools/relocs.c static int do_reloc32(struct section *sec, Elf_Rel *rel, Elf_Sym *sym,
sec               902 arch/x86/tools/relocs.c static int do_reloc_real(struct section *sec, Elf_Rel *rel, Elf_Sym *sym,
sec              1004 arch/x86/tools/relocs.c 	int (*do_reloc)(struct section *sec, Elf_Rel *rel, Elf_Sym *sym,
sec              1084 arch/x86/tools/relocs.c static int do_reloc_info(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym,
sec              1088 arch/x86/tools/relocs.c 		sec_name(sec->shdr.sh_info),
sec                31 crypto/asymmetric_keys/verify_pefile.c 	const struct section_header *secs, *sec;
sec               111 crypto/asymmetric_keys/verify_pefile.c 	if (ctx->n_sections > (ctx->header_size - cursor) / sizeof(*sec))
sec               540 crypto/asymmetric_keys/x509_cert_parser.c 	unsigned year, mon, day, hour, min, sec, mon_len;
sec               569 crypto/asymmetric_keys/x509_cert_parser.c 	sec  = DD2bin(p);
sec               593 crypto/asymmetric_keys/x509_cert_parser.c 	    sec > 60) /* ISO 8601 permits leap seconds [X.680 46.3] */
sec               596 crypto/asymmetric_keys/x509_cert_parser.c 	*_t = mktime64(year, mon, day, hour, min, sec);
sec                59 crypto/tcrypt.c static unsigned int sec;
sec              2053 crypto/tcrypt.c 		test_cipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0,
sec              2055 crypto/tcrypt.c 		test_cipher_speed("ecb(aes)", DECRYPT, sec, NULL, 0,
sec              2057 crypto/tcrypt.c 		test_cipher_speed("cbc(aes)", ENCRYPT, sec, NULL, 0,
sec              2059 crypto/tcrypt.c 		test_cipher_speed("cbc(aes)", DECRYPT, sec, NULL, 0,
sec              2061 crypto/tcrypt.c 		test_cipher_speed("lrw(aes)", ENCRYPT, sec, NULL, 0,
sec              2063 crypto/tcrypt.c 		test_cipher_speed("lrw(aes)", DECRYPT, sec, NULL, 0,
sec              2065 crypto/tcrypt.c 		test_cipher_speed("xts(aes)", ENCRYPT, sec, NULL, 0,
sec              2067 crypto/tcrypt.c 		test_cipher_speed("xts(aes)", DECRYPT, sec, NULL, 0,
sec              2069 crypto/tcrypt.c 		test_cipher_speed("cts(cbc(aes))", ENCRYPT, sec, NULL, 0,
sec              2071 crypto/tcrypt.c 		test_cipher_speed("cts(cbc(aes))", DECRYPT, sec, NULL, 0,
sec              2073 crypto/tcrypt.c 		test_cipher_speed("ctr(aes)", ENCRYPT, sec, NULL, 0,
sec              2075 crypto/tcrypt.c 		test_cipher_speed("ctr(aes)", DECRYPT, sec, NULL, 0,
sec              2077 crypto/tcrypt.c 		test_cipher_speed("cfb(aes)", ENCRYPT, sec, NULL, 0,
sec              2079 crypto/tcrypt.c 		test_cipher_speed("cfb(aes)", DECRYPT, sec, NULL, 0,
sec              2084 crypto/tcrypt.c 		test_cipher_speed("ecb(des3_ede)", ENCRYPT, sec,
sec              2087 crypto/tcrypt.c 		test_cipher_speed("ecb(des3_ede)", DECRYPT, sec,
sec              2090 crypto/tcrypt.c 		test_cipher_speed("cbc(des3_ede)", ENCRYPT, sec,
sec              2093 crypto/tcrypt.c 		test_cipher_speed("cbc(des3_ede)", DECRYPT, sec,
sec              2096 crypto/tcrypt.c 		test_cipher_speed("ctr(des3_ede)", ENCRYPT, sec,
sec              2099 crypto/tcrypt.c 		test_cipher_speed("ctr(des3_ede)", DECRYPT, sec,
sec              2105 crypto/tcrypt.c 		test_cipher_speed("ecb(twofish)", ENCRYPT, sec, NULL, 0,
sec              2107 crypto/tcrypt.c 		test_cipher_speed("ecb(twofish)", DECRYPT, sec, NULL, 0,
sec              2109 crypto/tcrypt.c 		test_cipher_speed("cbc(twofish)", ENCRYPT, sec, NULL, 0,
sec              2111 crypto/tcrypt.c 		test_cipher_speed("cbc(twofish)", DECRYPT, sec, NULL, 0,
sec              2113 crypto/tcrypt.c 		test_cipher_speed("ctr(twofish)", ENCRYPT, sec, NULL, 0,
sec              2115 crypto/tcrypt.c 		test_cipher_speed("ctr(twofish)", DECRYPT, sec, NULL, 0,
sec              2117 crypto/tcrypt.c 		test_cipher_speed("lrw(twofish)", ENCRYPT, sec, NULL, 0,
sec              2119 crypto/tcrypt.c 		test_cipher_speed("lrw(twofish)", DECRYPT, sec, NULL, 0,
sec              2121 crypto/tcrypt.c 		test_cipher_speed("xts(twofish)", ENCRYPT, sec, NULL, 0,
sec              2123 crypto/tcrypt.c 		test_cipher_speed("xts(twofish)", DECRYPT, sec, NULL, 0,
sec              2128 crypto/tcrypt.c 		test_cipher_speed("ecb(blowfish)", ENCRYPT, sec, NULL, 0,
sec              2130 crypto/tcrypt.c 		test_cipher_speed("ecb(blowfish)", DECRYPT, sec, NULL, 0,
sec              2132 crypto/tcrypt.c 		test_cipher_speed("cbc(blowfish)", ENCRYPT, sec, NULL, 0,
sec              2134 crypto/tcrypt.c 		test_cipher_speed("cbc(blowfish)", DECRYPT, sec, NULL, 0,
sec              2136 crypto/tcrypt.c 		test_cipher_speed("ctr(blowfish)", ENCRYPT, sec, NULL, 0,
sec              2138 crypto/tcrypt.c 		test_cipher_speed("ctr(blowfish)", DECRYPT, sec, NULL, 0,
sec              2143 crypto/tcrypt.c 		test_cipher_speed("ecb(des)", ENCRYPT, sec, NULL, 0,
sec              2145 crypto/tcrypt.c 		test_cipher_speed("ecb(des)", DECRYPT, sec, NULL, 0,
sec              2147 crypto/tcrypt.c 		test_cipher_speed("cbc(des)", ENCRYPT, sec, NULL, 0,
sec              2149 crypto/tcrypt.c 		test_cipher_speed("cbc(des)", DECRYPT, sec, NULL, 0,
sec              2154 crypto/tcrypt.c 		test_cipher_speed("ecb(camellia)", ENCRYPT, sec, NULL, 0,
sec              2156 crypto/tcrypt.c 		test_cipher_speed("ecb(camellia)", DECRYPT, sec, NULL, 0,
sec              2158 crypto/tcrypt.c 		test_cipher_speed("cbc(camellia)", ENCRYPT, sec, NULL, 0,
sec              2160 crypto/tcrypt.c 		test_cipher_speed("cbc(camellia)", DECRYPT, sec, NULL, 0,
sec              2162 crypto/tcrypt.c 		test_cipher_speed("ctr(camellia)", ENCRYPT, sec, NULL, 0,
sec              2164 crypto/tcrypt.c 		test_cipher_speed("ctr(camellia)", DECRYPT, sec, NULL, 0,
sec              2166 crypto/tcrypt.c 		test_cipher_speed("lrw(camellia)", ENCRYPT, sec, NULL, 0,
sec              2168 crypto/tcrypt.c 		test_cipher_speed("lrw(camellia)", DECRYPT, sec, NULL, 0,
sec              2170 crypto/tcrypt.c 		test_cipher_speed("xts(camellia)", ENCRYPT, sec, NULL, 0,
sec              2172 crypto/tcrypt.c 		test_cipher_speed("xts(camellia)", DECRYPT, sec, NULL, 0,
sec              2177 crypto/tcrypt.c 		test_cipher_speed("salsa20", ENCRYPT, sec, NULL, 0,
sec              2182 crypto/tcrypt.c 		test_cipher_speed("ecb(serpent)", ENCRYPT, sec, NULL, 0,
sec              2184 crypto/tcrypt.c 		test_cipher_speed("ecb(serpent)", DECRYPT, sec, NULL, 0,
sec              2186 crypto/tcrypt.c 		test_cipher_speed("cbc(serpent)", ENCRYPT, sec, NULL, 0,
sec              2188 crypto/tcrypt.c 		test_cipher_speed("cbc(serpent)", DECRYPT, sec, NULL, 0,
sec              2190 crypto/tcrypt.c 		test_cipher_speed("ctr(serpent)", ENCRYPT, sec, NULL, 0,
sec              2192 crypto/tcrypt.c 		test_cipher_speed("ctr(serpent)", DECRYPT, sec, NULL, 0,
sec              2194 crypto/tcrypt.c 		test_cipher_speed("lrw(serpent)", ENCRYPT, sec, NULL, 0,
sec              2196 crypto/tcrypt.c 		test_cipher_speed("lrw(serpent)", DECRYPT, sec, NULL, 0,
sec              2198 crypto/tcrypt.c 		test_cipher_speed("xts(serpent)", ENCRYPT, sec, NULL, 0,
sec              2200 crypto/tcrypt.c 		test_cipher_speed("xts(serpent)", DECRYPT, sec, NULL, 0,
sec              2205 crypto/tcrypt.c 		test_cipher_speed("ecb(arc4)", ENCRYPT, sec, NULL, 0,
sec              2210 crypto/tcrypt.c 		test_cipher_speed("ecb(cast5)", ENCRYPT, sec, NULL, 0,
sec              2212 crypto/tcrypt.c 		test_cipher_speed("ecb(cast5)", DECRYPT, sec, NULL, 0,
sec              2214 crypto/tcrypt.c 		test_cipher_speed("cbc(cast5)", ENCRYPT, sec, NULL, 0,
sec              2216 crypto/tcrypt.c 		test_cipher_speed("cbc(cast5)", DECRYPT, sec, NULL, 0,
sec              2218 crypto/tcrypt.c 		test_cipher_speed("ctr(cast5)", ENCRYPT, sec, NULL, 0,
sec              2220 crypto/tcrypt.c 		test_cipher_speed("ctr(cast5)", DECRYPT, sec, NULL, 0,
sec              2225 crypto/tcrypt.c 		test_cipher_speed("ecb(cast6)", ENCRYPT, sec, NULL, 0,
sec              2227 crypto/tcrypt.c 		test_cipher_speed("ecb(cast6)", DECRYPT, sec, NULL, 0,
sec              2229 crypto/tcrypt.c 		test_cipher_speed("cbc(cast6)", ENCRYPT, sec, NULL, 0,
sec              2231 crypto/tcrypt.c 		test_cipher_speed("cbc(cast6)", DECRYPT, sec, NULL, 0,
sec              2233 crypto/tcrypt.c 		test_cipher_speed("ctr(cast6)", ENCRYPT, sec, NULL, 0,
sec              2235 crypto/tcrypt.c 		test_cipher_speed("ctr(cast6)", DECRYPT, sec, NULL, 0,
sec              2237 crypto/tcrypt.c 		test_cipher_speed("lrw(cast6)", ENCRYPT, sec, NULL, 0,
sec              2239 crypto/tcrypt.c 		test_cipher_speed("lrw(cast6)", DECRYPT, sec, NULL, 0,
sec              2241 crypto/tcrypt.c 		test_cipher_speed("xts(cast6)", ENCRYPT, sec, NULL, 0,
sec              2243 crypto/tcrypt.c 		test_cipher_speed("xts(cast6)", DECRYPT, sec, NULL, 0,
sec              2248 crypto/tcrypt.c 		test_aead_speed("rfc4106(gcm(aes))", ENCRYPT, sec,
sec              2250 crypto/tcrypt.c 		test_aead_speed("gcm(aes)", ENCRYPT, sec,
sec              2252 crypto/tcrypt.c 		test_aead_speed("rfc4106(gcm(aes))", DECRYPT, sec,
sec              2254 crypto/tcrypt.c 		test_aead_speed("gcm(aes)", DECRYPT, sec,
sec              2259 crypto/tcrypt.c 		test_aead_speed("rfc4309(ccm(aes))", ENCRYPT, sec,
sec              2261 crypto/tcrypt.c 		test_aead_speed("rfc4309(ccm(aes))", DECRYPT, sec,
sec              2266 crypto/tcrypt.c 		test_aead_speed("rfc7539esp(chacha20,poly1305)", ENCRYPT, sec,
sec              2268 crypto/tcrypt.c 		test_aead_speed("rfc7539esp(chacha20,poly1305)", DECRYPT, sec,
sec              2273 crypto/tcrypt.c 		test_cipher_speed("chacha20", ENCRYPT, sec, NULL, 0,
sec              2278 crypto/tcrypt.c 		test_mb_aead_speed("rfc4106(gcm(aes))", ENCRYPT, sec, NULL,
sec              2280 crypto/tcrypt.c 		test_mb_aead_speed("gcm(aes)", ENCRYPT, sec, NULL, 0, 16, 8,
sec              2282 crypto/tcrypt.c 		test_mb_aead_speed("rfc4106(gcm(aes))", DECRYPT, sec, NULL,
sec              2284 crypto/tcrypt.c 		test_mb_aead_speed("gcm(aes)", DECRYPT, sec, NULL, 0, 16, 8,
sec              2289 crypto/tcrypt.c 		test_mb_aead_speed("rfc4309(ccm(aes))", ENCRYPT, sec, NULL, 0,
sec              2291 crypto/tcrypt.c 		test_mb_aead_speed("rfc4309(ccm(aes))", DECRYPT, sec, NULL, 0,
sec              2297 crypto/tcrypt.c 				   sec, NULL, 0, 16, 8, aead_speed_template_36,
sec              2300 crypto/tcrypt.c 				   sec, NULL, 0, 16, 8, aead_speed_template_36,
sec              2305 crypto/tcrypt.c 		test_cipher_speed("ecb(sm4)", ENCRYPT, sec, NULL, 0,
sec              2307 crypto/tcrypt.c 		test_cipher_speed("ecb(sm4)", DECRYPT, sec, NULL, 0,
sec              2309 crypto/tcrypt.c 		test_cipher_speed("cbc(sm4)", ENCRYPT, sec, NULL, 0,
sec              2311 crypto/tcrypt.c 		test_cipher_speed("cbc(sm4)", DECRYPT, sec, NULL, 0,
sec              2313 crypto/tcrypt.c 		test_cipher_speed("ctr(sm4)", ENCRYPT, sec, NULL, 0,
sec              2315 crypto/tcrypt.c 		test_cipher_speed("ctr(sm4)", DECRYPT, sec, NULL, 0,
sec              2320 crypto/tcrypt.c 		test_cipher_speed("adiantum(xchacha12,aes)", ENCRYPT, sec, NULL,
sec              2322 crypto/tcrypt.c 		test_cipher_speed("adiantum(xchacha12,aes)", DECRYPT, sec, NULL,
sec              2324 crypto/tcrypt.c 		test_cipher_speed("adiantum(xchacha20,aes)", ENCRYPT, sec, NULL,
sec              2326 crypto/tcrypt.c 		test_cipher_speed("adiantum(xchacha20,aes)", DECRYPT, sec, NULL,
sec              2332 crypto/tcrypt.c 				  ENCRYPT, sec, NULL, 0,
sec              2335 crypto/tcrypt.c 				  DECRYPT, sec, NULL, 0,
sec              2340 crypto/tcrypt.c 		test_aead_speed("aegis128", ENCRYPT, sec,
sec              2342 crypto/tcrypt.c 		test_aead_speed("aegis128", DECRYPT, sec,
sec              2348 crypto/tcrypt.c 			test_hash_speed(alg, sec, generic_hash_speed_template);
sec              2353 crypto/tcrypt.c 		test_hash_speed("md4", sec, generic_hash_speed_template);
sec              2357 crypto/tcrypt.c 		test_hash_speed("md5", sec, generic_hash_speed_template);
sec              2361 crypto/tcrypt.c 		test_hash_speed("sha1", sec, generic_hash_speed_template);
sec              2365 crypto/tcrypt.c 		test_hash_speed("sha256", sec, generic_hash_speed_template);
sec              2369 crypto/tcrypt.c 		test_hash_speed("sha384", sec, generic_hash_speed_template);
sec              2373 crypto/tcrypt.c 		test_hash_speed("sha512", sec, generic_hash_speed_template);
sec              2377 crypto/tcrypt.c 		test_hash_speed("wp256", sec, generic_hash_speed_template);
sec              2381 crypto/tcrypt.c 		test_hash_speed("wp384", sec, generic_hash_speed_template);
sec              2385 crypto/tcrypt.c 		test_hash_speed("wp512", sec, generic_hash_speed_template);
sec              2389 crypto/tcrypt.c 		test_hash_speed("tgr128", sec, generic_hash_speed_template);
sec              2393 crypto/tcrypt.c 		test_hash_speed("tgr160", sec, generic_hash_speed_template);
sec              2397 crypto/tcrypt.c 		test_hash_speed("tgr192", sec, generic_hash_speed_template);
sec              2401 crypto/tcrypt.c 		test_hash_speed("sha224", sec, generic_hash_speed_template);
sec              2405 crypto/tcrypt.c 		test_hash_speed("rmd128", sec, generic_hash_speed_template);
sec              2409 crypto/tcrypt.c 		test_hash_speed("rmd160", sec, generic_hash_speed_template);
sec              2413 crypto/tcrypt.c 		test_hash_speed("rmd256", sec, generic_hash_speed_template);
sec              2417 crypto/tcrypt.c 		test_hash_speed("rmd320", sec, generic_hash_speed_template);
sec              2421 crypto/tcrypt.c 		test_hash_speed("ghash-generic", sec, hash_speed_template_16);
sec              2425 crypto/tcrypt.c 		test_hash_speed("crc32c", sec, generic_hash_speed_template);
sec              2429 crypto/tcrypt.c 		test_hash_speed("crct10dif", sec, generic_hash_speed_template);
sec              2433 crypto/tcrypt.c 		test_hash_speed("poly1305", sec, poly1305_speed_template);
sec              2437 crypto/tcrypt.c 		test_hash_speed("sha3-224", sec, generic_hash_speed_template);
sec              2441 crypto/tcrypt.c 		test_hash_speed("sha3-256", sec, generic_hash_speed_template);
sec              2445 crypto/tcrypt.c 		test_hash_speed("sha3-384", sec, generic_hash_speed_template);
sec              2449 crypto/tcrypt.c 		test_hash_speed("sha3-512", sec, generic_hash_speed_template);
sec              2453 crypto/tcrypt.c 		test_hash_speed("sm3", sec, generic_hash_speed_template);
sec              2457 crypto/tcrypt.c 		test_hash_speed("streebog256", sec,
sec              2462 crypto/tcrypt.c 		test_hash_speed("streebog512", sec,
sec              2471 crypto/tcrypt.c 			test_ahash_speed(alg, sec, generic_hash_speed_template);
sec              2476 crypto/tcrypt.c 		test_ahash_speed("md4", sec, generic_hash_speed_template);
sec              2480 crypto/tcrypt.c 		test_ahash_speed("md5", sec, generic_hash_speed_template);
sec              2484 crypto/tcrypt.c 		test_ahash_speed("sha1", sec, generic_hash_speed_template);
sec              2488 crypto/tcrypt.c 		test_ahash_speed("sha256", sec, generic_hash_speed_template);
sec              2492 crypto/tcrypt.c 		test_ahash_speed("sha384", sec, generic_hash_speed_template);
sec              2496 crypto/tcrypt.c 		test_ahash_speed("sha512", sec, generic_hash_speed_template);
sec              2500 crypto/tcrypt.c 		test_ahash_speed("wp256", sec, generic_hash_speed_template);
sec              2504 crypto/tcrypt.c 		test_ahash_speed("wp384", sec, generic_hash_speed_template);
sec              2508 crypto/tcrypt.c 		test_ahash_speed("wp512", sec, generic_hash_speed_template);
sec              2512 crypto/tcrypt.c 		test_ahash_speed("tgr128", sec, generic_hash_speed_template);
sec              2516 crypto/tcrypt.c 		test_ahash_speed("tgr160", sec, generic_hash_speed_template);
sec              2520 crypto/tcrypt.c 		test_ahash_speed("tgr192", sec, generic_hash_speed_template);
sec              2524 crypto/tcrypt.c 		test_ahash_speed("sha224", sec, generic_hash_speed_template);
sec              2528 crypto/tcrypt.c 		test_ahash_speed("rmd128", sec, generic_hash_speed_template);
sec              2532 crypto/tcrypt.c 		test_ahash_speed("rmd160", sec, generic_hash_speed_template);
sec              2536 crypto/tcrypt.c 		test_ahash_speed("rmd256", sec, generic_hash_speed_template);
sec              2540 crypto/tcrypt.c 		test_ahash_speed("rmd320", sec, generic_hash_speed_template);
sec              2544 crypto/tcrypt.c 		test_ahash_speed("sha3-224", sec, generic_hash_speed_template);
sec              2548 crypto/tcrypt.c 		test_ahash_speed("sha3-256", sec, generic_hash_speed_template);
sec              2552 crypto/tcrypt.c 		test_ahash_speed("sha3-384", sec, generic_hash_speed_template);
sec              2556 crypto/tcrypt.c 		test_ahash_speed("sha3-512", sec, generic_hash_speed_template);
sec              2560 crypto/tcrypt.c 		test_mb_ahash_speed("sha1", sec, generic_hash_speed_template,
sec              2565 crypto/tcrypt.c 		test_mb_ahash_speed("sha256", sec, generic_hash_speed_template,
sec              2570 crypto/tcrypt.c 		test_mb_ahash_speed("sha512", sec, generic_hash_speed_template,
sec              2575 crypto/tcrypt.c 		test_mb_ahash_speed("sm3", sec, generic_hash_speed_template,
sec              2580 crypto/tcrypt.c 		test_mb_ahash_speed("streebog256", sec,
sec              2585 crypto/tcrypt.c 		test_mb_ahash_speed("streebog512", sec,
sec              2593 crypto/tcrypt.c 		test_acipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0,
sec              2595 crypto/tcrypt.c 		test_acipher_speed("ecb(aes)", DECRYPT, sec, NULL, 0,
sec              2597 crypto/tcrypt.c 		test_acipher_speed("cbc(aes)", ENCRYPT, sec, NULL, 0,
sec              2599 crypto/tcrypt.c 		test_acipher_speed("cbc(aes)", DECRYPT, sec, NULL, 0,
sec              2601 crypto/tcrypt.c 		test_acipher_speed("lrw(aes)", ENCRYPT, sec, NULL, 0,
sec              2603 crypto/tcrypt.c 		test_acipher_speed("lrw(aes)", DECRYPT, sec, NULL, 0,
sec              2605 crypto/tcrypt.c 		test_acipher_speed("xts(aes)", ENCRYPT, sec, NULL, 0,
sec              2607 crypto/tcrypt.c 		test_acipher_speed("xts(aes)", DECRYPT, sec, NULL, 0,
sec              2609 crypto/tcrypt.c 		test_acipher_speed("cts(cbc(aes))", ENCRYPT, sec, NULL, 0,
sec              2611 crypto/tcrypt.c 		test_acipher_speed("cts(cbc(aes))", DECRYPT, sec, NULL, 0,
sec              2613 crypto/tcrypt.c 		test_acipher_speed("ctr(aes)", ENCRYPT, sec, NULL, 0,
sec              2615 crypto/tcrypt.c 		test_acipher_speed("ctr(aes)", DECRYPT, sec, NULL, 0,
sec              2617 crypto/tcrypt.c 		test_acipher_speed("cfb(aes)", ENCRYPT, sec, NULL, 0,
sec              2619 crypto/tcrypt.c 		test_acipher_speed("cfb(aes)", DECRYPT, sec, NULL, 0,
sec              2621 crypto/tcrypt.c 		test_acipher_speed("ofb(aes)", ENCRYPT, sec, NULL, 0,
sec              2623 crypto/tcrypt.c 		test_acipher_speed("ofb(aes)", DECRYPT, sec, NULL, 0,
sec              2625 crypto/tcrypt.c 		test_acipher_speed("rfc3686(ctr(aes))", ENCRYPT, sec, NULL, 0,
sec              2627 crypto/tcrypt.c 		test_acipher_speed("rfc3686(ctr(aes))", DECRYPT, sec, NULL, 0,
sec              2632 crypto/tcrypt.c 		test_acipher_speed("ecb(des3_ede)", ENCRYPT, sec,
sec              2635 crypto/tcrypt.c 		test_acipher_speed("ecb(des3_ede)", DECRYPT, sec,
sec              2638 crypto/tcrypt.c 		test_acipher_speed("cbc(des3_ede)", ENCRYPT, sec,
sec              2641 crypto/tcrypt.c 		test_acipher_speed("cbc(des3_ede)", DECRYPT, sec,
sec              2644 crypto/tcrypt.c 		test_acipher_speed("cfb(des3_ede)", ENCRYPT, sec,
sec              2647 crypto/tcrypt.c 		test_acipher_speed("cfb(des3_ede)", DECRYPT, sec,
sec              2650 crypto/tcrypt.c 		test_acipher_speed("ofb(des3_ede)", ENCRYPT, sec,
sec              2653 crypto/tcrypt.c 		test_acipher_speed("ofb(des3_ede)", DECRYPT, sec,
sec              2659 crypto/tcrypt.c 		test_acipher_speed("ecb(des)", ENCRYPT, sec, NULL, 0,
sec              2661 crypto/tcrypt.c 		test_acipher_speed("ecb(des)", DECRYPT, sec, NULL, 0,
sec              2663 crypto/tcrypt.c 		test_acipher_speed("cbc(des)", ENCRYPT, sec, NULL, 0,
sec              2665 crypto/tcrypt.c 		test_acipher_speed("cbc(des)", DECRYPT, sec, NULL, 0,
sec              2667 crypto/tcrypt.c 		test_acipher_speed("cfb(des)", ENCRYPT, sec, NULL, 0,
sec              2669 crypto/tcrypt.c 		test_acipher_speed("cfb(des)", DECRYPT, sec, NULL, 0,
sec              2671 crypto/tcrypt.c 		test_acipher_speed("ofb(des)", ENCRYPT, sec, NULL, 0,
sec              2673 crypto/tcrypt.c 		test_acipher_speed("ofb(des)", DECRYPT, sec, NULL, 0,
sec              2678 crypto/tcrypt.c 		test_acipher_speed("ecb(serpent)", ENCRYPT, sec, NULL, 0,
sec              2680 crypto/tcrypt.c 		test_acipher_speed("ecb(serpent)", DECRYPT, sec, NULL, 0,
sec              2682 crypto/tcrypt.c 		test_acipher_speed("cbc(serpent)", ENCRYPT, sec, NULL, 0,
sec              2684 crypto/tcrypt.c 		test_acipher_speed("cbc(serpent)", DECRYPT, sec, NULL, 0,
sec              2686 crypto/tcrypt.c 		test_acipher_speed("ctr(serpent)", ENCRYPT, sec, NULL, 0,
sec              2688 crypto/tcrypt.c 		test_acipher_speed("ctr(serpent)", DECRYPT, sec, NULL, 0,
sec              2690 crypto/tcrypt.c 		test_acipher_speed("lrw(serpent)", ENCRYPT, sec, NULL, 0,
sec              2692 crypto/tcrypt.c 		test_acipher_speed("lrw(serpent)", DECRYPT, sec, NULL, 0,
sec              2694 crypto/tcrypt.c 		test_acipher_speed("xts(serpent)", ENCRYPT, sec, NULL, 0,
sec              2696 crypto/tcrypt.c 		test_acipher_speed("xts(serpent)", DECRYPT, sec, NULL, 0,
sec              2701 crypto/tcrypt.c 		test_acipher_speed("ecb(twofish)", ENCRYPT, sec, NULL, 0,
sec              2703 crypto/tcrypt.c 		test_acipher_speed("ecb(twofish)", DECRYPT, sec, NULL, 0,
sec              2705 crypto/tcrypt.c 		test_acipher_speed("cbc(twofish)", ENCRYPT, sec, NULL, 0,
sec              2707 crypto/tcrypt.c 		test_acipher_speed("cbc(twofish)", DECRYPT, sec, NULL, 0,
sec              2709 crypto/tcrypt.c 		test_acipher_speed("ctr(twofish)", ENCRYPT, sec, NULL, 0,
sec              2711 crypto/tcrypt.c 		test_acipher_speed("ctr(twofish)", DECRYPT, sec, NULL, 0,
sec              2713 crypto/tcrypt.c 		test_acipher_speed("lrw(twofish)", ENCRYPT, sec, NULL, 0,
sec              2715 crypto/tcrypt.c 		test_acipher_speed("lrw(twofish)", DECRYPT, sec, NULL, 0,
sec              2717 crypto/tcrypt.c 		test_acipher_speed("xts(twofish)", ENCRYPT, sec, NULL, 0,
sec              2719 crypto/tcrypt.c 		test_acipher_speed("xts(twofish)", DECRYPT, sec, NULL, 0,
sec              2724 crypto/tcrypt.c 		test_acipher_speed("ecb(arc4)", ENCRYPT, sec, NULL, 0,
sec              2729 crypto/tcrypt.c 		test_acipher_speed("ecb(cast5)", ENCRYPT, sec, NULL, 0,
sec              2731 crypto/tcrypt.c 		test_acipher_speed("ecb(cast5)", DECRYPT, sec, NULL, 0,
sec              2733 crypto/tcrypt.c 		test_acipher_speed("cbc(cast5)", ENCRYPT, sec, NULL, 0,
sec              2735 crypto/tcrypt.c 		test_acipher_speed("cbc(cast5)", DECRYPT, sec, NULL, 0,
sec              2737 crypto/tcrypt.c 		test_acipher_speed("ctr(cast5)", ENCRYPT, sec, NULL, 0,
sec              2739 crypto/tcrypt.c 		test_acipher_speed("ctr(cast5)", DECRYPT, sec, NULL, 0,
sec              2744 crypto/tcrypt.c 		test_acipher_speed("ecb(cast6)", ENCRYPT, sec, NULL, 0,
sec              2746 crypto/tcrypt.c 		test_acipher_speed("ecb(cast6)", DECRYPT, sec, NULL, 0,
sec              2748 crypto/tcrypt.c 		test_acipher_speed("cbc(cast6)", ENCRYPT, sec, NULL, 0,
sec              2750 crypto/tcrypt.c 		test_acipher_speed("cbc(cast6)", DECRYPT, sec, NULL, 0,
sec              2752 crypto/tcrypt.c 		test_acipher_speed("ctr(cast6)", ENCRYPT, sec, NULL, 0,
sec              2754 crypto/tcrypt.c 		test_acipher_speed("ctr(cast6)", DECRYPT, sec, NULL, 0,
sec              2756 crypto/tcrypt.c 		test_acipher_speed("lrw(cast6)", ENCRYPT, sec, NULL, 0,
sec              2758 crypto/tcrypt.c 		test_acipher_speed("lrw(cast6)", DECRYPT, sec, NULL, 0,
sec              2760 crypto/tcrypt.c 		test_acipher_speed("xts(cast6)", ENCRYPT, sec, NULL, 0,
sec              2762 crypto/tcrypt.c 		test_acipher_speed("xts(cast6)", DECRYPT, sec, NULL, 0,
sec              2767 crypto/tcrypt.c 		test_acipher_speed("ecb(camellia)", ENCRYPT, sec, NULL, 0,
sec              2769 crypto/tcrypt.c 		test_acipher_speed("ecb(camellia)", DECRYPT, sec, NULL, 0,
sec              2771 crypto/tcrypt.c 		test_acipher_speed("cbc(camellia)", ENCRYPT, sec, NULL, 0,
sec              2773 crypto/tcrypt.c 		test_acipher_speed("cbc(camellia)", DECRYPT, sec, NULL, 0,
sec              2775 crypto/tcrypt.c 		test_acipher_speed("ctr(camellia)", ENCRYPT, sec, NULL, 0,
sec              2777 crypto/tcrypt.c 		test_acipher_speed("ctr(camellia)", DECRYPT, sec, NULL, 0,
sec              2779 crypto/tcrypt.c 		test_acipher_speed("lrw(camellia)", ENCRYPT, sec, NULL, 0,
sec              2781 crypto/tcrypt.c 		test_acipher_speed("lrw(camellia)", DECRYPT, sec, NULL, 0,
sec              2783 crypto/tcrypt.c 		test_acipher_speed("xts(camellia)", ENCRYPT, sec, NULL, 0,
sec              2785 crypto/tcrypt.c 		test_acipher_speed("xts(camellia)", DECRYPT, sec, NULL, 0,
sec              2790 crypto/tcrypt.c 		test_acipher_speed("ecb(blowfish)", ENCRYPT, sec, NULL, 0,
sec              2792 crypto/tcrypt.c 		test_acipher_speed("ecb(blowfish)", DECRYPT, sec, NULL, 0,
sec              2794 crypto/tcrypt.c 		test_acipher_speed("cbc(blowfish)", ENCRYPT, sec, NULL, 0,
sec              2796 crypto/tcrypt.c 		test_acipher_speed("cbc(blowfish)", DECRYPT, sec, NULL, 0,
sec              2798 crypto/tcrypt.c 		test_acipher_speed("ctr(blowfish)", ENCRYPT, sec, NULL, 0,
sec              2800 crypto/tcrypt.c 		test_acipher_speed("ctr(blowfish)", DECRYPT, sec, NULL, 0,
sec              2805 crypto/tcrypt.c 		test_mb_skcipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0,
sec              2807 crypto/tcrypt.c 		test_mb_skcipher_speed("ecb(aes)", DECRYPT, sec, NULL, 0,
sec              2809 crypto/tcrypt.c 		test_mb_skcipher_speed("cbc(aes)", ENCRYPT, sec, NULL, 0,
sec              2811 crypto/tcrypt.c 		test_mb_skcipher_speed("cbc(aes)", DECRYPT, sec, NULL, 0,
sec              2813 crypto/tcrypt.c 		test_mb_skcipher_speed("lrw(aes)", ENCRYPT, sec, NULL, 0,
sec              2815 crypto/tcrypt.c 		test_mb_skcipher_speed("lrw(aes)", DECRYPT, sec, NULL, 0,
sec              2817 crypto/tcrypt.c 		test_mb_skcipher_speed("xts(aes)", ENCRYPT, sec, NULL, 0,
sec              2819 crypto/tcrypt.c 		test_mb_skcipher_speed("xts(aes)", DECRYPT, sec, NULL, 0,
sec              2821 crypto/tcrypt.c 		test_mb_skcipher_speed("cts(cbc(aes))", ENCRYPT, sec, NULL, 0,
sec              2823 crypto/tcrypt.c 		test_mb_skcipher_speed("cts(cbc(aes))", DECRYPT, sec, NULL, 0,
sec              2825 crypto/tcrypt.c 		test_mb_skcipher_speed("ctr(aes)", ENCRYPT, sec, NULL, 0,
sec              2827 crypto/tcrypt.c 		test_mb_skcipher_speed("ctr(aes)", DECRYPT, sec, NULL, 0,
sec              2829 crypto/tcrypt.c 		test_mb_skcipher_speed("cfb(aes)", ENCRYPT, sec, NULL, 0,
sec              2831 crypto/tcrypt.c 		test_mb_skcipher_speed("cfb(aes)", DECRYPT, sec, NULL, 0,
sec              2833 crypto/tcrypt.c 		test_mb_skcipher_speed("ofb(aes)", ENCRYPT, sec, NULL, 0,
sec              2835 crypto/tcrypt.c 		test_mb_skcipher_speed("ofb(aes)", DECRYPT, sec, NULL, 0,
sec              2837 crypto/tcrypt.c 		test_mb_skcipher_speed("rfc3686(ctr(aes))", ENCRYPT, sec, NULL,
sec              2839 crypto/tcrypt.c 		test_mb_skcipher_speed("rfc3686(ctr(aes))", DECRYPT, sec, NULL,
sec              2844 crypto/tcrypt.c 		test_mb_skcipher_speed("ecb(des3_ede)", ENCRYPT, sec,
sec              2847 crypto/tcrypt.c 		test_mb_skcipher_speed("ecb(des3_ede)", DECRYPT, sec,
sec              2850 crypto/tcrypt.c 		test_mb_skcipher_speed("cbc(des3_ede)", ENCRYPT, sec,
sec              2853 crypto/tcrypt.c 		test_mb_skcipher_speed("cbc(des3_ede)", DECRYPT, sec,
sec              2856 crypto/tcrypt.c 		test_mb_skcipher_speed("cfb(des3_ede)", ENCRYPT, sec,
sec              2859 crypto/tcrypt.c 		test_mb_skcipher_speed("cfb(des3_ede)", DECRYPT, sec,
sec              2862 crypto/tcrypt.c 		test_mb_skcipher_speed("ofb(des3_ede)", ENCRYPT, sec,
sec              2865 crypto/tcrypt.c 		test_mb_skcipher_speed("ofb(des3_ede)", DECRYPT, sec,
sec              2871 crypto/tcrypt.c 		test_mb_skcipher_speed("ecb(des)", ENCRYPT, sec, NULL, 0,
sec              2873 crypto/tcrypt.c 		test_mb_skcipher_speed("ecb(des)", DECRYPT, sec, NULL, 0,
sec              2875 crypto/tcrypt.c 		test_mb_skcipher_speed("cbc(des)", ENCRYPT, sec, NULL, 0,
sec              2877 crypto/tcrypt.c 		test_mb_skcipher_speed("cbc(des)", DECRYPT, sec, NULL, 0,
sec              2879 crypto/tcrypt.c 		test_mb_skcipher_speed("cfb(des)", ENCRYPT, sec, NULL, 0,
sec              2881 crypto/tcrypt.c 		test_mb_skcipher_speed("cfb(des)", DECRYPT, sec, NULL, 0,
sec              2883 crypto/tcrypt.c 		test_mb_skcipher_speed("ofb(des)", ENCRYPT, sec, NULL, 0,
sec              2885 crypto/tcrypt.c 		test_mb_skcipher_speed("ofb(des)", DECRYPT, sec, NULL, 0,
sec              2890 crypto/tcrypt.c 		test_mb_skcipher_speed("ecb(serpent)", ENCRYPT, sec, NULL, 0,
sec              2892 crypto/tcrypt.c 		test_mb_skcipher_speed("ecb(serpent)", DECRYPT, sec, NULL, 0,
sec              2894 crypto/tcrypt.c 		test_mb_skcipher_speed("cbc(serpent)", ENCRYPT, sec, NULL, 0,
sec              2896 crypto/tcrypt.c 		test_mb_skcipher_speed("cbc(serpent)", DECRYPT, sec, NULL, 0,
sec              2898 crypto/tcrypt.c 		test_mb_skcipher_speed("ctr(serpent)", ENCRYPT, sec, NULL, 0,
sec              2900 crypto/tcrypt.c 		test_mb_skcipher_speed("ctr(serpent)", DECRYPT, sec, NULL, 0,
sec              2902 crypto/tcrypt.c 		test_mb_skcipher_speed("lrw(serpent)", ENCRYPT, sec, NULL, 0,
sec              2904 crypto/tcrypt.c 		test_mb_skcipher_speed("lrw(serpent)", DECRYPT, sec, NULL, 0,
sec              2906 crypto/tcrypt.c 		test_mb_skcipher_speed("xts(serpent)", ENCRYPT, sec, NULL, 0,
sec              2908 crypto/tcrypt.c 		test_mb_skcipher_speed("xts(serpent)", DECRYPT, sec, NULL, 0,
sec              2913 crypto/tcrypt.c 		test_mb_skcipher_speed("ecb(twofish)", ENCRYPT, sec, NULL, 0,
sec              2915 crypto/tcrypt.c 		test_mb_skcipher_speed("ecb(twofish)", DECRYPT, sec, NULL, 0,
sec              2917 crypto/tcrypt.c 		test_mb_skcipher_speed("cbc(twofish)", ENCRYPT, sec, NULL, 0,
sec              2919 crypto/tcrypt.c 		test_mb_skcipher_speed("cbc(twofish)", DECRYPT, sec, NULL, 0,
sec              2921 crypto/tcrypt.c 		test_mb_skcipher_speed("ctr(twofish)", ENCRYPT, sec, NULL, 0,
sec              2923 crypto/tcrypt.c 		test_mb_skcipher_speed("ctr(twofish)", DECRYPT, sec, NULL, 0,
sec              2925 crypto/tcrypt.c 		test_mb_skcipher_speed("lrw(twofish)", ENCRYPT, sec, NULL, 0,
sec              2927 crypto/tcrypt.c 		test_mb_skcipher_speed("lrw(twofish)", DECRYPT, sec, NULL, 0,
sec              2929 crypto/tcrypt.c 		test_mb_skcipher_speed("xts(twofish)", ENCRYPT, sec, NULL, 0,
sec              2931 crypto/tcrypt.c 		test_mb_skcipher_speed("xts(twofish)", DECRYPT, sec, NULL, 0,
sec              2936 crypto/tcrypt.c 		test_mb_skcipher_speed("ecb(arc4)", ENCRYPT, sec, NULL, 0,
sec              2941 crypto/tcrypt.c 		test_mb_skcipher_speed("ecb(cast5)", ENCRYPT, sec, NULL, 0,
sec              2943 crypto/tcrypt.c 		test_mb_skcipher_speed("ecb(cast5)", DECRYPT, sec, NULL, 0,
sec              2945 crypto/tcrypt.c 		test_mb_skcipher_speed("cbc(cast5)", ENCRYPT, sec, NULL, 0,
sec              2947 crypto/tcrypt.c 		test_mb_skcipher_speed("cbc(cast5)", DECRYPT, sec, NULL, 0,
sec              2949 crypto/tcrypt.c 		test_mb_skcipher_speed("ctr(cast5)", ENCRYPT, sec, NULL, 0,
sec              2951 crypto/tcrypt.c 		test_mb_skcipher_speed("ctr(cast5)", DECRYPT, sec, NULL, 0,
sec              2956 crypto/tcrypt.c 		test_mb_skcipher_speed("ecb(cast6)", ENCRYPT, sec, NULL, 0,
sec              2958 crypto/tcrypt.c 		test_mb_skcipher_speed("ecb(cast6)", DECRYPT, sec, NULL, 0,
sec              2960 crypto/tcrypt.c 		test_mb_skcipher_speed("cbc(cast6)", ENCRYPT, sec, NULL, 0,
sec              2962 crypto/tcrypt.c 		test_mb_skcipher_speed("cbc(cast6)", DECRYPT, sec, NULL, 0,
sec              2964 crypto/tcrypt.c 		test_mb_skcipher_speed("ctr(cast6)", ENCRYPT, sec, NULL, 0,
sec              2966 crypto/tcrypt.c 		test_mb_skcipher_speed("ctr(cast6)", DECRYPT, sec, NULL, 0,
sec              2968 crypto/tcrypt.c 		test_mb_skcipher_speed("lrw(cast6)", ENCRYPT, sec, NULL, 0,
sec              2970 crypto/tcrypt.c 		test_mb_skcipher_speed("lrw(cast6)", DECRYPT, sec, NULL, 0,
sec              2972 crypto/tcrypt.c 		test_mb_skcipher_speed("xts(cast6)", ENCRYPT, sec, NULL, 0,
sec              2974 crypto/tcrypt.c 		test_mb_skcipher_speed("xts(cast6)", DECRYPT, sec, NULL, 0,
sec              2979 crypto/tcrypt.c 		test_mb_skcipher_speed("ecb(camellia)", ENCRYPT, sec, NULL, 0,
sec              2981 crypto/tcrypt.c 		test_mb_skcipher_speed("ecb(camellia)", DECRYPT, sec, NULL, 0,
sec              2983 crypto/tcrypt.c 		test_mb_skcipher_speed("cbc(camellia)", ENCRYPT, sec, NULL, 0,
sec              2985 crypto/tcrypt.c 		test_mb_skcipher_speed("cbc(camellia)", DECRYPT, sec, NULL, 0,
sec              2987 crypto/tcrypt.c 		test_mb_skcipher_speed("ctr(camellia)", ENCRYPT, sec, NULL, 0,
sec              2989 crypto/tcrypt.c 		test_mb_skcipher_speed("ctr(camellia)", DECRYPT, sec, NULL, 0,
sec              2991 crypto/tcrypt.c 		test_mb_skcipher_speed("lrw(camellia)", ENCRYPT, sec, NULL, 0,
sec              2993 crypto/tcrypt.c 		test_mb_skcipher_speed("lrw(camellia)", DECRYPT, sec, NULL, 0,
sec              2995 crypto/tcrypt.c 		test_mb_skcipher_speed("xts(camellia)", ENCRYPT, sec, NULL, 0,
sec              2997 crypto/tcrypt.c 		test_mb_skcipher_speed("xts(camellia)", DECRYPT, sec, NULL, 0,
sec              3002 crypto/tcrypt.c 		test_mb_skcipher_speed("ecb(blowfish)", ENCRYPT, sec, NULL, 0,
sec              3004 crypto/tcrypt.c 		test_mb_skcipher_speed("ecb(blowfish)", DECRYPT, sec, NULL, 0,
sec              3006 crypto/tcrypt.c 		test_mb_skcipher_speed("cbc(blowfish)", ENCRYPT, sec, NULL, 0,
sec              3008 crypto/tcrypt.c 		test_mb_skcipher_speed("cbc(blowfish)", DECRYPT, sec, NULL, 0,
sec              3010 crypto/tcrypt.c 		test_mb_skcipher_speed("ctr(blowfish)", ENCRYPT, sec, NULL, 0,
sec              3012 crypto/tcrypt.c 		test_mb_skcipher_speed("ctr(blowfish)", DECRYPT, sec, NULL, 0,
sec              3074 crypto/tcrypt.c module_param(sec, uint, 0);
sec              3075 crypto/tcrypt.c MODULE_PARM_DESC(sec, "Length in seconds of speed tests "
sec                74 drivers/atm/ambassador.h #define PRINTDDB(sec,fmt,args...)
sec                75 drivers/atm/ambassador.h #define PRINTDDM(sec,fmt,args...)
sec                76 drivers/atm/ambassador.h #define PRINTDDE(sec,fmt,args...)
sec                74 drivers/atm/horizon.h #define PRINTDD(sec,fmt,args...)
sec                75 drivers/atm/horizon.h #define PRINTDDB(sec,fmt,args...)
sec                76 drivers/atm/horizon.h #define PRINTDDM(sec,fmt,args...)
sec                77 drivers/atm/horizon.h #define PRINTDDE(sec,fmt,args...)
sec               985 drivers/block/amiflop.c 		sec,     /* 0-...*/
sec              1180 drivers/block/amiflop.c 		       hdr.sec, hdr.len_desc, hdr.crc);
sec              1213 drivers/block/amiflop.c 			       unit[drive].track, drive, scnt, hdr.sec);
sec              1223 drivers/block/amiflop.c 			       hdr.track,hdr.side,hdr.sec,hdr.len_desc,scnt);
sec              1228 drivers/block/amiflop.c 		raw = dos_decode((unsigned char *)(unit[drive].trackbuf + (hdr.sec - 1) * 512), (ushort *) raw, 512);
sec              1230 drivers/block/amiflop.c 		crc = dos_data_crc(unit[drive].trackbuf + (hdr.sec - 1) * 512);
sec              1235 drivers/block/amiflop.c 			       hdr.sec, hdr.len_desc, scnt,data_crc[0], crc);
sec              1237 drivers/block/amiflop.c 			       ((ulong *)(unit[drive].trackbuf+(hdr.sec-1)*512))[0],
sec              1238 drivers/block/amiflop.c 			       ((ulong *)(unit[drive].trackbuf+(hdr.sec-1)*512))[1],
sec              1239 drivers/block/amiflop.c 			       ((ulong *)(unit[drive].trackbuf+(hdr.sec-1)*512))[2],
sec              1240 drivers/block/amiflop.c 			       ((ulong *)(unit[drive].trackbuf+(hdr.sec-1)*512))[3]);
sec              1290 drivers/block/amiflop.c 	hdr.sec=cnt+1;
sec               363 drivers/block/ataflop.c #define	SECTOR_BUFFER(sec)	(TrackBuffer + ((sec)-1)*512)
sec               106 drivers/char/rtc.c #define hpet_set_alarm_time(hrs, min, sec)	0
sec               481 drivers/char/rtc.c 		unsigned char hrs, min, sec;
sec               490 drivers/char/rtc.c 		sec = alm_tm.tm_sec;
sec               493 drivers/char/rtc.c 		if (hpet_set_alarm_time(hrs, min, sec)) {
sec               501 drivers/char/rtc.c 			if (sec < 60)
sec               502 drivers/char/rtc.c 				sec = bin2bcd(sec);
sec               504 drivers/char/rtc.c 				sec = 0xff;
sec               518 drivers/char/rtc.c 		CMOS_WRITE(sec, RTC_SECONDS_ALARM);
sec               532 drivers/char/rtc.c 		unsigned char mon, day, hrs, min, sec, leap_yr;
sec               551 drivers/char/rtc.c 		sec = rtc_tm.tm_sec;
sec               564 drivers/char/rtc.c 		if ((hrs >= 24) || (min >= 60) || (sec >= 60))
sec               598 drivers/char/rtc.c 			sec = bin2bcd(sec);
sec               619 drivers/char/rtc.c 		CMOS_WRITE(sec, RTC_SECONDS);
sec                68 drivers/crypto/qat/qat_common/adf_cfg.c 	struct adf_cfg_section *sec =
sec                71 drivers/crypto/qat/qat_common/adf_cfg.c 	seq_printf(sfile, "[%s]\n", sec->name);
sec                72 drivers/crypto/qat/qat_common/adf_cfg.c 	list_for_each(list, &sec->param_head) {
sec               187 drivers/crypto/qat/qat_common/adf_cfg.c 			       struct adf_cfg_section *sec)
sec               189 drivers/crypto/qat/qat_common/adf_cfg.c 	list_add_tail(&new->list, &sec->param_head);
sec               251 drivers/crypto/qat/qat_common/adf_cfg.c 	struct adf_cfg_section *sec = adf_cfg_sec_find(accel_dev, sec_name);
sec               254 drivers/crypto/qat/qat_common/adf_cfg.c 	if (sec)
sec               255 drivers/crypto/qat/qat_common/adf_cfg.c 		keyval = adf_cfg_key_value_find(sec, key_name);
sec               331 drivers/crypto/qat/qat_common/adf_cfg.c 	struct adf_cfg_section *sec = adf_cfg_sec_find(accel_dev, name);
sec               333 drivers/crypto/qat/qat_common/adf_cfg.c 	if (sec)
sec               336 drivers/crypto/qat/qat_common/adf_cfg.c 	sec = kzalloc(sizeof(*sec), GFP_KERNEL);
sec               337 drivers/crypto/qat/qat_common/adf_cfg.c 	if (!sec)
sec               340 drivers/crypto/qat/qat_common/adf_cfg.c 	strlcpy(sec->name, name, sizeof(sec->name));
sec               341 drivers/crypto/qat/qat_common/adf_cfg.c 	INIT_LIST_HEAD(&sec->param_head);
sec               343 drivers/crypto/qat/qat_common/adf_cfg.c 	list_add_tail(&sec->list, &cfg->sec_list);
sec               163 drivers/edac/ppc4xx_edac.c 		int sec;	/* Single-bit correctable error IRQ assigned */
sec              1145 drivers/edac/ppc4xx_edac.c 	pdata->irqs.sec = sec_irq;
sec              1352 drivers/edac/ppc4xx_edac.c 		free_irq(pdata->irqs.sec, mci);
sec               413 drivers/firmware/efi/cper.c 	__u8 hour, min, sec, day, mon, year, century, *timestamp;
sec               417 drivers/firmware/efi/cper.c 		sec       = bcd2bin(timestamp[0]);
sec               427 drivers/firmware/efi/cper.c 		       century, year, mon, day, hour, min, sec);
sec               100 drivers/firmware/google/vpd.c 	struct vpd_section *sec = arg;
sec               131 drivers/firmware/google/vpd.c 	ret = sysfs_create_bin_file(sec->kobj, &info->bin_attr);
sec               135 drivers/firmware/google/vpd.c 	list_add_tail(&info->list, &sec->attribs);
sec               146 drivers/firmware/google/vpd.c static void vpd_section_attrib_destroy(struct vpd_section *sec)
sec               151 drivers/firmware/google/vpd.c 	list_for_each_entry_safe(info, temp, &sec->attribs, list) {
sec               152 drivers/firmware/google/vpd.c 		sysfs_remove_bin_file(sec->kobj, &info->bin_attr);
sec               162 drivers/firmware/google/vpd.c 	struct vpd_section *sec = bin_attr->private;
sec               164 drivers/firmware/google/vpd.c 	return memory_read_from_buffer(buf, count, &pos, sec->baseaddr,
sec               165 drivers/firmware/google/vpd.c 				       sec->bin_attr.size);
sec               168 drivers/firmware/google/vpd.c static int vpd_section_create_attribs(struct vpd_section *sec)
sec               175 drivers/firmware/google/vpd.c 		ret = vpd_decode_string(sec->bin_attr.size, sec->baseaddr,
sec               176 drivers/firmware/google/vpd.c 					&consumed, vpd_section_attrib_add, sec);
sec               182 drivers/firmware/google/vpd.c static int vpd_section_init(const char *name, struct vpd_section *sec,
sec               187 drivers/firmware/google/vpd.c 	sec->baseaddr = memremap(physaddr, size, MEMREMAP_WB);
sec               188 drivers/firmware/google/vpd.c 	if (!sec->baseaddr)
sec               191 drivers/firmware/google/vpd.c 	sec->name = name;
sec               194 drivers/firmware/google/vpd.c 	sec->raw_name = kasprintf(GFP_KERNEL, "%s_raw", name);
sec               195 drivers/firmware/google/vpd.c 	if (!sec->raw_name) {
sec               200 drivers/firmware/google/vpd.c 	sysfs_bin_attr_init(&sec->bin_attr);
sec               201 drivers/firmware/google/vpd.c 	sec->bin_attr.attr.name = sec->raw_name;
sec               202 drivers/firmware/google/vpd.c 	sec->bin_attr.attr.mode = 0444;
sec               203 drivers/firmware/google/vpd.c 	sec->bin_attr.size = size;
sec               204 drivers/firmware/google/vpd.c 	sec->bin_attr.read = vpd_section_read;
sec               205 drivers/firmware/google/vpd.c 	sec->bin_attr.private = sec;
sec               207 drivers/firmware/google/vpd.c 	err = sysfs_create_bin_file(vpd_kobj, &sec->bin_attr);
sec               211 drivers/firmware/google/vpd.c 	sec->kobj = kobject_create_and_add(name, vpd_kobj);
sec               212 drivers/firmware/google/vpd.c 	if (!sec->kobj) {
sec               217 drivers/firmware/google/vpd.c 	INIT_LIST_HEAD(&sec->attribs);
sec               218 drivers/firmware/google/vpd.c 	vpd_section_create_attribs(sec);
sec               220 drivers/firmware/google/vpd.c 	sec->enabled = true;
sec               225 drivers/firmware/google/vpd.c 	sysfs_remove_bin_file(vpd_kobj, &sec->bin_attr);
sec               227 drivers/firmware/google/vpd.c 	kfree(sec->raw_name);
sec               229 drivers/firmware/google/vpd.c 	memunmap(sec->baseaddr);
sec               233 drivers/firmware/google/vpd.c static int vpd_section_destroy(struct vpd_section *sec)
sec               235 drivers/firmware/google/vpd.c 	if (sec->enabled) {
sec               236 drivers/firmware/google/vpd.c 		vpd_section_attrib_destroy(sec);
sec               237 drivers/firmware/google/vpd.c 		kobject_put(sec->kobj);
sec               238 drivers/firmware/google/vpd.c 		sysfs_remove_bin_file(vpd_kobj, &sec->bin_attr);
sec               239 drivers/firmware/google/vpd.c 		kfree(sec->raw_name);
sec               240 drivers/firmware/google/vpd.c 		memunmap(sec->baseaddr);
sec               241 drivers/firmware/google/vpd.c 		sec->enabled = false;
sec              1017 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	const u16 *pri, *sec;
sec              1031 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	sec = cmd_db_read_aux_data("mx.lvl", &sec_count);
sec              1032 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 	if (IS_ERR(sec))
sec              1033 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 		return PTR_ERR(sec);
sec              1069 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 			if (sec[j] >= level) {
sec              1072 drivers/gpu/drm/msm/adreno/a6xx_gmu.c 			} else if (sec[j]) {
sec               175 drivers/gpu/drm/nouveau/include/nvkm/core/device.h 	struct nvkm_engine *sec;
sec               248 drivers/gpu/drm/nouveau/include/nvkm/core/device.h 	int (*sec     )(struct nvkm_device *, int idx, struct nvkm_engine **);
sec              1105 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	.sec = g98_sec_new,
sec              1269 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	.sec = g98_sec_new,
sec              1301 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	.sec = g98_sec_new,
sec              2713 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 	_(SEC    , device->sec     ,  device->sec);
sec              3201 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c 		_(NVKM_ENGINE_SEC     ,      sec);
sec                43 drivers/gpu/drm/nouveau/nvkm/engine/sec/g98.c g98_sec_intr(struct nvkm_falcon *sec, struct nvkm_fifo_chan *chan)
sec                45 drivers/gpu/drm/nouveau/nvkm/engine/sec/g98.c 	struct nvkm_subdev *subdev = &sec->engine.subdev;
sec                32 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c pmu_code(struct nv50_devinit *init, u32 pmu, u32 img, u32 len, bool sec)
sec                38 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c 	nvkm_wr32(device, 0x10a180, 0x01000000 | (sec ? 0x10000000 : 0) | pmu);
sec               166 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	const struct nvkm_sec2 *sec = acr->subdev->device->sec2;
sec               175 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r361.c 	addr_args = sec->falcon->data.limit;
sec                90 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c 	const struct nvkm_sec2 *sec = acr->subdev->device->sec2;
sec                99 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r370.c 	addr_args = sec->falcon->data.limit;
sec               143 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c 	struct nvkm_sec2 *sec = sb->subdev.device->sec2;
sec               151 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c 	ret = nvkm_msgqueue_new(img->ucode_desc.app_version, sec->falcon,
sec               152 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c 				sb, &sec->queue);
sec               164 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c 	struct nvkm_sec2 *sec = device->sec2;
sec               169 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c 	ret = acr_ls_msgqueue_post_run(sec->queue, sec->falcon, addr_args);
sec               220 drivers/hid/intel-ish-hid/ishtp/ishtp-dev.h static inline unsigned long ishtp_secs_to_jiffies(unsigned long sec)
sec               222 drivers/hid/intel-ish-hid/ishtp/ishtp-dev.h 	return msecs_to_jiffies(sec * MSEC_PER_SEC);
sec                82 drivers/iio/accel/mma9553.c #define MMA9553_ACTIVITY_SEC_TO_THD(sec) ((sec) * MMA9553_DEFAULT_SAMPLE_RATE)
sec               233 drivers/infiniband/core/core_priv.h void ib_destroy_qp_security_begin(struct ib_qp_security *sec);
sec               234 drivers/infiniband/core/core_priv.h void ib_destroy_qp_security_abort(struct ib_qp_security *sec);
sec               235 drivers/infiniband/core/core_priv.h void ib_destroy_qp_security_end(struct ib_qp_security *sec);
sec               237 drivers/infiniband/core/core_priv.h void ib_close_shared_qp_security(struct ib_qp_security *sec);
sec               271 drivers/infiniband/core/core_priv.h static inline void ib_destroy_qp_security_begin(struct ib_qp_security *sec)
sec               275 drivers/infiniband/core/core_priv.h static inline void ib_destroy_qp_security_abort(struct ib_qp_security *sec)
sec               279 drivers/infiniband/core/core_priv.h static inline void ib_destroy_qp_security_end(struct ib_qp_security *sec)
sec               289 drivers/infiniband/core/core_priv.h static inline void ib_close_shared_qp_security(struct ib_qp_security *sec)
sec                50 drivers/infiniband/core/security.c 	struct ib_device *dev = pp->sec->dev;
sec                68 drivers/infiniband/core/security.c 	struct ib_device *dev = pp->sec->dev;
sec               112 drivers/infiniband/core/security.c 				       struct ib_qp_security *sec)
sec               130 drivers/infiniband/core/security.c 					       sec);
sec               144 drivers/infiniband/core/security.c 					       sec);
sec               153 drivers/infiniband/core/security.c static void qp_to_error(struct ib_qp_security *sec)
sec               167 drivers/infiniband/core/security.c 	if (sec->destroying)
sec               170 drivers/infiniband/core/security.c 	ib_modify_qp(sec->qp,
sec               174 drivers/infiniband/core/security.c 	if (sec->qp->event_handler && sec->qp->qp_context) {
sec               175 drivers/infiniband/core/security.c 		event.element.qp = sec->qp;
sec               176 drivers/infiniband/core/security.c 		sec->qp->event_handler(&event,
sec               177 drivers/infiniband/core/security.c 				       sec->qp->qp_context);
sec               181 drivers/infiniband/core/security.c 			    &sec->shared_qp_list,
sec               210 drivers/infiniband/core/security.c 			if (atomic_read(&pp->sec->error_list_count))
sec               215 drivers/infiniband/core/security.c 						     pp->sec)) {
sec               216 drivers/infiniband/core/security.c 				atomic_inc(&pp->sec->error_list_count);
sec               228 drivers/infiniband/core/security.c 		mutex_lock(&pp->sec->mutex);
sec               229 drivers/infiniband/core/security.c 		qp_to_error(pp->sec);
sec               231 drivers/infiniband/core/security.c 		atomic_dec(&pp->sec->error_list_count);
sec               232 drivers/infiniband/core/security.c 		comp = pp->sec->destroying;
sec               233 drivers/infiniband/core/security.c 		mutex_unlock(&pp->sec->mutex);
sec               236 drivers/infiniband/core/security.c 			complete(&pp->sec->error_complete);
sec               254 drivers/infiniband/core/security.c 	dev = pp->sec->dev;
sec               321 drivers/infiniband/core/security.c static void destroy_qp_security(struct ib_qp_security *sec)
sec               323 drivers/infiniband/core/security.c 	security_ib_free_security(sec->security);
sec               324 drivers/infiniband/core/security.c 	kfree(sec->ports_pkeys);
sec               325 drivers/infiniband/core/security.c 	kfree(sec);
sec               368 drivers/infiniband/core/security.c 	new_pps->main.sec = qp->qp_sec;
sec               369 drivers/infiniband/core/security.c 	new_pps->alt.sec = qp->qp_sec;
sec               404 drivers/infiniband/core/security.c void ib_close_shared_qp_security(struct ib_qp_security *sec)
sec               406 drivers/infiniband/core/security.c 	struct ib_qp *real_qp = sec->qp->real_qp;
sec               409 drivers/infiniband/core/security.c 	list_del(&sec->shared_qp_list);
sec               412 drivers/infiniband/core/security.c 	destroy_qp_security(sec);
sec               451 drivers/infiniband/core/security.c void ib_destroy_qp_security_begin(struct ib_qp_security *sec)
sec               454 drivers/infiniband/core/security.c 	if (!sec)
sec               457 drivers/infiniband/core/security.c 	mutex_lock(&sec->mutex);
sec               462 drivers/infiniband/core/security.c 	if (sec->ports_pkeys) {
sec               463 drivers/infiniband/core/security.c 		port_pkey_list_remove(&sec->ports_pkeys->main);
sec               464 drivers/infiniband/core/security.c 		port_pkey_list_remove(&sec->ports_pkeys->alt);
sec               471 drivers/infiniband/core/security.c 	sec->destroying = true;
sec               476 drivers/infiniband/core/security.c 	sec->error_comps_pending = atomic_read(&sec->error_list_count);
sec               478 drivers/infiniband/core/security.c 	mutex_unlock(&sec->mutex);
sec               481 drivers/infiniband/core/security.c void ib_destroy_qp_security_abort(struct ib_qp_security *sec)
sec               487 drivers/infiniband/core/security.c 	if (!sec)
sec               494 drivers/infiniband/core/security.c 	for (i = 0; i < sec->error_comps_pending; i++)
sec               495 drivers/infiniband/core/security.c 		wait_for_completion(&sec->error_complete);
sec               497 drivers/infiniband/core/security.c 	mutex_lock(&sec->mutex);
sec               498 drivers/infiniband/core/security.c 	sec->destroying = false;
sec               509 drivers/infiniband/core/security.c 	if (sec->ports_pkeys) {
sec               510 drivers/infiniband/core/security.c 		port_pkey_list_insert(&sec->ports_pkeys->main);
sec               511 drivers/infiniband/core/security.c 		port_pkey_list_insert(&sec->ports_pkeys->alt);
sec               514 drivers/infiniband/core/security.c 	ret = check_qp_port_pkey_settings(sec->ports_pkeys, sec);
sec               516 drivers/infiniband/core/security.c 		qp_to_error(sec);
sec               518 drivers/infiniband/core/security.c 	mutex_unlock(&sec->mutex);
sec               521 drivers/infiniband/core/security.c void ib_destroy_qp_security_end(struct ib_qp_security *sec)
sec               526 drivers/infiniband/core/security.c 	if (!sec)
sec               534 drivers/infiniband/core/security.c 	for (i = 0; i < sec->error_comps_pending; i++)
sec               535 drivers/infiniband/core/security.c 		wait_for_completion(&sec->error_complete);
sec               537 drivers/infiniband/core/security.c 	destroy_qp_security(sec);
sec               654 drivers/infiniband/core/security.c 				   void *sec)
sec               672 drivers/infiniband/core/security.c 	return security_ib_pkey_access(sec, subnet_prefix, pkey);
sec              1864 drivers/infiniband/core/verbs.c 	struct ib_qp_security *sec;
sec              1880 drivers/infiniband/core/verbs.c 	sec  = qp->qp_sec;
sec              1881 drivers/infiniband/core/verbs.c 	if (sec)
sec              1882 drivers/infiniband/core/verbs.c 		ib_destroy_qp_security_begin(sec);
sec              1905 drivers/infiniband/core/verbs.c 		if (sec)
sec              1906 drivers/infiniband/core/verbs.c 			ib_destroy_qp_security_end(sec);
sec              1908 drivers/infiniband/core/verbs.c 		if (sec)
sec              1909 drivers/infiniband/core/verbs.c 			ib_destroy_qp_security_abort(sec);
sec                24 drivers/input/input-compat.c 		event->input_event_sec = compat_event.sec;
sec                44 drivers/input/input-compat.c 		compat_event.sec = event->input_event_sec;
sec                18 drivers/input/input-compat.h 	compat_ulong_t sec;
sec               585 drivers/input/misc/hp_sdc_rtc.c 		ttime.sec = alm_tm.tm_hour * 3600 + 
sec               599 drivers/input/misc/hp_sdc_rtc.c                 unsigned char mon, day, hrs, min, sec, leap_yr;
sec               613 drivers/input/misc/hp_sdc_rtc.c                 sec = hp_sdc_rtc_tm.tm_sec;
sec               624 drivers/input/misc/hp_sdc_rtc.c 		if ((hrs >= 24) || (min >= 60) || (sec >= 60))
sec               992 drivers/lightnvm/pblk.h 		ppa.g.sec = (paddr & ppaf->sec_mask) >> ppaf->sec_offset;
sec              1002 drivers/lightnvm/pblk.h 		ppa.m.sec = secs;
sec              1010 drivers/lightnvm/pblk.h 		ppa.m.sec += uaddrf->sec_stripe * paddr;
sec              1049 drivers/lightnvm/pblk.h 		paddr |= (u64)p.g.sec << ppaf->sec_offset;
sec              1052 drivers/lightnvm/pblk.h 		u64 secs = p.m.sec;
sec              1204 drivers/lightnvm/pblk.h 			p->g.pg, p->g.pl, p->g.sec);
sec              1208 drivers/lightnvm/pblk.h 			p->m.grp, p->m.pu, p->m.chk, p->m.sec);
sec              1247 drivers/lightnvm/pblk.h 					ppa->g.sec < geo->ws_min)
sec              1254 drivers/lightnvm/pblk.h 					ppa->m.sec < geo->clba)
sec                81 drivers/md/bcache/sysfs.c sysfs_time_stats_attribute(btree_gc,	sec, ms);
sec                82 drivers/md/bcache/sysfs.c sysfs_time_stats_attribute(btree_split, sec, us);
sec               720 drivers/md/bcache/sysfs.c 	sysfs_print_time_stats(&c->btree_gc_time,	btree_gc, sec, ms);
sec               721 drivers/md/bcache/sysfs.c 	sysfs_print_time_stats(&c->btree_split_time,	btree_split, sec, us);
sec               952 drivers/md/bcache/sysfs.c 	sysfs_time_stats_attribute_list(btree_gc, sec, ms)
sec               953 drivers/md/bcache/sysfs.c 	sysfs_time_stats_attribute_list(btree_split, sec, us)
sec              2175 drivers/md/dm-integrity.c 			sector_t sec, area, offset;
sec              2184 drivers/md/dm-integrity.c 			sec = journal_entry_get_sector(je);
sec              2186 drivers/md/dm-integrity.c 				if (unlikely(sec & (unsigned)(ic->sectors_per_block - 1))) {
sec              2188 drivers/md/dm-integrity.c 					sec &= ~(sector_t)(ic->sectors_per_block - 1);
sec              2191 drivers/md/dm-integrity.c 			get_area_and_offset(ic, sec, &area, &offset);
sec              2209 drivers/md/dm-integrity.c 			io->range.logical_sector = sec;
sec              2225 drivers/md/dm-integrity.c 					sec += ic->sectors_per_block;
sec              2259 drivers/md/dm-integrity.c 					integrity_sector_checksum(ic, sec + ((l - j) << ic->sb->log2_sectors_per_block),
sec              1696 drivers/md/md-bitmap.c 		sector_t sec = (sector_t)chunk << bitmap->counts.chunkshift;
sec              1697 drivers/md/md-bitmap.c 		md_bitmap_set_memory_bits(bitmap, sec, 1);
sec              1698 drivers/md/md-bitmap.c 		md_bitmap_file_set_bit(bitmap, sec);
sec              1699 drivers/md/md-bitmap.c 		if (sec < bitmap->mddev->recovery_cp)
sec              1704 drivers/md/md-bitmap.c 			bitmap->mddev->recovery_cp = sec;
sec               376 drivers/media/dvb-core/dmxdev.c 	struct dmx_sct_filter_params *para = &dmxdevfilter->params.sec;
sec               424 drivers/media/dvb-core/dmxdev.c 	if (dmxdevfilter->params.sec.flags & DMX_ONESHOT)
sec               496 drivers/media/dvb-core/dmxdev.c 		dmxdevfilter->feed.sec->stop_filtering(dmxdevfilter->feed.sec);
sec               518 drivers/media/dvb-core/dmxdev.c 		return filter->feed.sec->start_filtering(filter->feed.sec);
sec               541 drivers/media/dvb-core/dmxdev.c 	u16 pid = filter->params.sec.pid;
sec               546 drivers/media/dvb-core/dmxdev.c 		    dmxdev->filter[i].params.sec.pid == pid) {
sec               552 drivers/media/dvb-core/dmxdev.c 						 filter->feed.sec);
sec               567 drivers/media/dvb-core/dmxdev.c 		if (!dmxdevfilter->feed.sec)
sec               570 drivers/media/dvb-core/dmxdev.c 		if (dmxdevfilter->filter.sec)
sec               571 drivers/media/dvb-core/dmxdev.c 			dmxdevfilter->feed.sec->
sec               572 drivers/media/dvb-core/dmxdev.c 			    release_filter(dmxdevfilter->feed.sec,
sec               573 drivers/media/dvb-core/dmxdev.c 					   dmxdevfilter->filter.sec);
sec               575 drivers/media/dvb-core/dmxdev.c 		dmxdevfilter->feed.sec = NULL;
sec               700 drivers/media/dvb-core/dmxdev.c 		struct dmx_sct_filter_params *para = &filter->params.sec;
sec               701 drivers/media/dvb-core/dmxdev.c 		struct dmx_section_filter **secfilter = &filter->filter.sec;
sec               702 drivers/media/dvb-core/dmxdev.c 		struct dmx_section_feed **secfeed = &filter->feed.sec;
sec               712 drivers/media/dvb-core/dmxdev.c 			    dmxdev->filter[i].params.sec.pid == para->pid) {
sec               713 drivers/media/dvb-core/dmxdev.c 				*secfeed = dmxdev->filter[i].feed.sec;
sec               744 drivers/media/dvb-core/dmxdev.c 			filter->feed.sec->start_filtering(*secfeed);
sec               766 drivers/media/dvb-core/dmxdev.c 		ret = filter->feed.sec->start_filtering(filter->feed.sec);
sec               931 drivers/media/dvb-core/dmxdev.c 	memcpy(&dmxdevfilter->params.sec,
sec               933 drivers/media/dvb-core/dmxdev.c 	invert_mode(&dmxdevfilter->params.sec.filter);
sec               100 drivers/media/dvb-core/dvb_demux.c 	return (f->feed.sec.crc_val = crc32_be(f->feed.sec.crc_val, src, len));
sec               151 drivers/media/dvb-core/dvb_demux.c 		u8 xor = f->filter.filter_value[i] ^ feed->feed.sec.secbuf[i];
sec               162 drivers/media/dvb-core/dvb_demux.c 	return feed->cb.sec(feed->feed.sec.secbuf, feed->feed.sec.seclen,
sec               170 drivers/media/dvb-core/dvb_demux.c 	struct dmx_section_feed *sec = &feed->feed.sec;
sec               173 drivers/media/dvb-core/dvb_demux.c 	if (!sec->is_filtering)
sec               179 drivers/media/dvb-core/dvb_demux.c 	if (sec->check_crc) {
sec               180 drivers/media/dvb-core/dvb_demux.c 		section_syntax_indicator = ((sec->secbuf[1] & 0x80) != 0);
sec               182 drivers/media/dvb-core/dvb_demux.c 		    demux->check_crc32(feed, sec->secbuf, sec->seclen)) {
sec               191 drivers/media/dvb-core/dvb_demux.c 	} while ((f = f->next) && sec->is_filtering);
sec               193 drivers/media/dvb-core/dvb_demux.c 	sec->seclen = 0;
sec               200 drivers/media/dvb-core/dvb_demux.c 	struct dmx_section_feed *sec = &feed->feed.sec;
sec               202 drivers/media/dvb-core/dvb_demux.c 	if (sec->secbufp < sec->tsfeedp) {
sec               203 drivers/media/dvb-core/dvb_demux.c 		int n = sec->tsfeedp - sec->secbufp;
sec               210 drivers/media/dvb-core/dvb_demux.c 		if (sec->secbuf[0] != 0xff || sec->secbuf[n - 1] != 0xff) {
sec               214 drivers/media/dvb-core/dvb_demux.c 					  n, sec->tsfeedp);
sec               215 drivers/media/dvb-core/dvb_demux.c 			dprintk_sect_loss("pad data: %*ph\n", n, sec->secbuf);
sec               219 drivers/media/dvb-core/dvb_demux.c 	sec->tsfeedp = sec->secbufp = sec->seclen = 0;
sec               220 drivers/media/dvb-core/dvb_demux.c 	sec->secbuf = sec->secbuf_base;
sec               245 drivers/media/dvb-core/dvb_demux.c 	struct dmx_section_feed *sec = &feed->feed.sec;
sec               248 drivers/media/dvb-core/dvb_demux.c 	if (sec->tsfeedp >= DMX_MAX_SECFEED_SIZE)
sec               251 drivers/media/dvb-core/dvb_demux.c 	if (sec->tsfeedp + len > DMX_MAX_SECFEED_SIZE) {
sec               254 drivers/media/dvb-core/dvb_demux.c 				  sec->tsfeedp + len - DMX_MAX_SECFEED_SIZE,
sec               256 drivers/media/dvb-core/dvb_demux.c 		len = DMX_MAX_SECFEED_SIZE - sec->tsfeedp;
sec               262 drivers/media/dvb-core/dvb_demux.c 	demux->memcopy(feed, sec->secbuf_base + sec->tsfeedp, buf, len);
sec               263 drivers/media/dvb-core/dvb_demux.c 	sec->tsfeedp += len;
sec               268 drivers/media/dvb-core/dvb_demux.c 	limit = sec->tsfeedp;
sec               273 drivers/media/dvb-core/dvb_demux.c 	sec->secbuf = sec->secbuf_base + sec->secbufp;
sec               275 drivers/media/dvb-core/dvb_demux.c 	for (n = 0; sec->secbufp + 2 < limit; n++) {
sec               276 drivers/media/dvb-core/dvb_demux.c 		seclen = section_length(sec->secbuf);
sec               278 drivers/media/dvb-core/dvb_demux.c 		    || seclen + sec->secbufp > limit)
sec               280 drivers/media/dvb-core/dvb_demux.c 		sec->seclen = seclen;
sec               281 drivers/media/dvb-core/dvb_demux.c 		sec->crc_val = ~0;
sec               290 drivers/media/dvb-core/dvb_demux.c 		sec->secbufp += seclen;	/* secbufp and secbuf moving together is */
sec               291 drivers/media/dvb-core/dvb_demux.c 		sec->secbuf += seclen;	/* redundant but saves pointer arithmetic */
sec               399 drivers/media/dvb-core/dvb_demux.c 		if (!feed->feed.sec.is_filtering)
sec               402 drivers/media/dvb-core/dvb_demux.c 			feed->feed.sec.seclen = feed->feed.sec.secbufp = 0;
sec               922 drivers/media/dvb-core/dvb_demux.c 	dvbdmxfeed->feed.sec.check_crc = check_crc;
sec               970 drivers/media/dvb-core/dvb_demux.c 	dvbdmxfeed->feed.sec.tsfeedp = 0;
sec               971 drivers/media/dvb-core/dvb_demux.c 	dvbdmxfeed->feed.sec.secbuf = dvbdmxfeed->feed.sec.secbuf_base;
sec               972 drivers/media/dvb-core/dvb_demux.c 	dvbdmxfeed->feed.sec.secbufp = 0;
sec               973 drivers/media/dvb-core/dvb_demux.c 	dvbdmxfeed->feed.sec.seclen = 0;
sec              1075 drivers/media/dvb-core/dvb_demux.c 	dvbdmxfeed->cb.sec = callback;
sec              1079 drivers/media/dvb-core/dvb_demux.c 	dvbdmxfeed->feed.sec.secbuf = dvbdmxfeed->feed.sec.secbuf_base;
sec              1080 drivers/media/dvb-core/dvb_demux.c 	dvbdmxfeed->feed.sec.secbufp = dvbdmxfeed->feed.sec.seclen = 0;
sec              1081 drivers/media/dvb-core/dvb_demux.c 	dvbdmxfeed->feed.sec.tsfeedp = 0;
sec              1084 drivers/media/dvb-core/dvb_demux.c 	(*feed) = &dvbdmxfeed->feed.sec;
sec                52 drivers/media/pci/solo6x10/solo6x10-core.c 	u32 sec, usec;
sec                64 drivers/media/pci/solo6x10/solo6x10-core.c 	sec = solo_reg_read(solo_dev, SOLO_TIMER_SEC);
sec                69 drivers/media/pci/solo6x10/solo6x10-core.c 	diff = (s32)ts.tv_sec - (s32)sec;
sec               626 drivers/media/pci/solo6x10/solo6x10-regs.h #define SOLO_WATCHDOG_SET(status, sec)		(status << 8 | (sec & 0xff))
sec               307 drivers/media/pci/ttpci/av7110.c 		return dvbdmxfilter->feed->cb.sec(buffer1, buffer1_len,
sec               996 drivers/media/pci/ttpci/av7110.c 			if (demux->filter[i].filter.parent != &feed->feed.sec)
sec              1043 drivers/media/pci/ttpci/av7110.c 			    demux->filter[i].filter.parent == &feed->feed.sec) {
sec              1082 drivers/media/pci/ttpci/av7110.c 					if (dvbdmx->filter[j].filter.parent != &feed->feed.sec)
sec               581 drivers/media/usb/ttusb-dec/ttusb_dec.c 		filter->feed->cb.sec(&packet[2], length - 2, NULL, 0,
sec              1749 drivers/memstick/core/ms_block.c 		msb->geometry.sectors = chs_table[i].sec;
sec               267 drivers/memstick/core/ms_block.h 	unsigned char sec;
sec               536 drivers/misc/mei/mei_dev.h static inline unsigned long mei_secs_to_jiffies(unsigned long sec)
sec               538 drivers/misc/mei/mei_dev.h 	return msecs_to_jiffies(sec * MSEC_PER_SEC);
sec               113 drivers/mtd/nand/raw/mtk_nand.c 	u32 sec;
sec               198 drivers/mtd/nand/raw/mtk_nand.c 	if (i < mtk_nand->bad_mark.sec)
sec               200 drivers/mtd/nand/raw/mtk_nand.c 	else if (i == mtk_nand->bad_mark.sec)
sec               636 drivers/mtd/nand/raw/mtk_nand.c 		bad_pos += nand->bad_mark.sec * mtk_data_len(chip);
sec               638 drivers/mtd/nand/raw/mtk_nand.c 		bad_pos += nand->bad_mark.sec * chip->ecc.size;
sec               664 drivers/mtd/nand/raw/mtk_nand.c 		if (i == mtk_nand->bad_mark.sec)
sec               692 drivers/mtd/nand/raw/mtk_nand.c 		if (i == mtk_nand->bad_mark.sec)
sec               999 drivers/mtd/nand/raw/mtk_nand.c 	if (clamp(mtk_nand->bad_mark.sec, start, end) == mtk_nand->bad_mark.sec)
sec              1040 drivers/mtd/nand/raw/mtk_nand.c 		if (i == mtk_nand->bad_mark.sec)
sec              1184 drivers/mtd/nand/raw/mtk_nand.c 		bm_ctl->sec = mtd->writesize / mtk_data_len(nand);
sec               639 drivers/mtd/sm_ftl.c 			ftl->sectors = chs_table[i].sec;
sec                65 drivers/mtd/sm_ftl.h 	unsigned char sec;
sec                58 drivers/mtd/ssfdc.c 	unsigned char sec;
sec                75 drivers/mtd/ssfdc.c 			unsigned char *sec)
sec                89 drivers/mtd/ssfdc.c 		if (sec)
sec                90 drivers/mtd/ssfdc.c 			*sec = chs_table[k].sec;
sec               783 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 				 enum xgbe_ecc_sec sec)
sec               790 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	switch (sec) {
sec              1540 drivers/net/ethernet/amd/xgbe/xgbe-dev.c static void xgbe_set_tstamp_time(struct xgbe_prv_data *pdata, unsigned int sec,
sec              1546 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	XGMAC_IOWRITE(pdata, MAC_STSUR, sec);
sec               812 drivers/net/ethernet/amd/xgbe/xgbe.h 	void (*set_tstamp_time)(struct xgbe_prv_data *, unsigned int sec,
sec              6297 drivers/net/ethernet/broadcom/tg3.c 			nsec = rq->perout.start.sec * 1000000000ULL +
sec              6300 drivers/net/ethernet/broadcom/tg3.c 			if (rq->perout.period.sec || rq->perout.period.nsec) {
sec               662 drivers/net/ethernet/cavium/liquidio/lio_main.c 	lt->sec = ts.tv_sec;
sec               990 drivers/net/ethernet/cavium/liquidio/liquidio_common.h 	s64 sec;   /* seconds */
sec              1266 drivers/net/ethernet/intel/e1000/e1000_hw.h 	u64 sec;
sec              3633 drivers/net/ethernet/intel/e1000/e1000_main.c 	adapter->stats.sec += er32(SEC);
sec               349 drivers/net/ethernet/intel/e1000e/hw.h 	u64 sec;
sec              5535 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_profile_section_header *sec;
sec              5547 drivers/net/ethernet/intel/i40e/i40e_common.c 		sec = I40E_SECTION_HEADER(profile, sec_off);
sec              5548 drivers/net/ethernet/intel/i40e/i40e_common.c 		if (sec->section.type == section_type)
sec              5549 drivers/net/ethernet/intel/i40e/i40e_common.c 			return sec;
sec              5611 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_profile_section_header *sec = NULL;
sec              5642 drivers/net/ethernet/intel/i40e/i40e_common.c 		sec = I40E_SECTION_HEADER(profile, sec_off);
sec              5644 drivers/net/ethernet/intel/i40e/i40e_common.c 			if (sec->section.type == SECTION_TYPE_MMIO ||
sec              5645 drivers/net/ethernet/intel/i40e/i40e_common.c 			    sec->section.type == SECTION_TYPE_AQ ||
sec              5646 drivers/net/ethernet/intel/i40e/i40e_common.c 			    sec->section.type == SECTION_TYPE_RB_AQ) {
sec              5652 drivers/net/ethernet/intel/i40e/i40e_common.c 			if (sec->section.type == SECTION_TYPE_RB_AQ ||
sec              5653 drivers/net/ethernet/intel/i40e/i40e_common.c 			    sec->section.type == SECTION_TYPE_RB_MMIO) {
sec              5678 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_profile_section_header *sec = NULL;
sec              5693 drivers/net/ethernet/intel/i40e/i40e_common.c 		sec = I40E_SECTION_HEADER(profile, sec_off);
sec              5695 drivers/net/ethernet/intel/i40e/i40e_common.c 		if (sec->section.type == SECTION_TYPE_AQ) {
sec              5696 drivers/net/ethernet/intel/i40e/i40e_common.c 			ddp_aq = (struct i40e_profile_aq_section *)&sec[1];
sec              5704 drivers/net/ethernet/intel/i40e/i40e_common.c 			sec->section.type = SECTION_TYPE_RB_AQ;
sec              5708 drivers/net/ethernet/intel/i40e/i40e_common.c 		if (sec->section.type != SECTION_TYPE_MMIO)
sec              5711 drivers/net/ethernet/intel/i40e/i40e_common.c 		section_size = sec->section.size +
sec              5715 drivers/net/ethernet/intel/i40e/i40e_common.c 		status = i40e_aq_write_ddp(hw, (void *)sec, (u16)section_size,
sec              5739 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_profile_section_header *sec = NULL;
sec              5756 drivers/net/ethernet/intel/i40e/i40e_common.c 		sec = I40E_SECTION_HEADER(profile, sec_off);
sec              5759 drivers/net/ethernet/intel/i40e/i40e_common.c 		if (sec->section.type != SECTION_TYPE_RB_MMIO)
sec              5762 drivers/net/ethernet/intel/i40e/i40e_common.c 		section_size = sec->section.size +
sec              5766 drivers/net/ethernet/intel/i40e/i40e_common.c 		status = i40e_aq_write_ddp(hw, (void *)sec, (u16)section_size,
sec              5793 drivers/net/ethernet/intel/i40e/i40e_common.c 	struct i40e_profile_section_header *sec = NULL;
sec              5797 drivers/net/ethernet/intel/i40e/i40e_common.c 	sec = (struct i40e_profile_section_header *)profile_info_sec;
sec              5798 drivers/net/ethernet/intel/i40e/i40e_common.c 	sec->tbl_size = 1;
sec              5799 drivers/net/ethernet/intel/i40e/i40e_common.c 	sec->data_end = sizeof(struct i40e_profile_section_header) +
sec              5801 drivers/net/ethernet/intel/i40e/i40e_common.c 	sec->section.type = SECTION_TYPE_INFO;
sec              5802 drivers/net/ethernet/intel/i40e/i40e_common.c 	sec->section.offset = sizeof(struct i40e_profile_section_header);
sec              5803 drivers/net/ethernet/intel/i40e/i40e_common.c 	sec->section.size = sizeof(struct i40e_profile_info);
sec              5805 drivers/net/ethernet/intel/i40e/i40e_common.c 					     sec->section.offset);
sec              5811 drivers/net/ethernet/intel/i40e/i40e_common.c 	status = i40e_aq_write_ddp(hw, (void *)sec, sec->data_end,
sec               124 drivers/net/ethernet/intel/i40e/i40e_ddp.c 	struct i40e_profile_section_header *sec;
sec               129 drivers/net/ethernet/intel/i40e/i40e_ddp.c 	sec = (struct i40e_profile_section_header *)profile_info_sec;
sec               130 drivers/net/ethernet/intel/i40e/i40e_ddp.c 	sec->tbl_size = 1;
sec               131 drivers/net/ethernet/intel/i40e/i40e_ddp.c 	sec->data_end = sizeof(struct i40e_profile_section_header) +
sec               133 drivers/net/ethernet/intel/i40e/i40e_ddp.c 	sec->section.type = SECTION_TYPE_INFO;
sec               134 drivers/net/ethernet/intel/i40e/i40e_ddp.c 	sec->section.offset = sizeof(struct i40e_profile_section_header);
sec               135 drivers/net/ethernet/intel/i40e/i40e_ddp.c 	sec->section.size = sizeof(struct i40e_profile_info);
sec               137 drivers/net/ethernet/intel/i40e/i40e_ddp.c 					     sec->section.offset);
sec               146 drivers/net/ethernet/intel/i40e/i40e_ddp.c 	status = i40e_aq_write_ddp(hw, (void *)sec, sec->data_end,
sec               164 drivers/net/ethernet/intel/i40e/i40e_ddp.c 	struct i40e_profile_section_header *sec;
sec               169 drivers/net/ethernet/intel/i40e/i40e_ddp.c 	sec = (struct i40e_profile_section_header *)profile_info_sec;
sec               170 drivers/net/ethernet/intel/i40e/i40e_ddp.c 	sec->tbl_size = 1;
sec               171 drivers/net/ethernet/intel/i40e/i40e_ddp.c 	sec->data_end = sizeof(struct i40e_profile_section_header) +
sec               173 drivers/net/ethernet/intel/i40e/i40e_ddp.c 	sec->section.type = SECTION_TYPE_INFO;
sec               174 drivers/net/ethernet/intel/i40e/i40e_ddp.c 	sec->section.offset = sizeof(struct i40e_profile_section_header);
sec               175 drivers/net/ethernet/intel/i40e/i40e_ddp.c 	sec->section.size = sizeof(struct i40e_profile_info);
sec               177 drivers/net/ethernet/intel/i40e/i40e_ddp.c 					     sec->section.offset);
sec               186 drivers/net/ethernet/intel/i40e/i40e_ddp.c 	status = i40e_aq_write_ddp(hw, (void *)sec, sec->data_end,
sec               180 drivers/net/ethernet/intel/igb/e1000_hw.h 	u64 sec;
sec               556 drivers/net/ethernet/intel/igb/igb_ethtool.c 	regs_buff[66] = adapter->stats.sec;
sec              6340 drivers/net/ethernet/intel/igb/igb_main.c 	adapter->stats.sec += rd32(E1000_SEC);
sec              6453 drivers/net/ethernet/intel/igb/igb_main.c 	u32 ack = 0, tsauxc, sec, nsec, tsicr = rd32(E1000_TSICR);
sec              6499 drivers/net/ethernet/intel/igb/igb_main.c 		sec  = rd32(E1000_AUXSTMPH0);
sec              6502 drivers/net/ethernet/intel/igb/igb_main.c 		event.timestamp = sec * 1000000000ULL + nsec;
sec              6509 drivers/net/ethernet/intel/igb/igb_main.c 		sec  = rd32(E1000_AUXSTMPH1);
sec              6512 drivers/net/ethernet/intel/igb/igb_main.c 		event.timestamp = sec * 1000000000ULL + nsec;
sec               117 drivers/net/ethernet/intel/igb/igb_ptp.c 	u32 sec, nsec;
sec               125 drivers/net/ethernet/intel/igb/igb_ptp.c 	sec = rd32(E1000_SYSTIMH);
sec               127 drivers/net/ethernet/intel/igb/igb_ptp.c 	ts->tv_sec = sec;
sec               577 drivers/net/ethernet/intel/igb/igb_ptp.c 		ts.tv_sec = rq->perout.period.sec;
sec               624 drivers/net/ethernet/intel/igb/igb_ptp.c 			igb->perout[i].start.tv_sec = rq->perout.start.sec;
sec               628 drivers/net/ethernet/intel/igb/igb_ptp.c 			wr32(trgttimh, rq->perout.start.sec);
sec               223 drivers/net/ethernet/intel/igc/igc_ethtool.c 	regs_buff[42] = adapter->stats.sec;
sec               232 drivers/net/ethernet/intel/igc/igc_hw.h 	u64 sec;
sec              1982 drivers/net/ethernet/intel/igc/igc_main.c 	adapter->stats.sec += rd32(IGC_SEC);
sec               321 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 		ts.tv_sec = rq->perout.period.sec;
sec               328 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 		ts.tv_sec = rq->perout.start.sec;
sec               474 drivers/net/ethernet/microchip/lan743x_ptp.c 	start_sec = perout->start.sec;
sec               478 drivers/net/ethernet/microchip/lan743x_ptp.c 	period_sec = perout->period.sec;
sec               232 drivers/net/ethernet/renesas/ravb_ptp.c 		start_ns = req->start.sec * NSEC_PER_SEC + req->start.nsec;
sec               233 drivers/net/ethernet/renesas/ravb_ptp.c 		period_ns = req->period.sec * NSEC_PER_SEC + req->period.nsec;
sec               466 drivers/net/ethernet/stmicro/stmmac/hwif.h 	int (*init_systime) (void __iomem *ioaddr, u32 sec, u32 nsec);
sec               468 drivers/net/ethernet/stmicro/stmmac/hwif.h 	int (*adjust_systime) (void __iomem *ioaddr, u32 sec, u32 nsec,
sec                58 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c static int init_systime(void __iomem *ioaddr, u32 sec, u32 nsec)
sec                63 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c 	writel(sec, ioaddr + PTP_STSUR);
sec               107 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c static int adjust_systime(void __iomem *ioaddr, u32 sec, u32 nsec,
sec               119 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c 			sec = -sec;
sec               128 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c 	writel(sec, ioaddr + PTP_STSUR);
sec                61 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c 	u32 sec, nsec;
sec                74 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c 	sec = quotient;
sec                78 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c 	stmmac_adjust_systime(priv, priv->ptpaddr, sec, nsec, neg_adj, xmac);
sec               149 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c 		cfg->start.tv_sec = rq->perout.start.sec;
sec               151 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c 		cfg->period.tv_sec = rq->perout.period.sec;
sec              1811 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c static const char *wpasecstr(enum gelic_eurus_wpa_security sec)
sec              1813 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c 	switch (sec) {
sec              1830 drivers/net/ieee802154/ca8210.c 	hdr.sec.level = data_ind[29 + msdulen];
sec              1831 drivers/net/ieee802154/ca8210.c 	dev_dbg(&priv->spi->dev, "security level: %#03x\n", hdr.sec.level);
sec              1832 drivers/net/ieee802154/ca8210.c 	if (hdr.sec.level > 0) {
sec              1833 drivers/net/ieee802154/ca8210.c 		hdr.sec.key_id_mode = data_ind[30 + msdulen];
sec              1834 drivers/net/ieee802154/ca8210.c 		memcpy(&hdr.sec.extended_src, &data_ind[31 + msdulen], 8);
sec              1835 drivers/net/ieee802154/ca8210.c 		hdr.sec.key_id = data_ind[39 + msdulen];
sec              1850 drivers/net/ieee802154/ca8210.c 	if (hdr.sec.level)
sec              1958 drivers/net/ieee802154/ca8210.c 	secspec.security_level = header.sec.level;
sec              1959 drivers/net/ieee802154/ca8210.c 	secspec.key_id_mode = header.sec.key_id_mode;
sec              1961 drivers/net/ieee802154/ca8210.c 		memcpy(secspec.key_source, &header.sec.short_src, 4);
sec              1963 drivers/net/ieee802154/ca8210.c 		memcpy(secspec.key_source, &header.sec.extended_src, 8);
sec              1964 drivers/net/ieee802154/ca8210.c 	secspec.key_index = header.sec.key_id;
sec               265 drivers/net/phy/dp83640.c 	u32 sec;
sec               267 drivers/net/phy/dp83640.c 	sec = p->sec_lo;
sec               268 drivers/net/phy/dp83640.c 	sec |= p->sec_hi << 16;
sec               272 drivers/net/phy/dp83640.c 	rxts->ns += ((u64)sec) * 1000000000ULL;
sec               282 drivers/net/phy/dp83640.c 	u32 sec;
sec               284 drivers/net/phy/dp83640.c 	sec = p->sec_lo;
sec               285 drivers/net/phy/dp83640.c 	sec |= p->sec_hi << 16;
sec               289 drivers/net/phy/dp83640.c 	ns += ((u64)sec) * 1000000000ULL;
sec               300 drivers/net/phy/dp83640.c 	u32 sec, nsec, pwidth;
sec               329 drivers/net/phy/dp83640.c 	sec = clkreq->perout.start.sec;
sec               331 drivers/net/phy/dp83640.c 	pwidth = clkreq->perout.period.sec * 1000000000UL;
sec               344 drivers/net/phy/dp83640.c 	ext_write(0, phydev, PAGE4, PTP_TDR, sec & 0xffff);    /* sec[15:0] */
sec               345 drivers/net/phy/dp83640.c 	ext_write(0, phydev, PAGE4, PTP_TDR, sec >> 16);       /* sec[31:16] */
sec               227 drivers/net/wan/hdlc_cisco.c 					u32 sec, min, hrs, days;
sec               228 drivers/net/wan/hdlc_cisco.c 					sec = ntohl(cisco_data->time) / 1000;
sec               229 drivers/net/wan/hdlc_cisco.c 					min = sec / 60; sec -= min * 60;
sec               233 drivers/net/wan/hdlc_cisco.c 						    days, hrs, min, sec);
sec              1500 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	struct brcmf_cfg80211_security *sec;
sec              1516 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	sec = &profile->sec;
sec              1517 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	sec->wpa_versions = sme->crypto.wpa_versions;
sec              1527 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	struct brcmf_cfg80211_security *sec;
sec              1551 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	sec = &profile->sec;
sec              1552 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	sec->auth_type = sme->auth_type;
sec              1563 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	struct brcmf_cfg80211_security *sec;
sec              1626 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	sec = &profile->sec;
sec              1627 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	sec->cipher_pairwise = sme->crypto.ciphers_pairwise[0];
sec              1628 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	sec->cipher_group = sme->crypto.cipher_group;
sec              1762 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	struct brcmf_cfg80211_security *sec;
sec              1772 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	sec = &profile->sec;
sec              1774 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		  sec->wpa_versions, sec->cipher_pairwise);
sec              1776 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (sec->wpa_versions & (NL80211_WPA_VERSION_1 | NL80211_WPA_VERSION_2))
sec              1779 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (!(sec->cipher_pairwise &
sec              1792 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	switch (sec->cipher_pairwise) {
sec              1812 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (sec->auth_type == NL80211_AUTHTYPE_SHARED_KEY) {
sec              2400 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	struct brcmf_cfg80211_security *sec;
sec              2419 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		sec = &profile->sec;
sec              2420 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		if (sec->cipher_pairwise & WLAN_CIPHER_SUITE_WEP40) {
sec              2423 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 		} else if (sec->cipher_pairwise & WLAN_CIPHER_SUITE_WEP104) {
sec               122 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h 	struct brcmf_cfg80211_security sec;
sec              1642 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	if ((priv->ieee->sec.flags & SEC_ENABLED) && priv->ieee->sec.enabled)
sec              5487 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	if (!priv->ieee->sec.enabled) {
sec              5493 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		if (priv->ieee->sec.flags & SEC_AUTH_MODE) {
sec              5494 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			if (priv->ieee->sec.auth_mode == WLAN_AUTH_SHARED_KEY)
sec              5496 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			else if (priv->ieee->sec.auth_mode == WLAN_AUTH_LEAP)
sec              5501 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		if (priv->ieee->sec.flags & SEC_LEVEL)
sec              5502 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			sec_level = priv->ieee->sec.level;
sec              5505 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		if (priv->ieee->sec.flags & SEC_UNICAST_GROUP)
sec              5506 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			use_group = priv->ieee->sec.unicast_uses_group;
sec              5516 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	if (priv->ieee->sec.enabled) {
sec              5518 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			if (!(priv->ieee->sec.flags & (1 << i))) {
sec              5519 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				memset(priv->ieee->sec.keys[i], 0, WEP_KEY_LEN);
sec              5520 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				priv->ieee->sec.key_sizes[i] = 0;
sec              5523 drivers/net/wireless/intel/ipw2x00/ipw2100.c 						      priv->ieee->sec.keys[i],
sec              5524 drivers/net/wireless/intel/ipw2x00/ipw2100.c 						      priv->ieee->sec.
sec              5538 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				  priv->ieee->sec.
sec              5566 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			       struct libipw_security *sec)
sec              5576 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		if (sec->flags & (1 << i)) {
sec              5577 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			priv->ieee->sec.key_sizes[i] = sec->key_sizes[i];
sec              5578 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			if (sec->key_sizes[i] == 0)
sec              5579 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				priv->ieee->sec.flags &= ~(1 << i);
sec              5581 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				memcpy(priv->ieee->sec.keys[i], sec->keys[i],
sec              5582 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				       sec->key_sizes[i]);
sec              5583 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			if (sec->level == SEC_LEVEL_1) {
sec              5584 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				priv->ieee->sec.flags |= (1 << i);
sec              5587 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				priv->ieee->sec.flags &= ~(1 << i);
sec              5591 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	if ((sec->flags & SEC_ACTIVE_KEY) &&
sec              5592 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	    priv->ieee->sec.active_key != sec->active_key) {
sec              5593 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		priv->ieee->sec.active_key = sec->active_key;
sec              5594 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		priv->ieee->sec.flags |= SEC_ACTIVE_KEY;
sec              5598 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	if ((sec->flags & SEC_AUTH_MODE) &&
sec              5599 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	    (priv->ieee->sec.auth_mode != sec->auth_mode)) {
sec              5600 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		priv->ieee->sec.auth_mode = sec->auth_mode;
sec              5601 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		priv->ieee->sec.flags |= SEC_AUTH_MODE;
sec              5605 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	if (sec->flags & SEC_ENABLED && priv->ieee->sec.enabled != sec->enabled) {
sec              5606 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		priv->ieee->sec.flags |= SEC_ENABLED;
sec              5607 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		priv->ieee->sec.enabled = sec->enabled;
sec              5612 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	if (sec->flags & SEC_ENCRYPT)
sec              5613 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		priv->ieee->sec.encrypt = sec->encrypt;
sec              5615 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	if (sec->flags & SEC_LEVEL && priv->ieee->sec.level != sec->level) {
sec              5616 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		priv->ieee->sec.level = sec->level;
sec              5617 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		priv->ieee->sec.flags |= SEC_LEVEL;
sec              5622 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		      priv->ieee->sec.flags & (1 << 8) ? '1' : '0',
sec              5623 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		      priv->ieee->sec.flags & (1 << 7) ? '1' : '0',
sec              5624 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		      priv->ieee->sec.flags & (1 << 6) ? '1' : '0',
sec              5625 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		      priv->ieee->sec.flags & (1 << 5) ? '1' : '0',
sec              5626 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		      priv->ieee->sec.flags & (1 << 4) ? '1' : '0',
sec              5627 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		      priv->ieee->sec.flags & (1 << 3) ? '1' : '0',
sec              5628 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		      priv->ieee->sec.flags & (1 << 2) ? '1' : '0',
sec              5629 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		      priv->ieee->sec.flags & (1 << 1) ? '1' : '0',
sec              5630 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		      priv->ieee->sec.flags & (1 << 0) ? '1' : '0');
sec              5866 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	struct libipw_security sec = {
sec              5872 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		sec.auth_mode = WLAN_AUTH_SHARED_KEY;
sec              5875 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		sec.auth_mode = WLAN_AUTH_OPEN;
sec              5878 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		sec.auth_mode = WLAN_AUTH_LEAP;
sec              5884 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		ieee->set_security(ieee->dev, &sec);
sec              7655 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			struct libipw_security sec = {
sec              7664 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				sec.flags |= SEC_LEVEL;
sec              7665 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				sec.level = SEC_LEVEL_0;
sec              7667 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				sec.flags |= SEC_LEVEL;
sec              7668 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				sec.level = SEC_LEVEL_1;
sec              7671 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				priv->ieee->set_security(priv->ieee->dev, &sec);
sec              7736 drivers/net/wireless/intel/ipw2x00/ipw2100.c 		param->value = priv->ieee->sec.auth_mode;
sec              2076 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		if (priv->ieee->sec.encrypt) {
sec              5898 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	if (!(priv->ieee->sec.flags & (1 << index)))
sec              5902 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	memcpy(key.key, priv->ieee->sec.keys[index], SCM_TEMPORAL_KEY_LENGTH);
sec              5925 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		if (!(priv->ieee->sec.flags & (1 << i))) {
sec              5930 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		key.key_size = priv->ieee->sec.key_sizes[i];
sec              5931 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		memcpy(key.key, priv->ieee->sec.keys[i], key.key_size);
sec              5988 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	switch (priv->ieee->sec.level) {
sec              5990 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		if (priv->ieee->sec.flags & SEC_ACTIVE_KEY)
sec              5993 drivers/net/wireless/intel/ipw2x00/ipw2200.c 					    priv->ieee->sec.active_key);
sec              5999 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		if (priv->ieee->sec.flags & SEC_ACTIVE_KEY)
sec              6002 drivers/net/wireless/intel/ipw2x00/ipw2200.c 					    priv->ieee->sec.active_key);
sec              6006 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		ipw_set_hw_decrypt_unicast(priv, priv->ieee->sec.level);
sec              6007 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		ipw_set_hw_decrypt_multicast(priv, priv->ieee->sec.level);
sec              6466 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	struct libipw_security sec = {
sec              6472 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		sec.auth_mode = WLAN_AUTH_SHARED_KEY;
sec              6475 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		sec.auth_mode = WLAN_AUTH_OPEN;
sec              6478 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		sec.auth_mode = WLAN_AUTH_LEAP;
sec              6484 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		ieee->set_security(ieee->dev, &sec);
sec              6646 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			struct libipw_security sec = {
sec              6655 drivers/net/wireless/intel/ipw2x00/ipw2200.c 				sec.flags |= SEC_LEVEL;
sec              6656 drivers/net/wireless/intel/ipw2x00/ipw2200.c 				sec.level = SEC_LEVEL_0;
sec              6658 drivers/net/wireless/intel/ipw2x00/ipw2200.c 				sec.flags |= SEC_LEVEL;
sec              6659 drivers/net/wireless/intel/ipw2x00/ipw2200.c 				sec.level = SEC_LEVEL_1;
sec              6662 drivers/net/wireless/intel/ipw2x00/ipw2200.c 				priv->ieee->set_security(priv->ieee->dev, &sec);
sec              6724 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		param->value = ieee->sec.auth_mode;
sec              7294 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	    (priv->ieee->sec.auth_mode == WLAN_AUTH_SHARED_KEY)) {
sec              7296 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		priv->assoc_request.auth_key = priv->ieee->sec.active_key;
sec              7298 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		if (priv->ieee->sec.level == SEC_LEVEL_1)
sec              7302 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		   (priv->ieee->sec.auth_mode == WLAN_AUTH_LEAP))
sec              7358 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			'1' + priv->ieee->sec.active_key : '.',
sec              7650 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	switch (priv->ieee->sec.level) {
sec              7671 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		       priv->ieee->sec.level);
sec              10163 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		switch (priv->ieee->sec.level) {
sec              10190 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			if (priv->ieee->sec.key_sizes[priv->ieee->crypt_info.tx_keyidx] <=
sec              10200 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			       priv->ieee->sec.level);
sec              10691 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			       struct libipw_security *sec)
sec              10696 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		if (sec->flags & (1 << i)) {
sec              10697 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			priv->ieee->sec.encode_alg[i] = sec->encode_alg[i];
sec              10698 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			priv->ieee->sec.key_sizes[i] = sec->key_sizes[i];
sec              10699 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			if (sec->key_sizes[i] == 0)
sec              10700 drivers/net/wireless/intel/ipw2x00/ipw2200.c 				priv->ieee->sec.flags &= ~(1 << i);
sec              10702 drivers/net/wireless/intel/ipw2x00/ipw2200.c 				memcpy(priv->ieee->sec.keys[i], sec->keys[i],
sec              10703 drivers/net/wireless/intel/ipw2x00/ipw2200.c 				       sec->key_sizes[i]);
sec              10704 drivers/net/wireless/intel/ipw2x00/ipw2200.c 				priv->ieee->sec.flags |= (1 << i);
sec              10707 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		} else if (sec->level != SEC_LEVEL_1)
sec              10708 drivers/net/wireless/intel/ipw2x00/ipw2200.c 			priv->ieee->sec.flags &= ~(1 << i);
sec              10711 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	if (sec->flags & SEC_ACTIVE_KEY) {
sec              10712 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		priv->ieee->sec.active_key = sec->active_key;
sec              10713 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		priv->ieee->sec.flags |= SEC_ACTIVE_KEY;
sec              10716 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		priv->ieee->sec.flags &= ~SEC_ACTIVE_KEY;
sec              10718 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	if ((sec->flags & SEC_AUTH_MODE) &&
sec              10719 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	    (priv->ieee->sec.auth_mode != sec->auth_mode)) {
sec              10720 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		priv->ieee->sec.auth_mode = sec->auth_mode;
sec              10721 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		priv->ieee->sec.flags |= SEC_AUTH_MODE;
sec              10722 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		if (sec->auth_mode == WLAN_AUTH_SHARED_KEY)
sec              10729 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	if (sec->flags & SEC_ENABLED && priv->ieee->sec.enabled != sec->enabled) {
sec              10730 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		priv->ieee->sec.flags |= SEC_ENABLED;
sec              10731 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		priv->ieee->sec.enabled = sec->enabled;
sec              10733 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		if (sec->enabled)
sec              10739 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	if (sec->flags & SEC_ENCRYPT)
sec              10740 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		priv->ieee->sec.encrypt = sec->encrypt;
sec              10742 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	if (sec->flags & SEC_LEVEL && priv->ieee->sec.level != sec->level) {
sec              10743 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		priv->ieee->sec.level = sec->level;
sec              10744 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		priv->ieee->sec.flags |= SEC_LEVEL;
sec              10748 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	if (!priv->ieee->host_encrypt && (sec->flags & SEC_ENCRYPT))
sec              10757 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	       cpu_to_le16(WLAN_CAPABILITY_PRIVACY)) && !sec->enabled) ||
sec              10759 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		cpu_to_le16(WLAN_CAPABILITY_PRIVACY)) && sec->enabled))) {
sec              10871 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	    (priv->ieee->sec.level == SEC_LEVEL_1) &&
sec               717 drivers/net/wireless/intel/ipw2x00/libipw.h 	struct libipw_security sec;
sec               794 drivers/net/wireless/intel/ipw2x00/libipw.h 			      struct libipw_security * sec);
sec               674 drivers/net/wireless/intel/ipw2x00/libipw_rx.c 		switch (ieee->sec.encode_alg[keyidx]) {
sec               286 drivers/net/wireless/intel/ipw2x00/libipw_tx.c 	    ieee->sec.encrypt;
sec               302 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	struct libipw_security sec = {
sec               347 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			sec.enabled = 0;
sec               348 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			sec.encrypt = 0;
sec               349 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			sec.level = SEC_LEVEL_0;
sec               350 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			sec.flags |= SEC_ENABLED | SEC_LEVEL | SEC_ENCRYPT;
sec               356 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	sec.enabled = 1;
sec               357 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	sec.encrypt = 1;
sec               358 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	sec.flags |= SEC_ENABLED | SEC_ENCRYPT;
sec               398 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 		memcpy(sec.keys[key], keybuf, erq->length);
sec               400 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			memset(sec.keys[key] + erq->length, 0,
sec               403 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 				   key, len, sec.keys[key],
sec               405 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 		sec.key_sizes[key] = len;
sec               407 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			(*crypt)->ops->set_key(sec.keys[key], len, NULL,
sec               409 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 		sec.flags |= (1 << key);
sec               412 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 		if (key == sec.active_key)
sec               413 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			sec.flags |= SEC_ACTIVE_KEY;
sec               417 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			len = (*crypt)->ops->get_key(sec.keys[key], WEP_KEY_LEN,
sec               423 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 				memset(sec.keys[key], 0, 13);
sec               424 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 				(*crypt)->ops->set_key(sec.keys[key], 13, NULL,
sec               426 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 				sec.key_sizes[key] = 13;
sec               427 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 				sec.flags |= (1 << key);
sec               435 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			sec.active_key = key;
sec               436 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			sec.flags |= SEC_ACTIVE_KEY;
sec               441 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 		sec.auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN :
sec               443 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 		sec.flags |= SEC_AUTH_MODE;
sec               445 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 				   sec.auth_mode == WLAN_AUTH_OPEN ?
sec               451 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	sec.flags |= SEC_LEVEL;
sec               452 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	sec.level = SEC_LEVEL_1;	/* 40 and 104 bit WEP */
sec               453 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	sec.encode_alg[key] = SEC_ALG_WEP;
sec               457 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 		ieee->set_security(dev, &sec);
sec               468 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	struct libipw_security *sec = &ieee->sec;
sec               482 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	if (!sec->enabled) {
sec               488 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	len = sec->key_sizes[key];
sec               489 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	memcpy(keybuf, sec->keys[key], len);
sec               515 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	struct libipw_security sec = {
sec               540 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	sec.flags |= SEC_ENABLED | SEC_ENCRYPT;
sec               551 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			sec.enabled = 0;
sec               552 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			sec.encrypt = 0;
sec               553 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			sec.level = SEC_LEVEL_0;
sec               554 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			sec.flags |= SEC_LEVEL;
sec               559 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	sec.enabled = 1;
sec               560 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	sec.encrypt = 1;
sec               631 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 		sec.active_key = idx;
sec               632 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 		sec.flags |= SEC_ACTIVE_KEY;
sec               636 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 		memcpy(sec.keys[idx], ext->key, ext->key_len);
sec               637 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 		sec.key_sizes[idx] = ext->key_len;
sec               638 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 		sec.flags |= (1 << idx);
sec               640 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			sec.encode_alg[idx] = SEC_ALG_WEP;
sec               641 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			sec.flags |= SEC_LEVEL;
sec               642 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			sec.level = SEC_LEVEL_1;
sec               644 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			sec.encode_alg[idx] = SEC_ALG_TKIP;
sec               645 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			sec.flags |= SEC_LEVEL;
sec               646 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			sec.level = SEC_LEVEL_2;
sec               648 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			sec.encode_alg[idx] = SEC_ALG_CCMP;
sec               649 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			sec.flags |= SEC_LEVEL;
sec               650 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			sec.level = SEC_LEVEL_3;
sec               654 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			sec.flags &= ~SEC_LEVEL;
sec               658 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 		ieee->set_security(dev, &sec);
sec               669 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	struct libipw_security *sec = &ieee->sec;
sec               692 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	if (!sec->enabled) {
sec               697 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 		if (sec->encode_alg[idx] == SEC_ALG_WEP)
sec               699 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 		else if (sec->encode_alg[idx] == SEC_ALG_TKIP)
sec               701 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 		else if (sec->encode_alg[idx] == SEC_ALG_CCMP)
sec               706 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 		ext->key_len = sec->key_sizes[idx];
sec               707 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 		memcpy(ext->key, sec->keys[idx], ext->key_len);
sec                81 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 		priv->dbgfs_sram_len = img->sec[IWL_UCODE_SECTION_DATA].len;
sec               185 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 				       img->sec[IWL_UCODE_SECTION_DATA].len);
sec               497 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 			kzalloc(img->sec[IWL_UCODE_SECTION_DATA].len,
sec               503 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 				   img->sec[IWL_UCODE_SECTION_DATA].len / 4);
sec               844 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 		sram_ofs = img->sec[IWL_UCODE_SECTION_DATA].offset;
sec               845 drivers/net/wireless/intel/iwlwifi/fw/dbg.c 		sram_len = img->sec[IWL_UCODE_SECTION_DATA].len;
sec               139 drivers/net/wireless/intel/iwlwifi/fw/img.h 	struct fw_desc *sec;
sec               183 drivers/net/wireless/intel/iwlwifi/fw/paging.c 		if (image->sec[sec_idx].offset == PAGING_SEPARATOR_SECTION) {
sec               203 drivers/net/wireless/intel/iwlwifi/fw/paging.c 	if (image->sec[sec_idx].len > fwrt->fw_paging_db[0].fw_paging_size) {
sec               210 drivers/net/wireless/intel/iwlwifi/fw/paging.c 	       image->sec[sec_idx].data,
sec               211 drivers/net/wireless/intel/iwlwifi/fw/paging.c 	       image->sec[sec_idx].len);
sec               230 drivers/net/wireless/intel/iwlwifi/fw/paging.c 		int remaining = image->sec[sec_idx].len - offset;
sec               256 drivers/net/wireless/intel/iwlwifi/fw/paging.c 		       image->sec[sec_idx].data + offset, len);
sec               167 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 		iwl_free_fw_desc(drv, &img->sec[i]);
sec               168 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	kfree(img->sec);
sec               189 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 			     struct fw_sec *sec)
sec               195 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	if (!sec || !sec->size)
sec               198 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	data = vmalloc(sec->size);
sec               202 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	desc->len = sec->size;
sec               203 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	desc->offset = sec->offset;
sec               204 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	memcpy(data, sec->data, desc->len);
sec               265 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	struct fw_sec *sec;
sec               315 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 			      int  sec)
sec               317 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	return &pieces->img[type].sec[sec];
sec               322 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 			   int sec)
sec               326 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	int size = sec + 1;
sec               327 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	size_t alloc_size = sizeof(*img->sec) * size;
sec               329 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	if (img->sec && img->sec_counter >= size)
sec               332 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	sec_memory = krealloc(img->sec, alloc_size, GFP_KERNEL);
sec               336 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	img->sec = sec_memory;
sec               342 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 			 int sec,
sec               345 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	alloc_sec_data(pieces, type, sec);
sec               347 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	pieces->img[type].sec[sec].data = data;
sec               352 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 			 int sec,
sec               355 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	alloc_sec_data(pieces, type, sec);
sec               357 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	pieces->img[type].sec[sec].size = size;
sec               362 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 			   int sec)
sec               364 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	return pieces->img[type].sec[sec].size;
sec               369 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 			   int sec,
sec               372 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	alloc_sec_data(pieces, type, sec);
sec               374 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	pieces->img[type].sec[sec].offset = offset;
sec               408 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	struct fw_sec *sec;
sec               419 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	alloc_size = sizeof(*img->sec) * (img->sec_counter + 1);
sec               420 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	sec = krealloc(img->sec, alloc_size, GFP_KERNEL);
sec               421 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	if (!sec)
sec               423 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	img->sec = sec;
sec               425 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	sec = &img->sec[img->sec_counter];
sec               427 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	sec->offset = le32_to_cpu(sec_parse->offset);
sec               428 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	sec->data = sec_parse->data;
sec               429 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	sec->size = size - sizeof(sec_parse->offset);
sec              1208 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	struct fw_desc *sec;
sec              1210 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	sec = kcalloc(pieces->img[type].sec_counter, sizeof(*sec), GFP_KERNEL);
sec              1211 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	if (!sec)
sec              1213 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	drv->fw.img[type].sec = sec;
sec              1217 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 		if (iwl_alloc_fw_desc(drv, &sec[i], get_sec(pieces, type, i)))
sec              1616 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 			kfree(pieces->img[i].sec);
sec               211 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	ofs = img->sec[IWL_UCODE_SECTION_DATA].offset;
sec               212 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	len = img->sec[IWL_UCODE_SECTION_DATA].len;
sec               243 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	img_offset = img->sec[IWL_UCODE_SECTION_DATA].offset;
sec               244 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	img_len = img->sec[IWL_UCODE_SECTION_DATA].len;
sec               108 drivers/net/wireless/intel/iwlwifi/pcie/ctxt-info.c 		ret = iwl_pcie_ctxt_info_alloc_dma(trans, &fw->sec[i],
sec               121 drivers/net/wireless/intel/iwlwifi/pcie/ctxt-info.c 						   &fw->sec[dram->fw_cnt + 1],
sec               144 drivers/net/wireless/intel/iwlwifi/pcie/ctxt-info.c 		ret = iwl_pcie_ctxt_info_alloc_dma(trans, &fw->sec[fw_idx],
sec               765 drivers/net/wireless/intel/iwlwifi/pcie/internal.h 	       fw->sec[start].offset != CPU1_CPU2_SEPARATOR_SECTION &&
sec               766 drivers/net/wireless/intel/iwlwifi/pcie/internal.h 	       fw->sec[start].offset != PAGING_SEPARATOR_SECTION) {
sec               775 drivers/net/wireless/intel/iwlwifi/pcie/internal.h 					       const struct fw_desc *sec,
sec               778 drivers/net/wireless/intel/iwlwifi/pcie/internal.h 	dram->block = dma_alloc_coherent(trans->dev, sec->len,
sec               784 drivers/net/wireless/intel/iwlwifi/pcie/internal.h 	dram->size = sec->len;
sec               785 drivers/net/wireless/intel/iwlwifi/pcie/internal.h 	memcpy(dram->block, sec->data, sec->len);
sec               810 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 		if (!image->sec[i].data ||
sec               811 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 		    image->sec[i].offset == CPU1_CPU2_SEPARATOR_SECTION ||
sec               812 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 		    image->sec[i].offset == PAGING_SEPARATOR_SECTION) {
sec               819 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 		ret = iwl_pcie_load_section(trans, i, &image->sec[i]);
sec               876 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 		if (!image->sec[i].data ||
sec               877 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 		    image->sec[i].offset == CPU1_CPU2_SEPARATOR_SECTION ||
sec               878 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 		    image->sec[i].offset == PAGING_SEPARATOR_SECTION) {
sec               885 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 		ret = iwl_pcie_load_section(trans, i, &image->sec[i]);
sec              1470 drivers/net/wireless/realtek/rtlwifi/base.c 	switch (rtlpriv->sec.pairwise_enc_algorithm) {
sec               592 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c 		if (NO_ENCRYPTION == rtlpriv->sec.pairwise_enc_algorithm)
sec                12 drivers/net/wireless/realtek/rtlwifi/cam.c 	rtlpriv->sec.use_defaultkey = false;
sec                13 drivers/net/wireless/realtek/rtlwifi/cam.c 	rtlpriv->sec.pairwise_enc_algorithm = NO_ENCRYPTION;
sec                14 drivers/net/wireless/realtek/rtlwifi/cam.c 	rtlpriv->sec.group_enc_algorithm = NO_ENCRYPTION;
sec                15 drivers/net/wireless/realtek/rtlwifi/cam.c 	memset(rtlpriv->sec.key_buf, 0, KEY_BUF_SIZE * MAX_KEY_LEN);
sec                16 drivers/net/wireless/realtek/rtlwifi/cam.c 	memset(rtlpriv->sec.key_len, 0, KEY_BUF_SIZE);
sec                17 drivers/net/wireless/realtek/rtlwifi/cam.c 	rtlpriv->sec.pairwise_key = NULL;
sec               172 drivers/net/wireless/realtek/rtlwifi/cam.c 	switch (rtlpriv->sec.pairwise_enc_algorithm) {
sec               214 drivers/net/wireless/realtek/rtlwifi/cam.c 	switch (rtlpriv->sec.pairwise_enc_algorithm) {
sec               262 drivers/net/wireless/realtek/rtlwifi/cam.c 	u32 bitmap = (rtlpriv->sec.hwsec_cam_bitmap) >> 4;
sec               272 drivers/net/wireless/realtek/rtlwifi/cam.c 		addr = rtlpriv->sec.hwsec_cam_sta_addr[i];
sec               280 drivers/net/wireless/realtek/rtlwifi/cam.c 			       rtlpriv->sec.hwsec_cam_bitmap, entry_idx);
sec               281 drivers/net/wireless/realtek/rtlwifi/cam.c 			rtlpriv->sec.hwsec_cam_bitmap |= BIT(0) << entry_idx;
sec               282 drivers/net/wireless/realtek/rtlwifi/cam.c 			memcpy(rtlpriv->sec.hwsec_cam_sta_addr[entry_idx],
sec               309 drivers/net/wireless/realtek/rtlwifi/cam.c 		addr = rtlpriv->sec.hwsec_cam_sta_addr[i];
sec               310 drivers/net/wireless/realtek/rtlwifi/cam.c 		bitmap = (rtlpriv->sec.hwsec_cam_bitmap) >> i;
sec               314 drivers/net/wireless/realtek/rtlwifi/cam.c 			eth_zero_addr(rtlpriv->sec.hwsec_cam_sta_addr[i]);
sec               315 drivers/net/wireless/realtek/rtlwifi/cam.c 			rtlpriv->sec.hwsec_cam_bitmap &= ~(BIT(0) << i);
sec              1519 drivers/net/wireless/realtek/rtlwifi/core.c 	if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) {
sec              1533 drivers/net/wireless/realtek/rtlwifi/core.c 	rtlpriv->sec.being_setkey = true;
sec              1572 drivers/net/wireless/realtek/rtlwifi/core.c 		rtlpriv->sec.use_defaultkey = true;
sec              1601 drivers/net/wireless/realtek/rtlwifi/core.c 		    rtlpriv->sec.pairwise_enc_algorithm == NO_ENCRYPTION) {
sec              1602 drivers/net/wireless/realtek/rtlwifi/core.c 			if (rtlpriv->sec.pairwise_enc_algorithm ==
sec              1607 drivers/net/wireless/realtek/rtlwifi/core.c 			rtlpriv->sec.pairwise_enc_algorithm = key_type;
sec              1621 drivers/net/wireless/realtek/rtlwifi/core.c 			rtlpriv->sec.pairwise_enc_algorithm = key_type;
sec              1622 drivers/net/wireless/realtek/rtlwifi/core.c 			rtlpriv->sec.group_enc_algorithm = key_type;
sec              1624 drivers/net/wireless/realtek/rtlwifi/core.c 			memcpy(rtlpriv->sec.key_buf[key_idx],
sec              1626 drivers/net/wireless/realtek/rtlwifi/core.c 			rtlpriv->sec.key_len[key_idx] = key->keylen;
sec              1632 drivers/net/wireless/realtek/rtlwifi/core.c 			rtlpriv->sec.group_enc_algorithm = key_type;
sec              1634 drivers/net/wireless/realtek/rtlwifi/core.c 			memcpy(rtlpriv->sec.key_buf[key_idx],
sec              1636 drivers/net/wireless/realtek/rtlwifi/core.c 			rtlpriv->sec.key_len[key_idx] = key->keylen;
sec              1649 drivers/net/wireless/realtek/rtlwifi/core.c 			rtlpriv->sec.pairwise_enc_algorithm = key_type;
sec              1651 drivers/net/wireless/realtek/rtlwifi/core.c 			memcpy(rtlpriv->sec.key_buf[PAIRWISE_KEYIDX],
sec              1653 drivers/net/wireless/realtek/rtlwifi/core.c 			rtlpriv->sec.key_len[PAIRWISE_KEYIDX] = key->keylen;
sec              1654 drivers/net/wireless/realtek/rtlwifi/core.c 			rtlpriv->sec.pairwise_key =
sec              1655 drivers/net/wireless/realtek/rtlwifi/core.c 			    rtlpriv->sec.key_buf[PAIRWISE_KEYIDX];
sec              1680 drivers/net/wireless/realtek/rtlwifi/core.c 		memset(rtlpriv->sec.key_buf[key_idx], 0, key->keylen);
sec              1681 drivers/net/wireless/realtek/rtlwifi/core.c 		rtlpriv->sec.key_len[key_idx] = 0;
sec              1697 drivers/net/wireless/realtek/rtlwifi/core.c 	rtlpriv->sec.being_setkey = false;
sec               212 drivers/net/wireless/realtek/rtlwifi/ps.c 	if (rtlpriv->sec.being_setkey)
sec               405 drivers/net/wireless/realtek/rtlwifi/ps.c 	if (rtlpriv->sec.being_setkey)
sec               588 drivers/net/wireless/realtek/rtlwifi/ps.c 	if ((rtlpriv->sec.being_setkey) ||
sec              1007 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		  rtlpriv->sec.pairwise_enc_algorithm,
sec              1008 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		  rtlpriv->sec.group_enc_algorithm);
sec              1010 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) {
sec              1018 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 	if (rtlpriv->sec.use_defaultkey) {
sec              2305 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 				memset(rtlpriv->sec.key_buf[idx], 0,
sec              2307 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 				rtlpriv->sec.key_len[idx] = 0;
sec              2332 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		if (is_wepkey || rtlpriv->sec.use_defaultkey) {
sec              2356 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 		if (rtlpriv->sec.key_len[key_index] == 0) {
sec              2374 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 						      rtlpriv->sec.key_buf[key_index]);
sec              2386 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 							rtlpriv->sec.key_buf
sec              2393 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c 						      rtlpriv->sec.key_buf[entry_id]);
sec               885 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 		 rtlpriv->sec.pairwise_enc_algorithm,
sec               886 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 		 rtlpriv->sec.group_enc_algorithm);
sec               888 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 	if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) {
sec               896 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 	if (rtlpriv->sec.use_defaultkey) {
sec              2100 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 				memset(rtlpriv->sec.key_buf[idx], 0,
sec              2102 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 				rtlpriv->sec.key_len[idx] = 0;
sec              2127 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 		if (is_wepkey || rtlpriv->sec.use_defaultkey) {
sec              2152 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 		if (rtlpriv->sec.key_len[key_index] == 0) {
sec              2163 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 				 rtlpriv->sec.key_len[PAIRWISE_KEYIDX]);
sec              2166 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 				 rtlpriv->sec.key_buf[0][0],
sec              2167 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 				 rtlpriv->sec.key_buf[0][1]);
sec              2174 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 					      rtlpriv->sec.pairwise_key,
sec              2175 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 					      rtlpriv->sec.
sec              2184 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 						      rtlpriv->sec.
sec              2197 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 						rtlpriv->sec.key_buf
sec              2204 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c 						rtlpriv->sec.key_buf[entry_id]);
sec               865 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 		 rtlpriv->sec.pairwise_enc_algorithm,
sec               866 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 		 rtlpriv->sec.group_enc_algorithm);
sec               867 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) {
sec               873 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 	if (rtlpriv->sec.use_defaultkey) {
sec              1655 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c 				switch (rtlpriv->sec.pairwise_enc_algorithm) {
sec               223 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 				memset(rtlpriv->sec.key_buf[idx], 0,
sec               225 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 				rtlpriv->sec.key_len[idx] = 0;
sec               247 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 		if (is_wepkey || rtlpriv->sec.use_defaultkey) {
sec               271 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 		if (rtlpriv->sec.key_len[key_index] == 0) {
sec               281 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 				 rtlpriv->sec.key_len[PAIRWISE_KEYIDX]);
sec               284 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 				 rtlpriv->sec.key_buf[0][0],
sec               285 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 				 rtlpriv->sec.key_buf[0][1]);
sec               291 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 					      rtlpriv->sec.pairwise_key,
sec               292 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 					      rtlpriv->sec.
sec               300 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 						rtlpriv->sec.
sec               312 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 						rtlpriv->sec.key_buf
sec               318 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/mac.c 						rtlpriv->sec.key_buf[entry_id]);
sec               610 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	    (rtlpriv->sec.pairwise_enc_algorithm == WEP40_ENCRYPTION ||
sec               611 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	    rtlpriv->sec.pairwise_enc_algorithm == WEP104_ENCRYPTION ||
sec               612 drivers/net/wireless/realtek/rtlwifi/rtl8192de/dm.c 	    rtlpriv->sec.pairwise_enc_algorithm == TKIP_ENCRYPTION)) {
sec               856 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 		 rtlpriv->sec.pairwise_enc_algorithm,
sec               857 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 		 rtlpriv->sec.group_enc_algorithm);
sec               858 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 	if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) {
sec               864 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 	if (rtlpriv->sec.use_defaultkey) {
sec              2119 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 				memset(rtlpriv->sec.key_buf[idx], 0,
sec              2121 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 				rtlpriv->sec.key_len[idx] = 0;
sec              2144 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 		if (is_wepkey || rtlpriv->sec.use_defaultkey) {
sec              2166 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 		if (rtlpriv->sec.key_len[key_index] == 0) {
sec              2176 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 				 rtlpriv->sec.key_len[PAIRWISE_KEYIDX]);
sec              2179 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 				 rtlpriv->sec.key_buf[0][0],
sec              2180 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 				 rtlpriv->sec.key_buf[0][1]);
sec              2186 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 					      rtlpriv->sec.pairwise_key,
sec              2188 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 					      sec.key_len[PAIRWISE_KEYIDX]);
sec              2195 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 						      sec.key_buf[key_index]);
sec              2205 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 						rtlpriv->sec.key_buf[entry_id]);
sec              2210 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c 						rtlpriv->sec.key_buf
sec              1112 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 		  rtlpriv->sec.pairwise_enc_algorithm,
sec              1113 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 		  rtlpriv->sec.group_enc_algorithm);
sec              1115 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) {
sec              1123 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 	if (rtlpriv->sec.use_defaultkey) {
sec              2448 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 				memset(rtlpriv->sec.key_buf[idx], 0,
sec              2450 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 				rtlpriv->sec.key_len[idx] = 0;
sec              2475 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 		if (is_wepkey || rtlpriv->sec.use_defaultkey) {
sec              2500 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 		if (rtlpriv->sec.key_len[key_index] == 0) {
sec              2518 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 					       rtlpriv->sec.key_buf[key_index]);
sec              2529 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 						rtlpriv->sec.key_buf[entry_id]);
sec              2535 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c 						rtlpriv->sec.key_buf[entry_id]);
sec               387 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 	u8 band = BAND_ON_2_4G, rf = 0, txnum = 0, sec = 0;
sec               392 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 				for (; sec < TX_PWR_BY_RATE_NUM_SECTION; ++sec)
sec               394 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 					     [band][rf][txnum][sec] = 0;
sec              1169 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 	u8 shift = 0, sec, tx_num;
sec              1172 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 	sec = _rtl92ee_phy_get_ratesection_intxpower_byrate(rf, rate);
sec              1224 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c 	diff = (u8)(rtlphy->tx_power_by_rate_offset[band][rf][tx_num][sec] >>
sec               142 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 				if (rtlpriv->sec.pairwise_enc_algorithm ==
sec               422 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 		 rtlpriv->sec.pairwise_enc_algorithm,
sec               423 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 		 rtlpriv->sec.group_enc_algorithm);
sec               425 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 	if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) {
sec               433 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 	if (rtlpriv->sec.use_defaultkey) {
sec              2414 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 				memset(rtlpriv->sec.key_buf[idx], 0,
sec              2416 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 				rtlpriv->sec.key_len[idx] = 0;
sec              2441 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 		if (is_wepkey || rtlpriv->sec.use_defaultkey) {
sec              2465 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 		if (rtlpriv->sec.key_len[key_index] == 0) {
sec              2482 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 					rtlpriv->sec.key_buf[key_index]);
sec              2493 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 						rtlpriv->sec.key_buf[entry_id]);
sec              2499 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c 					      rtlpriv->sec.key_buf[entry_id]);
sec               883 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 		  rtlpriv->sec.pairwise_enc_algorithm,
sec               884 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 		  rtlpriv->sec.group_enc_algorithm);
sec               886 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 	if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) {
sec               894 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 	if (rtlpriv->sec.use_defaultkey) {
sec              2180 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 				memset(rtlpriv->sec.key_buf[idx], 0,
sec              2182 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 				rtlpriv->sec.key_len[idx] = 0;
sec              2207 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 		if (is_wepkey || rtlpriv->sec.use_defaultkey) {
sec              2231 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 		if (rtlpriv->sec.key_len[key_index] == 0) {
sec              2248 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 						      rtlpriv->sec.key_buf[key_index]);
sec              2260 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 							rtlpriv->sec.key_buf
sec              2267 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c 						rtlpriv->sec.key_buf[entry_id]);
sec              1126 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 		  rtlpriv->sec.pairwise_enc_algorithm,
sec              1127 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 		  rtlpriv->sec.group_enc_algorithm);
sec              1129 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) {
sec              1137 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 	if (rtlpriv->sec.use_defaultkey) {
sec              2569 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 				memset(rtlpriv->sec.key_buf[idx], 0,
sec              2571 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 				rtlpriv->sec.key_len[idx] = 0;
sec              2596 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 		if (is_wepkey || rtlpriv->sec.use_defaultkey) {
sec              2620 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 		if (rtlpriv->sec.key_len[key_index] == 0) {
sec              2637 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 					       rtlpriv->sec.key_buf[key_index]);
sec              2649 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 						rtlpriv->sec.key_buf
sec              2656 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c 						rtlpriv->sec.key_buf[entry_id]);
sec               690 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c 	struct rtl_security *sec = &rtlpriv->sec;
sec               695 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c 		 sec->pairwise_enc_algorithm, sec->group_enc_algorithm);
sec               699 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c 						sec->pairwise_enc_algorithm);
sec               701 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c 						      sec->group_enc_algorithm);
sec              1166 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		  rtlpriv->sec.pairwise_enc_algorithm,
sec              1167 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		  rtlpriv->sec.group_enc_algorithm);
sec              1169 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) {
sec              1177 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 	if (rtlpriv->sec.use_defaultkey) {
sec              3851 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 				memset(rtlpriv->sec.key_buf[idx], 0,
sec              3853 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 				rtlpriv->sec.key_len[idx] = 0;
sec              3877 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		if (is_wepkey || rtlpriv->sec.use_defaultkey) {
sec              3900 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 		if (rtlpriv->sec.key_len[key_index] == 0) {
sec              3917 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 						      rtlpriv->sec.key_buf[key_index]);
sec              3929 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 							rtlpriv->sec.key_buf
sec              3936 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c 						rtlpriv->sec.key_buf[entry_id]);
sec              2354 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 	u16 bd, regu, bdwidth, sec, chnl;
sec              2478 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 	sec = rate_section;
sec              2487 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 			[sec][chnl][rf_path];
sec              2492 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 					[sec][chnl][rf_path];
sec              2499 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 			[sec][chnl][rf_path];
sec              2504 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c 			[sec][chnl][rf_path];
sec              2762 drivers/net/wireless/realtek/rtlwifi/wifi.h 	struct rtl_security sec;
sec               368 drivers/net/wireless/realtek/rtw88/mac80211.c 	struct rtw_sec_desc *sec = &rtwdev->sec;
sec               401 drivers/net/wireless/realtek/rtw88/mac80211.c 		hw_key_idx = rtw_sec_get_free_cam(sec);
sec               407 drivers/net/wireless/realtek/rtw88/mac80211.c 	if (hw_key_idx > sec->total_cam_num) {
sec               417 drivers/net/wireless/realtek/rtw88/mac80211.c 		rtw_sec_write_cam(rtwdev, sec, sta, key,
sec               421 drivers/net/wireless/realtek/rtw88/mac80211.c 		rtw_sec_clear_cam(rtwdev, sec, key->hw_key_idx);
sec              1175 drivers/net/wireless/realtek/rtw88/main.c 	rtwdev->sec.total_cam_num = 32;
sec              1326 drivers/net/wireless/realtek/rtw88/main.h 	struct rtw_sec_desc sec;
sec                 9 drivers/net/wireless/realtek/rtw88/sec.c int rtw_sec_get_free_cam(struct rtw_sec_desc *sec)
sec                15 drivers/net/wireless/realtek/rtw88/sec.c 	if (sec->default_key_search)
sec                16 drivers/net/wireless/realtek/rtw88/sec.c 		return find_next_zero_bit(sec->cam_map, RTW_MAX_SEC_CAM_NUM,
sec                19 drivers/net/wireless/realtek/rtw88/sec.c 	return find_first_zero_bit(sec->cam_map, RTW_MAX_SEC_CAM_NUM);
sec                23 drivers/net/wireless/realtek/rtw88/sec.c 		       struct rtw_sec_desc *sec,
sec                28 drivers/net/wireless/realtek/rtw88/sec.c 	struct rtw_cam_entry *cam = &sec->cam_table[hw_key_idx];
sec                35 drivers/net/wireless/realtek/rtw88/sec.c 	set_bit(hw_key_idx, sec->cam_map);
sec                79 drivers/net/wireless/realtek/rtw88/sec.c 		       struct rtw_sec_desc *sec,
sec                82 drivers/net/wireless/realtek/rtw88/sec.c 	struct rtw_cam_entry *cam = &sec->cam_table[hw_key_idx];
sec                87 drivers/net/wireless/realtek/rtw88/sec.c 	clear_bit(hw_key_idx, sec->cam_map);
sec               101 drivers/net/wireless/realtek/rtw88/sec.c 	struct rtw_sec_desc *sec = &rtwdev->sec;
sec               106 drivers/net/wireless/realtek/rtw88/sec.c 	sec->default_key_search = true;
sec               115 drivers/net/wireless/realtek/rtw88/sec.c 	if (sec->default_key_search)
sec                28 drivers/net/wireless/realtek/rtw88/sec.h int rtw_sec_get_free_cam(struct rtw_sec_desc *sec);
sec                30 drivers/net/wireless/realtek/rtw88/sec.h 		       struct rtw_sec_desc *sec,
sec                35 drivers/net/wireless/realtek/rtw88/sec.h 		       struct rtw_sec_desc *sec,
sec               401 drivers/nvdimm/bus.c 		set_bit(NVDIMM_SECURITY_FROZEN, &nvdimm->sec.flags);
sec               375 drivers/nvdimm/dimm_devs.c 	if (test_bit(NVDIMM_SECURITY_DISABLED, &nvdimm->sec.flags))
sec               377 drivers/nvdimm/dimm_devs.c 	if (test_bit(NVDIMM_SECURITY_UNLOCKED, &nvdimm->sec.flags))
sec               379 drivers/nvdimm/dimm_devs.c 	if (test_bit(NVDIMM_SECURITY_LOCKED, &nvdimm->sec.flags))
sec               381 drivers/nvdimm/dimm_devs.c 	if (test_bit(NVDIMM_SECURITY_OVERWRITE, &nvdimm->sec.flags))
sec               392 drivers/nvdimm/dimm_devs.c 				&nvdimm->sec.flags));
sec               435 drivers/nvdimm/dimm_devs.c 	if (!nvdimm->sec.flags)
sec               440 drivers/nvdimm/dimm_devs.c 		if (nvdimm->sec.ops->freeze || nvdimm->sec.ops->disable
sec               441 drivers/nvdimm/dimm_devs.c 				|| nvdimm->sec.ops->change_key
sec               442 drivers/nvdimm/dimm_devs.c 				|| nvdimm->sec.ops->erase
sec               443 drivers/nvdimm/dimm_devs.c 				|| nvdimm->sec.ops->overwrite)
sec               448 drivers/nvdimm/dimm_devs.c 	if (nvdimm->sec.ops->freeze)
sec               492 drivers/nvdimm/dimm_devs.c 	nvdimm->sec.ops = sec_ops;
sec               493 drivers/nvdimm/dimm_devs.c 	nvdimm->sec.overwrite_tmo = 0;
sec               500 drivers/nvdimm/dimm_devs.c 	nvdimm->sec.flags = nvdimm_security_flags(nvdimm, NVDIMM_USER);
sec               501 drivers/nvdimm/dimm_devs.c 	nvdimm->sec.ext_flags = nvdimm_security_flags(nvdimm, NVDIMM_MASTER);
sec               512 drivers/nvdimm/dimm_devs.c 	sysfs_put(nvdimm->sec.overwrite_state);
sec               519 drivers/nvdimm/dimm_devs.c 	if (!nvdimm->sec.flags || !nvdimm->sec.ops
sec               520 drivers/nvdimm/dimm_devs.c 			|| !nvdimm->sec.ops->overwrite)
sec               522 drivers/nvdimm/dimm_devs.c 	nvdimm->sec.overwrite_state = sysfs_get_dirent(dev->kobj.sd, "security");
sec               523 drivers/nvdimm/dimm_devs.c 	if (!nvdimm->sec.overwrite_state)
sec               542 drivers/nvdimm/dimm_devs.c 	if (!nvdimm->sec.ops || !nvdimm->sec.ops->freeze)
sec               545 drivers/nvdimm/dimm_devs.c 	if (!nvdimm->sec.flags)
sec               553 drivers/nvdimm/dimm_devs.c 	rc = nvdimm->sec.ops->freeze(nvdimm);
sec               554 drivers/nvdimm/dimm_devs.c 	nvdimm->sec.flags = nvdimm_security_flags(nvdimm, NVDIMM_USER);
sec                46 drivers/nvdimm/nd-core.h 	} sec;
sec                59 drivers/nvdimm/nd-core.h 	if (!nvdimm->sec.ops)
sec                62 drivers/nvdimm/nd-core.h 	flags = nvdimm->sec.ops->get_flags(nvdimm, ptype);
sec               145 drivers/nvdimm/security.c 	if (!nvdimm->sec.ops->change_key)
sec               154 drivers/nvdimm/security.c 	rc = nvdimm->sec.ops->change_key(nvdimm, data, data, NVDIMM_USER);
sec               161 drivers/nvdimm/security.c 	nvdimm->sec.flags = nvdimm_security_flags(nvdimm, NVDIMM_USER);
sec               176 drivers/nvdimm/security.c 	if (!nvdimm->sec.ops || !nvdimm->sec.ops->unlock
sec               177 drivers/nvdimm/security.c 			|| !nvdimm->sec.flags)
sec               181 drivers/nvdimm/security.c 	if (test_bit(NVDIMM_SECURITY_DISABLED, &nvdimm->sec.flags))
sec               196 drivers/nvdimm/security.c 	if (test_bit(NVDIMM_SECURITY_UNLOCKED, &nvdimm->sec.flags)) {
sec               204 drivers/nvdimm/security.c 	rc = nvdimm->sec.ops->unlock(nvdimm, data);
sec               209 drivers/nvdimm/security.c 	nvdimm->sec.flags = nvdimm_security_flags(nvdimm, NVDIMM_USER);
sec               228 drivers/nvdimm/security.c 	if (test_bit(NVDIMM_SECURITY_FROZEN, &nvdimm->sec.flags)) {
sec               230 drivers/nvdimm/security.c 				nvdimm->sec.flags);
sec               253 drivers/nvdimm/security.c 	if (!nvdimm->sec.ops || !nvdimm->sec.ops->disable
sec               254 drivers/nvdimm/security.c 			|| !nvdimm->sec.flags)
sec               266 drivers/nvdimm/security.c 	rc = nvdimm->sec.ops->disable(nvdimm, data);
sec               271 drivers/nvdimm/security.c 	nvdimm->sec.flags = nvdimm_security_flags(nvdimm, NVDIMM_USER);
sec               288 drivers/nvdimm/security.c 	if (!nvdimm->sec.ops || !nvdimm->sec.ops->change_key
sec               289 drivers/nvdimm/security.c 			|| !nvdimm->sec.flags)
sec               308 drivers/nvdimm/security.c 	rc = nvdimm->sec.ops->change_key(nvdimm, data, newdata, pass_type);
sec               317 drivers/nvdimm/security.c 		nvdimm->sec.ext_flags = nvdimm_security_flags(nvdimm,
sec               320 drivers/nvdimm/security.c 		nvdimm->sec.flags = nvdimm_security_flags(nvdimm,
sec               337 drivers/nvdimm/security.c 	if (!nvdimm->sec.ops || !nvdimm->sec.ops->erase
sec               338 drivers/nvdimm/security.c 			|| !nvdimm->sec.flags)
sec               345 drivers/nvdimm/security.c 	if (!test_bit(NVDIMM_SECURITY_UNLOCKED, &nvdimm->sec.ext_flags)
sec               357 drivers/nvdimm/security.c 	rc = nvdimm->sec.ops->erase(nvdimm, data, pass_type);
sec               363 drivers/nvdimm/security.c 	nvdimm->sec.flags = nvdimm_security_flags(nvdimm, NVDIMM_USER);
sec               378 drivers/nvdimm/security.c 	if (!nvdimm->sec.ops || !nvdimm->sec.ops->overwrite
sec               379 drivers/nvdimm/security.c 			|| !nvdimm->sec.flags)
sec               396 drivers/nvdimm/security.c 	rc = nvdimm->sec.ops->overwrite(nvdimm, data);
sec               404 drivers/nvdimm/security.c 		set_bit(NVDIMM_SECURITY_OVERWRITE, &nvdimm->sec.flags);
sec               432 drivers/nvdimm/security.c 	tmo = nvdimm->sec.overwrite_tmo;
sec               434 drivers/nvdimm/security.c 	if (!nvdimm->sec.ops || !nvdimm->sec.ops->query_overwrite
sec               435 drivers/nvdimm/security.c 			|| !nvdimm->sec.flags)
sec               438 drivers/nvdimm/security.c 	rc = nvdimm->sec.ops->query_overwrite(nvdimm);
sec               444 drivers/nvdimm/security.c 		nvdimm->sec.overwrite_tmo = min(15U * 60U, tmo);
sec               453 drivers/nvdimm/security.c 	if (nvdimm->sec.overwrite_state)
sec               454 drivers/nvdimm/security.c 		sysfs_notify_dirent(nvdimm->sec.overwrite_state);
sec               455 drivers/nvdimm/security.c 	nvdimm->sec.overwrite_tmo = 0;
sec               459 drivers/nvdimm/security.c 	nvdimm->sec.flags = nvdimm_security_flags(nvdimm, NVDIMM_USER);
sec               460 drivers/nvdimm/security.c 	nvdimm->sec.flags = nvdimm_security_flags(nvdimm, NVDIMM_MASTER);
sec               169 drivers/pci/hotplug/shpchp_hpc.c static void start_int_poll_timer(struct controller *ctrl, int sec);
sec               234 drivers/pci/hotplug/shpchp_hpc.c static void start_int_poll_timer(struct controller *ctrl, int sec)
sec               237 drivers/pci/hotplug/shpchp_hpc.c 	if ((sec <= 0) || (sec > 60))
sec               238 drivers/pci/hotplug/shpchp_hpc.c 		sec = 2;
sec               240 drivers/pci/hotplug/shpchp_hpc.c 	ctrl->poll_timer.expires = jiffies + sec * HZ;
sec              1097 drivers/pci/probe.c static bool pci_ea_fixed_busnrs(struct pci_dev *dev, u8 *sec, u8 *sub)
sec              1118 drivers/pci/probe.c 	*sec = ea_sec;
sec                32 drivers/pps/kapi.c 		ts->sec++;
sec                36 drivers/pps/kapi.c 		ts->sec--;
sec                38 drivers/pps/kapi.c 	ts->sec += offset->sec;
sec               164 drivers/pps/kapi.c 	struct pps_ktime ts_real = { .sec = 0, .nsec = 0, .flags = 0 };
sec                66 drivers/pps/pps.c 				(long long) fdata->timeout.sec,
sec                68 drivers/pps/pps.c 		ticks = fdata->timeout.sec * HZ;
sec                27 drivers/pps/sysfs.c 			(long long) pps->assert_tu.sec, pps->assert_tu.nsec,
sec                41 drivers/pps/sysfs.c 			(long long) pps->clear_tu.sec, pps->clear_tu.nsec,
sec               208 drivers/ptp/ptp_chardev.c 		enable = req.perout.period.sec || req.perout.period.nsec;
sec               235 drivers/ptp/ptp_chardev.c 		precise_offset.device.sec = ts.tv_sec;
sec               238 drivers/ptp/ptp_chardev.c 		precise_offset.sys_realtime.sec = ts.tv_sec;
sec               241 drivers/ptp/ptp_chardev.c 		precise_offset.sys_monoraw.sec = ts.tv_sec;
sec               269 drivers/ptp/ptp_chardev.c 			extoff->ts[i][0].sec = sts.pre_ts.tv_sec;
sec               271 drivers/ptp/ptp_chardev.c 			extoff->ts[i][1].sec = ts.tv_sec;
sec               273 drivers/ptp/ptp_chardev.c 			extoff->ts[i][2].sec = sts.post_ts.tv_sec;
sec               295 drivers/ptp/ptp_chardev.c 			pct->sec = ts.tv_sec;
sec               304 drivers/ptp/ptp_chardev.c 			pct->sec = ts.tv_sec;
sec               309 drivers/ptp/ptp_chardev.c 		pct->sec = ts.tv_sec;
sec                55 drivers/ptp/ptp_clock.c 	dst->t.sec = seconds;
sec                68 drivers/ptp/ptp_kvm.c 		tspec.tv_sec = clock_pair.sec;
sec               128 drivers/ptp/ptp_kvm.c 	tspec.tv_sec = clock_pair.sec;
sec                89 drivers/ptp/ptp_sysfs.c 		       event.index, event.t.sec, event.t.nsec);
sec               106 drivers/ptp/ptp_sysfs.c 		     &req.perout.start.sec, &req.perout.start.nsec,
sec               107 drivers/ptp/ptp_sysfs.c 		     &req.perout.period.sec, &req.perout.period.nsec);
sec               113 drivers/ptp/ptp_sysfs.c 	enable = req.perout.period.sec || req.perout.period.nsec;
sec                21 drivers/rtc/rtc-bd70528.c 	u8 sec;
sec               166 drivers/rtc/rtc-bd70528.c 	d->sec &= ~BD70528_MASK_RTC_SEC;
sec               169 drivers/rtc/rtc-bd70528.c 	d->sec |= bin2bcd(t->tm_sec);
sec               198 drivers/rtc/rtc-bd70528.c 	t->tm_sec = bcd2bin(r->time.sec & BD70528_MASK_RTC_SEC);
sec                95 drivers/rtc/rtc-bq4802.c 	u8 sec, min, hrs, day, mon, yrs, century, val;
sec               107 drivers/rtc/rtc-bq4802.c 	sec = tm->tm_sec;
sec               109 drivers/rtc/rtc-bq4802.c 	sec = bin2bcd(sec);
sec               122 drivers/rtc/rtc-bq4802.c 	p->write(p, 0x00, sec);
sec                71 drivers/rtc/rtc-brcmstb-waketimer.c 	u32 sec;
sec                81 drivers/rtc/rtc-brcmstb-waketimer.c 		t->sec = readl_relaxed(timer->base + BRCMSTB_WKTMR_COUNTER);
sec               127 drivers/rtc/rtc-brcmstb-waketimer.c 	rtc_time64_to_tm(now.sec, tm);
sec               136 drivers/rtc/rtc-brcmstb-waketimer.c 	time64_t sec;
sec               138 drivers/rtc/rtc-brcmstb-waketimer.c 	sec = rtc_tm_to_time64(tm);
sec               140 drivers/rtc/rtc-brcmstb-waketimer.c 	writel_relaxed(sec, timer->base + BRCMSTB_WKTMR_COUNTER);
sec               149 drivers/rtc/rtc-brcmstb-waketimer.c 	time64_t sec;
sec               152 drivers/rtc/rtc-brcmstb-waketimer.c 	sec = readl_relaxed(timer->base + BRCMSTB_WKTMR_ALARM);
sec               153 drivers/rtc/rtc-brcmstb-waketimer.c 	if (sec != 0) {
sec               156 drivers/rtc/rtc-brcmstb-waketimer.c 		rtc_time64_to_tm(sec, &alarm->time);
sec               169 drivers/rtc/rtc-brcmstb-waketimer.c 	time64_t sec;
sec               172 drivers/rtc/rtc-brcmstb-waketimer.c 		sec = rtc_tm_to_time64(&alarm->time);
sec               174 drivers/rtc/rtc-brcmstb-waketimer.c 		sec = 0;
sec               176 drivers/rtc/rtc-brcmstb-waketimer.c 	brcmstb_waketmr_set_alarm(timer, sec);
sec               144 drivers/rtc/rtc-cmos.c hpet_set_alarm_time(unsigned char hrs, unsigned char min, unsigned char sec)
sec               449 drivers/rtc/rtc-cmos.c 	unsigned char mon, mday, hrs, min, sec, rtc_control;
sec               464 drivers/rtc/rtc-cmos.c 	sec = t->time.tm_sec;
sec               473 drivers/rtc/rtc-cmos.c 		sec = (sec < 60) ? bin2bcd(sec) : 0xff;
sec               484 drivers/rtc/rtc-cmos.c 	CMOS_WRITE(sec, RTC_SECONDS_ALARM);
sec                17 drivers/rtc/rtc-ds1216.c 	u8 sec;
sec                86 drivers/rtc/rtc-ds1216.c 	tm->tm_sec = bcd2bin(regs.sec);
sec               114 drivers/rtc/rtc-ds1216.c 	regs.sec = bin2bcd(tm->tm_sec);
sec               216 drivers/rtc/rtc-ds1286.c 	unsigned char mon, day, hrs, min, sec;
sec               226 drivers/rtc/rtc-ds1286.c 	sec = tm->tm_sec;
sec               238 drivers/rtc/rtc-ds1286.c 	sec = bin2bcd(sec);
sec               254 drivers/rtc/rtc-ds1286.c 	ds1286_rtc_write(priv, sec, RTC_SECONDS);
sec               287 drivers/rtc/rtc-ds1286.c 	unsigned char hrs, min, sec;
sec               291 drivers/rtc/rtc-ds1286.c 	sec = alm->time.tm_sec;
sec               299 drivers/rtc/rtc-ds1286.c 	if (sec != 0)
sec               182 drivers/rtc/rtc-ds1511.c 	u8 mon, day, dow, hrs, min, sec, yrs, cen;
sec               201 drivers/rtc/rtc-ds1511.c 	sec = rtc_tm->tm_sec;
sec               209 drivers/rtc/rtc-ds1511.c 	if ((hrs >= 24) || (min >= 60) || (sec >= 60))
sec               215 drivers/rtc/rtc-ds1511.c 	sec = bin2bcd(sec) & 0x7f;
sec               231 drivers/rtc/rtc-ds1511.c 	rtc_write(sec, RTC_SEC);
sec               253 drivers/rtc/rtc-ds1553.c 	unsigned int cen, sec;
sec               279 drivers/rtc/rtc-ds1553.c 	sec = readb(ioaddr + RTC_SECONDS);
sec               280 drivers/rtc/rtc-ds1553.c 	if (sec & RTC_STOP) {
sec               281 drivers/rtc/rtc-ds1553.c 		sec &= RTC_SECONDS_MASK;
sec               284 drivers/rtc/rtc-ds1553.c 		writeb(sec, ioaddr + RTC_SECONDS);
sec               146 drivers/rtc/rtc-ds1742.c 	unsigned int cen, sec;
sec               174 drivers/rtc/rtc-ds1742.c 	sec = readb(ioaddr + RTC_SECONDS);
sec               175 drivers/rtc/rtc-ds1742.c 	if (sec & RTC_STOP) {
sec               176 drivers/rtc/rtc-ds1742.c 		sec &= RTC_SECONDS_MASK;
sec               179 drivers/rtc/rtc-ds1742.c 		writeb(sec, ioaddr + RTC_SECONDS);
sec                68 drivers/rtc/rtc-ftrtc010.c 	u32 days, hour, min, sec, offset;
sec                71 drivers/rtc/rtc-ftrtc010.c 	sec  = readl(rtc->rtc_base + FTRTC010_RTC_SECOND);
sec                77 drivers/rtc/rtc-ftrtc010.c 	time = offset + days * 86400 + hour * 3600 + min * 60 + sec;
sec                87 drivers/rtc/rtc-ftrtc010.c 	u32 sec, min, hour, day, offset;
sec                92 drivers/rtc/rtc-ftrtc010.c 	sec = readl(rtc->rtc_base + FTRTC010_RTC_SECOND);
sec                97 drivers/rtc/rtc-ftrtc010.c 	offset = time - (day * 86400 + hour * 3600 + min * 60 + sec);
sec               112 drivers/rtc/rtc-ftrtc010.c 	u32 days, hour, min, sec;
sec               165 drivers/rtc/rtc-ftrtc010.c 	sec  = readl(rtc->rtc_base + FTRTC010_RTC_SECOND);
sec               171 drivers/rtc/rtc-ftrtc010.c 				  min * 60 + sec;
sec                39 drivers/rtc/rtc-imx-sc.c 	u8 sec;
sec               110 drivers/rtc/rtc-imx-sc.c 	msg.sec = alrm_tm->tm_sec;
sec               281 drivers/rtc/rtc-imxdi.c 	u32 dcr, sec;
sec               291 drivers/rtc/rtc-imxdi.c 	sec = readl(imxdi->ioaddr + DTCMR);
sec               292 drivers/rtc/rtc-imxdi.c 	if (sec != 0)
sec               295 drivers/rtc/rtc-imxdi.c 			 sec);
sec               330 drivers/rtc/rtc-imxdi.c 	di_write_busy_wait(imxdi, sec, DTCMR);
sec                24 drivers/rtc/rtc-m48t35.c 	u8	sec;
sec                58 drivers/rtc/rtc-m48t35.c 	tm->tm_sec = readb(&priv->reg->sec);
sec                89 drivers/rtc/rtc-m48t35.c 	unsigned char mon, day, hrs, min, sec;
sec                98 drivers/rtc/rtc-m48t35.c 	sec = tm->tm_sec;
sec               113 drivers/rtc/rtc-m48t35.c 	sec = bin2bcd(sec);
sec               128 drivers/rtc/rtc-m48t35.c 	writeb(sec, &priv->reg->sec);
sec               198 drivers/rtc/rtc-m48t59.c 	u8 mday, hour, min, sec;
sec               228 drivers/rtc/rtc-m48t59.c 	sec = tm->tm_sec;
sec               229 drivers/rtc/rtc-m48t59.c 	sec = (sec < 60) ? bin2bcd(sec) : 0x00;
sec               238 drivers/rtc/rtc-m48t59.c 	M48T59_WRITE(sec, M48T59_ALARM_SEC);
sec               106 drivers/rtc/rtc-mc146818-lib.c 	unsigned char mon, day, hrs, min, sec;
sec               119 drivers/rtc/rtc-mc146818-lib.c 	sec = time->tm_sec;
sec               163 drivers/rtc/rtc-mc146818-lib.c 		sec = bin2bcd(sec);
sec               185 drivers/rtc/rtc-mc146818-lib.c 	CMOS_WRITE(sec, RTC_SECONDS);
sec               110 drivers/rtc/rtc-mrst.c 	unsigned char mon, day, hrs, min, sec;
sec               118 drivers/rtc/rtc-mrst.c 	sec = time->tm_sec;
sec               131 drivers/rtc/rtc-mrst.c 	vrtc_cmos_write(sec, RTC_SECONDS);
sec               206 drivers/rtc/rtc-mrst.c 	unsigned char hrs, min, sec;
sec               214 drivers/rtc/rtc-mrst.c 	sec = t->time.tm_sec;
sec               223 drivers/rtc/rtc-mrst.c 	vrtc_cmos_write(sec, RTC_SECONDS_ALARM);
sec               125 drivers/rtc/rtc-mt6397.c 			       struct rtc_time *tm, int *sec)
sec               143 drivers/rtc/rtc-mt6397.c 	ret = regmap_read(rtc->regmap, rtc->addr_base + RTC_TC_SEC, sec);
sec               153 drivers/rtc/rtc-mt6397.c 	int days, sec, ret;
sec               156 drivers/rtc/rtc-mt6397.c 		ret = __mtk_rtc_read_time(rtc, tm, &sec);
sec               159 drivers/rtc/rtc-mt6397.c 	} while (sec < tm->tm_sec);
sec               155 drivers/rtc/rtc-mt7622.c 	u32 year, mon, mday, wday, hour, min, sec;
sec               164 drivers/rtc/rtc-mt7622.c 		sec = mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_SEC));
sec               171 drivers/rtc/rtc-mt7622.c 	} while (sec != mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_SEC)));
sec               173 drivers/rtc/rtc-mt7622.c 	tm->tm_sec  = sec;
sec               108 drivers/rtc/rtc-mxc.c 	u32 day = 0, hr = 0, min = 0, sec = 0, hr_min = 0;
sec               114 drivers/rtc/rtc-mxc.c 		sec = readw(ioaddr + RTC_SECOND);
sec               119 drivers/rtc/rtc-mxc.c 		sec = readw(ioaddr + RTC_ALRM_SEC);
sec               126 drivers/rtc/rtc-mxc.c 	return ((((time64_t)day * 24 + hr) * 60) + min) * 60 + sec;
sec               134 drivers/rtc/rtc-mxc.c 	u32 tod, day, hr, min, sec, temp;
sec               146 drivers/rtc/rtc-mxc.c 	sec = tod - min * 60;
sec               153 drivers/rtc/rtc-mxc.c 		writew(sec, ioaddr + RTC_SECOND);
sec               158 drivers/rtc/rtc-mxc.c 		writew(sec, ioaddr + RTC_ALRM_SEC);
sec                87 drivers/rtc/rtc-rtd119x.c 	u32 sec;
sec                97 drivers/rtc/rtc-rtd119x.c 		sec  = (readl_relaxed(data->base + RTD_RTCSEC) & RTD_RTCSEC_RTCSEC_MASK) >> 1;
sec               100 drivers/rtc/rtc-rtd119x.c 		if (sec == tm->tm_sec)
sec               170 drivers/rtc/rtc-sc27xx.c 	u32 val, sec, min, hour, day;
sec               200 drivers/rtc/rtc-sc27xx.c 	sec = val & SPRD_RTC_SEC_MASK;
sec               219 drivers/rtc/rtc-sc27xx.c 	*secs = (((time64_t)(day * 24) + hour) * 60 + min) * 60 + sec;
sec               227 drivers/rtc/rtc-sc27xx.c 	u32 sec, min, hour, day, val;
sec               235 drivers/rtc/rtc-sc27xx.c 	sec = rem - min * 60;
sec               263 drivers/rtc/rtc-sc27xx.c 	ret = regmap_write(rtc->regmap, rtc->base + sec_reg, sec);
sec               106 drivers/rtc/rtc-tegra.c 	u32 sec, msec;
sec               115 drivers/rtc/rtc-tegra.c 	sec = readl(info->base + TEGRA_RTC_REG_SHADOW_SECONDS);
sec               119 drivers/rtc/rtc-tegra.c 	rtc_time64_to_tm(sec, tm);
sec               121 drivers/rtc/rtc-tegra.c 	dev_vdbg(dev, "time read as %u, %ptR\n", sec, tm);
sec               129 drivers/rtc/rtc-tegra.c 	u32 sec;
sec               133 drivers/rtc/rtc-tegra.c 	sec = rtc_tm_to_time64(tm);
sec               135 drivers/rtc/rtc-tegra.c 	dev_vdbg(dev, "time set to %u, %ptR\n", sec, tm);
sec               140 drivers/rtc/rtc-tegra.c 		writel(sec, info->base + TEGRA_RTC_REG_SECONDS);
sec               151 drivers/rtc/rtc-tegra.c 	u32 sec, value;
sec               153 drivers/rtc/rtc-tegra.c 	sec = readl(info->base + TEGRA_RTC_REG_SECONDS_ALARM0);
sec               155 drivers/rtc/rtc-tegra.c 	if (sec == 0) {
sec               161 drivers/rtc/rtc-tegra.c 		rtc_time64_to_tm(sec, &alarm->time);
sec               196 drivers/rtc/rtc-tegra.c 	u32 sec;
sec               199 drivers/rtc/rtc-tegra.c 		sec = rtc_tm_to_time64(&alarm->time);
sec               201 drivers/rtc/rtc-tegra.c 		sec = 0;
sec               204 drivers/rtc/rtc-tegra.c 	writel(sec, info->base + TEGRA_RTC_REG_SECONDS_ALARM0);
sec               209 drivers/rtc/rtc-tegra.c 	if (sec) {
sec               211 drivers/rtc/rtc-tegra.c 		dev_vdbg(dev, "alarm set as %u, %ptR\n", sec, &alarm->time);
sec                90 drivers/rtc/rtc-tx4939.c 	unsigned long sec;
sec               105 drivers/rtc/rtc-tx4939.c 	sec = ((unsigned long)buf[5] << 24) | (buf[4] << 16) |
sec               107 drivers/rtc/rtc-tx4939.c 	rtc_time64_to_tm(sec, tm);
sec               116 drivers/rtc/rtc-tx4939.c 	unsigned long sec;
sec               119 drivers/rtc/rtc-tx4939.c 	sec = rtc_tm_to_time64(&alrm->time);
sec               122 drivers/rtc/rtc-tx4939.c 	buf[2] = sec;
sec               123 drivers/rtc/rtc-tx4939.c 	buf[3] = sec >> 8;
sec               124 drivers/rtc/rtc-tx4939.c 	buf[4] = sec >> 16;
sec               125 drivers/rtc/rtc-tx4939.c 	buf[5] = sec >> 24;
sec               141 drivers/rtc/rtc-tx4939.c 	unsigned long sec;
sec               160 drivers/rtc/rtc-tx4939.c 	sec = ((unsigned long)buf[5] << 24) | (buf[4] << 16) |
sec               162 drivers/rtc/rtc-tx4939.c 	rtc_time64_to_tm(sec, &alrm->time);
sec                98 drivers/rtc/rtc-vr41xx.c static inline void write_elapsed_second(time64_t sec)
sec               102 drivers/rtc/rtc-vr41xx.c 	rtc1_write(ETIMELREG, (uint16_t)(sec << 15));
sec               103 drivers/rtc/rtc-vr41xx.c 	rtc1_write(ETIMEMREG, (uint16_t)(sec >> 1));
sec               104 drivers/rtc/rtc-vr41xx.c 	rtc1_write(ETIMEHREG, (uint16_t)(sec >> 17));
sec               169 drivers/sbus/char/oradax.c 	void *sec;		/* Secondary Input Address */
sec               474 drivers/sbus/char/oradax.c 			if (dax_lock_page(ccbp->sec,
sec               476 drivers/sbus/char/oradax.c 				*err_va = (u64)ccbp->sec;
sec              5003 drivers/scsi/bfa/bfa_ioc.c diag_portbeacon_send(struct bfa_diag_s *diag, bfa_boolean_t beacon, u32 sec)
sec              5012 drivers/scsi/bfa/bfa_ioc.c 	msg->period = cpu_to_be32(sec);
sec              5229 drivers/scsi/bfa/bfa_ioc.c 		bfa_boolean_t link_e2e_beacon, uint32_t sec)
sec              5233 drivers/scsi/bfa/bfa_ioc.c 	bfa_trc(diag, sec);
sec              5250 drivers/scsi/bfa/bfa_ioc.c 	diag_portbeacon_send(diag, beacon, sec);
sec               657 drivers/scsi/bfa/bfa_ioc.h 			u32 sec);
sec               155 drivers/scsi/gdth_proc.c     int id, i, j, k, sec, flag;
sec               544 drivers/scsi/gdth_proc.c 	    sec = (int)((u32)ktime_get_real_seconds() - estr->first_stamp);
sec               545 drivers/scsi/gdth_proc.c             if (sec < 0) sec = 0;
sec               547 drivers/scsi/gdth_proc.c                            sec/3600, sec%3600/60, sec%60, hrec);
sec               250 drivers/scsi/iscsi_boot_sysfs.c iscsi_boot_rd_attr(ini_secondary_radius, sec-radius-server,
sec              1521 drivers/scsi/qla2xxx/qla_init.c 	u16 sec;
sec              1652 drivers/scsi/qla2xxx/qla_init.c 		sec =  jiffies_to_msecs(jiffies -
sec              1654 drivers/scsi/qla2xxx/qla_init.c 		if (fcport->sec_since_registration < sec && sec &&
sec              1655 drivers/scsi/qla2xxx/qla_init.c 		    !(sec % 60)) {
sec              1656 drivers/scsi/qla2xxx/qla_init.c 			fcport->sec_since_registration = sec;
sec              1659 drivers/scsi/qla2xxx/qla_init.c 			    __func__, fcport->port_name, sec);
sec              1218 drivers/scsi/qla2xxx/qla_target.c 	u16 sec;
sec              1239 drivers/scsi/qla2xxx/qla_target.c 		sec = jiffies_to_msecs(jiffies -
sec              1241 drivers/scsi/qla2xxx/qla_target.c 		if (sess->sec_since_registration < sec && sec && !(sec % 5)) {
sec              1242 drivers/scsi/qla2xxx/qla_target.c 			sess->sec_since_registration = sec;
sec              1245 drivers/scsi/qla2xxx/qla_target.c 			    __func__, sess->port_name, sec);
sec              4750 drivers/scsi/qla2xxx/qla_target.c 		u16 sec;
sec              4758 drivers/scsi/qla2xxx/qla_target.c 		sec = jiffies_to_msecs(jiffies -
sec              4760 drivers/scsi/qla2xxx/qla_target.c 		if (sess->sec_since_registration < sec && sec &&
sec              4761 drivers/scsi/qla2xxx/qla_target.c 		    !(sec % 5)) {
sec              4762 drivers/scsi/qla2xxx/qla_target.c 			sess->sec_since_registration = sec;
sec              4765 drivers/scsi/qla2xxx/qla_target.c 			    __func__, sess->port_name, sec);
sec              4938 drivers/scsi/qla2xxx/qla_target.c 			int sec;
sec              4956 drivers/scsi/qla2xxx/qla_target.c 				sec = jiffies_to_msecs(jiffies -
sec              4958 drivers/scsi/qla2xxx/qla_target.c 				if (sess->sec_since_registration < sec && sec &&
sec              4959 drivers/scsi/qla2xxx/qla_target.c 				    !(sec % 5)) {
sec              4960 drivers/scsi/qla2xxx/qla_target.c 					sess->sec_since_registration = sec;
sec              4963 drivers/scsi/qla2xxx/qla_target.c 					    __func__, sess->port_name, sec);
sec               210 drivers/scsi/sr_vendor.c 			unsigned long min, sec, frame;
sec               230 drivers/scsi/sr_vendor.c 			sec = bcd2bin(buffer[16]);
sec               232 drivers/scsi/sr_vendor.c 			sector = min * CD_SECS * CD_FRAMES + sec * CD_FRAMES + frame;
sec               237 drivers/scsi/sr_vendor.c 			unsigned long min, sec, frame;
sec               258 drivers/scsi/sr_vendor.c 			sec = bcd2bin(buffer[2]);
sec               260 drivers/scsi/sr_vendor.c 			sector = min * CD_SECS * CD_FRAMES + sec * CD_FRAMES + frame;
sec               144 drivers/staging/comedi/drivers/me_daq.c static inline void sleep(unsigned int sec)
sec               146 drivers/staging/comedi/drivers/me_daq.c 	schedule_timeout_interruptible(sec * HZ);
sec                93 drivers/staging/exfat/exfat.h #define IS_LAST_SECTOR_IN_CLUSTER(sec)				\
sec                94 drivers/staging/exfat/exfat.h 	((((sec) - p_fs->data_start_sector + 1) &		\
sec                97 drivers/staging/exfat/exfat.h #define GET_CLUSTER_FROM_SECTOR(sec)				\
sec                98 drivers/staging/exfat/exfat.h 	((u32)((((sec) - p_fs->data_start_sector) >>		\
sec               307 drivers/staging/exfat/exfat.h 	u16      sec;        /* 0 ~ 59               */
sec               534 drivers/staging/exfat/exfat.h 	sector_t          sec;
sec               771 drivers/staging/exfat/exfat.h u8 *FAT_getblk(struct super_block *sb, sector_t sec);
sec               772 drivers/staging/exfat/exfat.h void FAT_modify(struct super_block *sb, sector_t sec);
sec               775 drivers/staging/exfat/exfat.h u8 *buf_getblk(struct super_block *sb, sector_t sec);
sec               776 drivers/staging/exfat/exfat.h void buf_modify(struct super_block *sb, sector_t sec);
sec               777 drivers/staging/exfat/exfat.h void buf_lock(struct super_block *sb, sector_t sec);
sec               778 drivers/staging/exfat/exfat.h void buf_unlock(struct super_block *sb, sector_t sec);
sec               779 drivers/staging/exfat/exfat.h void buf_release(struct super_block *sb, sector_t sec);
sec               953 drivers/staging/exfat/exfat.h int sector_read(struct super_block *sb, sector_t sec,
sec               955 drivers/staging/exfat/exfat.h int sector_write(struct super_block *sb, sector_t sec,
sec               957 drivers/staging/exfat/exfat.h int multi_sector_read(struct super_block *sb, sector_t sec,
sec               959 drivers/staging/exfat/exfat.h int multi_sector_write(struct super_block *sb, sector_t sec,
sec                18 drivers/staging/exfat/exfat_cache.c static struct buf_cache_t *FAT_cache_find(struct super_block *sb, sector_t sec)
sec                24 drivers/staging/exfat/exfat_cache.c 	off = (sec +
sec                25 drivers/staging/exfat/exfat_cache.c 	       (sec >> p_fs->sectors_per_clu_bits)) & (FAT_CACHE_HASH_SIZE - 1);
sec                29 drivers/staging/exfat/exfat_cache.c 		if ((bp->drv == p_fs->drv) && (bp->sec == sec)) {
sec                70 drivers/staging/exfat/exfat_cache.c static struct buf_cache_t *FAT_cache_get(struct super_block *sb, sector_t sec)
sec                89 drivers/staging/exfat/exfat_cache.c 	off = (bp->sec +
sec                90 drivers/staging/exfat/exfat_cache.c 	       (bp->sec >> p_fs->sectors_per_clu_bits)) &
sec               114 drivers/staging/exfat/exfat_cache.c 	off = (bp->sec +
sec               115 drivers/staging/exfat/exfat_cache.c 	       (bp->sec >> p_fs->sectors_per_clu_bits)) &
sec               143 drivers/staging/exfat/exfat_cache.c 		p_fs->FAT_cache_array[i].sec = ~0;
sec               157 drivers/staging/exfat/exfat_cache.c 		p_fs->buf_cache_array[i].sec = ~0;
sec               169 drivers/staging/exfat/exfat_cache.c 		p_fs->FAT_cache_hash_list[i].sec = ~0;
sec               181 drivers/staging/exfat/exfat_cache.c 		p_fs->buf_cache_hash_list[i].sec = ~0;
sec               200 drivers/staging/exfat/exfat_cache.c 	sector_t sec;
sec               206 drivers/staging/exfat/exfat_cache.c 		sec = p_fs->FAT1_start_sector +
sec               211 drivers/staging/exfat/exfat_cache.c 			fat_sector = FAT_getblk(sb, sec);
sec               217 drivers/staging/exfat/exfat_cache.c 			fat_sector = FAT_getblk(sb, ++sec);
sec               223 drivers/staging/exfat/exfat_cache.c 			fat_sector = FAT_getblk(sb, sec);
sec               243 drivers/staging/exfat/exfat_cache.c 		sec = p_fs->FAT1_start_sector +
sec               247 drivers/staging/exfat/exfat_cache.c 		fat_sector = FAT_getblk(sb, sec);
sec               264 drivers/staging/exfat/exfat_cache.c 		sec = p_fs->FAT1_start_sector +
sec               268 drivers/staging/exfat/exfat_cache.c 		fat_sector = FAT_getblk(sb, sec);
sec               285 drivers/staging/exfat/exfat_cache.c 		sec = p_fs->FAT1_start_sector +
sec               289 drivers/staging/exfat/exfat_cache.c 		fat_sector = FAT_getblk(sb, sec);
sec               328 drivers/staging/exfat/exfat_cache.c 	sector_t sec;
sec               336 drivers/staging/exfat/exfat_cache.c 		sec = p_fs->FAT1_start_sector +
sec               340 drivers/staging/exfat/exfat_cache.c 		fat_sector = FAT_getblk(sb, sec);
sec               351 drivers/staging/exfat/exfat_cache.c 				FAT_modify(sb, sec);
sec               353 drivers/staging/exfat/exfat_cache.c 				fat_sector = FAT_getblk(sb, ++sec);
sec               369 drivers/staging/exfat/exfat_cache.c 				FAT_modify(sb, sec);
sec               371 drivers/staging/exfat/exfat_cache.c 				fat_sector = FAT_getblk(sb, ++sec);
sec               388 drivers/staging/exfat/exfat_cache.c 		sec = p_fs->FAT1_start_sector + (loc >>
sec               392 drivers/staging/exfat/exfat_cache.c 		fat_sector = FAT_getblk(sb, sec);
sec               402 drivers/staging/exfat/exfat_cache.c 		sec = p_fs->FAT1_start_sector + (loc >>
sec               406 drivers/staging/exfat/exfat_cache.c 		fat_sector = FAT_getblk(sb, sec);
sec               416 drivers/staging/exfat/exfat_cache.c 		sec = p_fs->FAT1_start_sector + (loc >>
sec               420 drivers/staging/exfat/exfat_cache.c 		fat_sector = FAT_getblk(sb, sec);
sec               429 drivers/staging/exfat/exfat_cache.c 	FAT_modify(sb, sec);
sec               444 drivers/staging/exfat/exfat_cache.c u8 *FAT_getblk(struct super_block *sb, sector_t sec)
sec               449 drivers/staging/exfat/exfat_cache.c 	bp = FAT_cache_find(sb, sec);
sec               455 drivers/staging/exfat/exfat_cache.c 	bp = FAT_cache_get(sb, sec);
sec               460 drivers/staging/exfat/exfat_cache.c 	bp->sec = sec;
sec               465 drivers/staging/exfat/exfat_cache.c 	if (sector_read(sb, sec, &bp->buf_bh, 1) != FFS_SUCCESS) {
sec               468 drivers/staging/exfat/exfat_cache.c 		bp->sec = ~0;
sec               479 drivers/staging/exfat/exfat_cache.c void FAT_modify(struct super_block *sb, sector_t sec)
sec               483 drivers/staging/exfat/exfat_cache.c 	bp = FAT_cache_find(sb, sec);
sec               485 drivers/staging/exfat/exfat_cache.c 		sector_write(sb, sec, bp->buf_bh, 0);
sec               499 drivers/staging/exfat/exfat_cache.c 			bp->sec = ~0;
sec               532 drivers/staging/exfat/exfat_cache.c static struct buf_cache_t *buf_cache_find(struct super_block *sb, sector_t sec)
sec               538 drivers/staging/exfat/exfat_cache.c 	off = (sec + (sec >> p_fs->sectors_per_clu_bits)) &
sec               543 drivers/staging/exfat/exfat_cache.c 		if ((bp->drv == p_fs->drv) && (bp->sec == sec)) {
sec               551 drivers/staging/exfat/exfat_cache.c static struct buf_cache_t *buf_cache_get(struct super_block *sb, sector_t sec)
sec               564 drivers/staging/exfat/exfat_cache.c static u8 *__buf_getblk(struct super_block *sb, sector_t sec)
sec               569 drivers/staging/exfat/exfat_cache.c 	bp = buf_cache_find(sb, sec);
sec               575 drivers/staging/exfat/exfat_cache.c 	bp = buf_cache_get(sb, sec);
sec               580 drivers/staging/exfat/exfat_cache.c 	bp->sec = sec;
sec               585 drivers/staging/exfat/exfat_cache.c 	if (sector_read(sb, sec, &bp->buf_bh, 1) != FFS_SUCCESS) {
sec               588 drivers/staging/exfat/exfat_cache.c 		bp->sec = ~0;
sec               599 drivers/staging/exfat/exfat_cache.c u8 *buf_getblk(struct super_block *sb, sector_t sec)
sec               604 drivers/staging/exfat/exfat_cache.c 	buf = __buf_getblk(sb, sec);
sec               610 drivers/staging/exfat/exfat_cache.c void buf_modify(struct super_block *sb, sector_t sec)
sec               616 drivers/staging/exfat/exfat_cache.c 	bp = buf_cache_find(sb, sec);
sec               618 drivers/staging/exfat/exfat_cache.c 		sector_write(sb, sec, bp->buf_bh, 0);
sec               621 drivers/staging/exfat/exfat_cache.c 	     (unsigned long long)sec);
sec               626 drivers/staging/exfat/exfat_cache.c void buf_lock(struct super_block *sb, sector_t sec)
sec               632 drivers/staging/exfat/exfat_cache.c 	bp = buf_cache_find(sb, sec);
sec               637 drivers/staging/exfat/exfat_cache.c 	     (unsigned long long)sec);
sec               642 drivers/staging/exfat/exfat_cache.c void buf_unlock(struct super_block *sb, sector_t sec)
sec               648 drivers/staging/exfat/exfat_cache.c 	bp = buf_cache_find(sb, sec);
sec               653 drivers/staging/exfat/exfat_cache.c 	     (unsigned long long)sec);
sec               658 drivers/staging/exfat/exfat_cache.c void buf_release(struct super_block *sb, sector_t sec)
sec               665 drivers/staging/exfat/exfat_cache.c 	bp = buf_cache_find(sb, sec);
sec               668 drivers/staging/exfat/exfat_cache.c 		bp->sec = ~0;
sec               693 drivers/staging/exfat/exfat_cache.c 			bp->sec = ~0;
sec              1156 drivers/staging/exfat/exfat_core.c 	tp->sec  = (t & 0x001F) << 1;
sec              1185 drivers/staging/exfat/exfat_core.c 	tp->sec  = (t & 0x001F) << 1;
sec              1199 drivers/staging/exfat/exfat_core.c 	t = (tp->hour << 11) | (tp->min << 5) | (tp->sec >> 1);
sec              1220 drivers/staging/exfat/exfat_core.c 	t = (tp->hour << 11) | (tp->min << 5) | (tp->sec >> 1);
sec              1653 drivers/staging/exfat/exfat_core.c 	sector_t sec;
sec              1656 drivers/staging/exfat/exfat_core.c 	if (find_location(sb, p_dir, entry, &sec, &off) != FFS_SUCCESS)
sec              1659 drivers/staging/exfat/exfat_core.c 	buf = buf_getblk(sb, sec);
sec              1665 drivers/staging/exfat/exfat_core.c 		*sector = sec;
sec              1694 drivers/staging/exfat/exfat_core.c 	sector_t sec;
sec              1720 drivers/staging/exfat/exfat_core.c 	sec = byte_offset >> p_bd->sector_size_bits;
sec              1721 drivers/staging/exfat/exfat_core.c 	sec += START_SECTOR(clu);
sec              1723 drivers/staging/exfat/exfat_core.c 	buf = buf_getblk(sb, sec);
sec              1748 drivers/staging/exfat/exfat_core.c 	es->sector = sec;
sec              1811 drivers/staging/exfat/exfat_core.c 			if (IS_LAST_SECTOR_IN_CLUSTER(sec)) {
sec              1818 drivers/staging/exfat/exfat_core.c 				sec = START_SECTOR(clu);
sec              1820 drivers/staging/exfat/exfat_core.c 				sec++;
sec              1822 drivers/staging/exfat/exfat_core.c 			buf = buf_getblk(sb, sec);
sec              1855 drivers/staging/exfat/exfat_core.c 						sector_t sec, s32 off, u32 count)
sec              1865 drivers/staging/exfat/exfat_core.c 		__func__, es, (unsigned long long)sec, off, count);
sec              1874 drivers/staging/exfat/exfat_core.c 		buf = buf_getblk(sb, sec);
sec              1880 drivers/staging/exfat/exfat_core.c 			(unsigned long long)sec);
sec              1883 drivers/staging/exfat/exfat_core.c 		buf_modify(sb, sec);
sec              1888 drivers/staging/exfat/exfat_core.c 			if (IS_LAST_SECTOR_IN_CLUSTER(sec)) {
sec              1889 drivers/staging/exfat/exfat_core.c 				clu = GET_CLUSTER_FROM_SECTOR(sec);
sec              1896 drivers/staging/exfat/exfat_core.c 				sec = START_SECTOR(clu);
sec              1898 drivers/staging/exfat/exfat_core.c 				sec++;
sec              1926 drivers/staging/exfat/exfat_core.c 	sector_t sec;
sec              1954 drivers/staging/exfat/exfat_core.c 	sec = byte_offset >> p_bd->sector_size_bits;
sec              1955 drivers/staging/exfat/exfat_core.c 	sec += START_SECTOR(clu);
sec              1956 drivers/staging/exfat/exfat_core.c 	return __write_partial_entries_in_entry_set(sb, es, sec, off, count);
sec              3600 drivers/staging/exfat/exfat_core.c int sector_read(struct super_block *sb, sector_t sec, struct buffer_head **bh,
sec              3606 drivers/staging/exfat/exfat_core.c 	if ((sec >= (p_fs->PBR_sector + p_fs->num_sectors)) &&
sec              3609 drivers/staging/exfat/exfat_core.c 		       __func__, (unsigned long long)sec);
sec              3615 drivers/staging/exfat/exfat_core.c 		ret = bdev_read(sb, sec, bh, 1, read);
sec              3623 drivers/staging/exfat/exfat_core.c int sector_write(struct super_block *sb, sector_t sec, struct buffer_head *bh,
sec              3629 drivers/staging/exfat/exfat_core.c 	if (sec >= (p_fs->PBR_sector + p_fs->num_sectors) &&
sec              3632 drivers/staging/exfat/exfat_core.c 		       __func__, (unsigned long long)sec);
sec              3644 drivers/staging/exfat/exfat_core.c 		ret = bdev_write(sb, sec, bh, 1, sync);
sec              3652 drivers/staging/exfat/exfat_core.c int multi_sector_read(struct super_block *sb, sector_t sec,
sec              3658 drivers/staging/exfat/exfat_core.c 	if (((sec + num_secs) > (p_fs->PBR_sector + p_fs->num_sectors)) &&
sec              3661 drivers/staging/exfat/exfat_core.c 		       __func__, (unsigned long long)sec, num_secs);
sec              3667 drivers/staging/exfat/exfat_core.c 		ret = bdev_read(sb, sec, bh, num_secs, read);
sec              3675 drivers/staging/exfat/exfat_core.c int multi_sector_write(struct super_block *sb, sector_t sec,
sec              3681 drivers/staging/exfat/exfat_core.c 	if ((sec + num_secs) > (p_fs->PBR_sector + p_fs->num_sectors) &&
sec              3684 drivers/staging/exfat/exfat_core.c 		       __func__, (unsigned long long)sec, num_secs);
sec              3695 drivers/staging/exfat/exfat_core.c 		ret = bdev_write(sb, sec, bh, num_secs, sync);
sec               115 drivers/staging/exfat/exfat_super.c 		tp->sec  = 0;
sec               125 drivers/staging/exfat/exfat_super.c 		tp->sec  = 59;
sec               134 drivers/staging/exfat/exfat_super.c 	tp->sec  = tm.tm_sec;
sec              1583 drivers/staging/exfat/exfat_super.c 	info->CreateTimestamp.Second = tm.sec;
sec              1592 drivers/staging/exfat/exfat_super.c 	info->ModifyTimestamp.Second = tm.sec;
sec              1701 drivers/staging/exfat/exfat_super.c 	tm.sec  = info->CreateTimestamp.Second;
sec              1709 drivers/staging/exfat/exfat_super.c 	tm.sec  = info->ModifyTimestamp.Second;
sec              2046 drivers/staging/exfat/exfat_super.c 			dir_entry->CreateTimestamp.Second = tm.sec;
sec              2055 drivers/staging/exfat/exfat_super.c 			dir_entry->ModifyTimestamp.Second = tm.sec;
sec              1411 drivers/staging/rtl8192e/rtllib.h 	struct rtllib_security sec;
sec              1689 drivers/staging/rtl8192e/rtllib.h 			     struct rtllib_security *sec);
sec               293 drivers/staging/rtl8192e/rtllib_wx.c 	struct rtllib_security sec = {
sec               336 drivers/staging/rtl8192e/rtllib_wx.c 			sec.enabled = 0;
sec               337 drivers/staging/rtl8192e/rtllib_wx.c 			sec.level = SEC_LEVEL_0;
sec               338 drivers/staging/rtl8192e/rtllib_wx.c 			sec.flags |= SEC_ENABLED | SEC_LEVEL;
sec               346 drivers/staging/rtl8192e/rtllib_wx.c 	sec.enabled = 1;
sec               347 drivers/staging/rtl8192e/rtllib_wx.c 	sec.flags |= SEC_ENABLED;
sec               388 drivers/staging/rtl8192e/rtllib_wx.c 		memcpy(sec.keys[key], keybuf, erq->length);
sec               390 drivers/staging/rtl8192e/rtllib_wx.c 			memset(sec.keys[key] + erq->length, 0,
sec               393 drivers/staging/rtl8192e/rtllib_wx.c 			   key, escape_essid(sec.keys[key], len), erq->length,
sec               395 drivers/staging/rtl8192e/rtllib_wx.c 		sec.key_sizes[key] = len;
sec               396 drivers/staging/rtl8192e/rtllib_wx.c 		(*crypt)->ops->set_key(sec.keys[key], len, NULL,
sec               398 drivers/staging/rtl8192e/rtllib_wx.c 		sec.flags |= (1 << key);
sec               402 drivers/staging/rtl8192e/rtllib_wx.c 		if (key == sec.active_key)
sec               403 drivers/staging/rtl8192e/rtllib_wx.c 			sec.flags |= SEC_ACTIVE_KEY;
sec               407 drivers/staging/rtl8192e/rtllib_wx.c 		len = (*crypt)->ops->get_key(sec.keys[key], WEP_KEY_LEN,
sec               414 drivers/staging/rtl8192e/rtllib_wx.c 			memset(sec.keys[key], 0, 13);
sec               415 drivers/staging/rtl8192e/rtllib_wx.c 			(*crypt)->ops->set_key(sec.keys[key], 13, NULL,
sec               417 drivers/staging/rtl8192e/rtllib_wx.c 			sec.key_sizes[key] = 13;
sec               418 drivers/staging/rtl8192e/rtllib_wx.c 			sec.flags |= (1 << key);
sec               426 drivers/staging/rtl8192e/rtllib_wx.c 			sec.active_key = key;
sec               427 drivers/staging/rtl8192e/rtllib_wx.c 			sec.flags |= SEC_ACTIVE_KEY;
sec               434 drivers/staging/rtl8192e/rtllib_wx.c 	sec.auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : WLAN_AUTH_SHARED_KEY;
sec               435 drivers/staging/rtl8192e/rtllib_wx.c 	sec.flags |= SEC_AUTH_MODE;
sec               436 drivers/staging/rtl8192e/rtllib_wx.c 	netdev_dbg(ieee->dev, "Auth: %s\n", sec.auth_mode == WLAN_AUTH_OPEN ?
sec               442 drivers/staging/rtl8192e/rtllib_wx.c 	sec.flags |= SEC_LEVEL;
sec               443 drivers/staging/rtl8192e/rtllib_wx.c 	sec.level = SEC_LEVEL_1; /* 40 and 104 bit WEP */
sec               446 drivers/staging/rtl8192e/rtllib_wx.c 		ieee->set_security(dev, &sec);
sec               523 drivers/staging/rtl8192e/rtllib_wx.c 	struct rtllib_security sec = {
sec               547 drivers/staging/rtl8192e/rtllib_wx.c 	sec.flags |= SEC_ENABLED;
sec               558 drivers/staging/rtl8192e/rtllib_wx.c 			sec.enabled = 0;
sec               559 drivers/staging/rtl8192e/rtllib_wx.c 			sec.level = SEC_LEVEL_0;
sec               560 drivers/staging/rtl8192e/rtllib_wx.c 			sec.flags |= SEC_LEVEL;
sec               565 drivers/staging/rtl8192e/rtllib_wx.c 	sec.enabled = 1;
sec               633 drivers/staging/rtl8192e/rtllib_wx.c 		sec.active_key = idx;
sec               634 drivers/staging/rtl8192e/rtllib_wx.c 		sec.flags |= SEC_ACTIVE_KEY;
sec               637 drivers/staging/rtl8192e/rtllib_wx.c 		sec.key_sizes[idx] = ext->key_len;
sec               638 drivers/staging/rtl8192e/rtllib_wx.c 		sec.flags |= (1 << idx);
sec               640 drivers/staging/rtl8192e/rtllib_wx.c 			sec.flags |= SEC_LEVEL;
sec               641 drivers/staging/rtl8192e/rtllib_wx.c 			sec.level = SEC_LEVEL_1;
sec               643 drivers/staging/rtl8192e/rtllib_wx.c 			sec.flags |= SEC_LEVEL;
sec               644 drivers/staging/rtl8192e/rtllib_wx.c 			sec.level = SEC_LEVEL_2;
sec               646 drivers/staging/rtl8192e/rtllib_wx.c 			sec.flags |= SEC_LEVEL;
sec               647 drivers/staging/rtl8192e/rtllib_wx.c 			sec.level = SEC_LEVEL_3;
sec               651 drivers/staging/rtl8192e/rtllib_wx.c 			sec.flags &= ~SEC_LEVEL;
sec               655 drivers/staging/rtl8192e/rtllib_wx.c 		ieee->set_security(ieee->dev, &sec);
sec              1603 drivers/staging/rtl8192u/ieee80211/ieee80211.h 	struct ieee80211_security sec;
sec              1902 drivers/staging/rtl8192u/ieee80211/ieee80211.h 			     struct ieee80211_security *sec);
sec              2688 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 	struct ieee80211_security sec = {
sec              2693 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 		sec.auth_mode = WLAN_AUTH_SHARED_KEY;
sec              2697 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 		sec.auth_mode = WLAN_AUTH_OPEN;
sec              2701 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 		sec.auth_mode = WLAN_AUTH_LEAP;
sec              2707 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 		ieee->set_security(ieee->dev, &sec);
sec              2740 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 		struct ieee80211_security sec = {
sec              2749 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 			sec.flags |= SEC_LEVEL;
sec              2750 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 			sec.level = SEC_LEVEL_0;
sec              2752 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 			sec.flags |= SEC_LEVEL;
sec              2753 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 			sec.level = SEC_LEVEL_1;
sec              2756 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 			ieee->set_security(ieee->dev, &sec);
sec              2797 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 	struct ieee80211_security sec = {
sec              2821 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 			sec.enabled = 0;
sec              2824 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 			sec.level = SEC_LEVEL_0;
sec              2825 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 			sec.flags |= SEC_ENABLED | SEC_LEVEL;
sec              2830 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 	sec.enabled = 1;
sec              2833 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 	sec.flags |= SEC_ENABLED;
sec              2895 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 		sec.active_key = param->u.crypt.idx;
sec              2896 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 		sec.flags |= SEC_ACTIVE_KEY;
sec              2898 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 		sec.flags &= ~SEC_ACTIVE_KEY;
sec              2900 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 	memcpy(sec.keys[param->u.crypt.idx],
sec              2903 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 	sec.key_sizes[param->u.crypt.idx] = param->u.crypt.key_len;
sec              2904 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 	sec.flags |= (1 << param->u.crypt.idx);
sec              2907 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 		sec.flags |= SEC_LEVEL;
sec              2908 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 		sec.level = SEC_LEVEL_1;
sec              2910 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 		sec.flags |= SEC_LEVEL;
sec              2911 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 		sec.level = SEC_LEVEL_2;
sec              2913 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 		sec.flags |= SEC_LEVEL;
sec              2914 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 		sec.level = SEC_LEVEL_3;
sec              2918 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 		ieee->set_security(ieee->dev, &sec);
sec               279 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 	struct ieee80211_security sec = {
sec               322 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			sec.enabled = 0;
sec               323 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			sec.level = SEC_LEVEL_0;
sec               324 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			sec.flags |= SEC_ENABLED | SEC_LEVEL;
sec               332 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 	sec.enabled = 1;
sec               333 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 	sec.flags |= SEC_ENABLED;
sec               370 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 		memcpy(sec.keys[key], keybuf, erq->length);
sec               372 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			memset(sec.keys[key] + erq->length, 0,
sec               375 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 				   key, escape_essid(sec.keys[key], len),
sec               377 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 		sec.key_sizes[key] = len;
sec               378 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 		(*crypt)->ops->set_key(sec.keys[key], len, NULL,
sec               380 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 		sec.flags |= BIT(key);
sec               384 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 		if (key == sec.active_key)
sec               385 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			sec.flags |= SEC_ACTIVE_KEY;
sec               389 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 		len = (*crypt)->ops->get_key(sec.keys[key], WEP_KEY_LEN,
sec               398 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			memset(sec.keys[key], 0, 13);
sec               399 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			(*crypt)->ops->set_key(sec.keys[key], 13, NULL,
sec               401 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			sec.key_sizes[key] = 13;
sec               402 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			sec.flags |= BIT(key);
sec               410 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			sec.active_key = key;
sec               411 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			sec.flags |= SEC_ACTIVE_KEY;
sec               418 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 	sec.auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : WLAN_AUTH_SHARED_KEY;
sec               419 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 	sec.flags |= SEC_AUTH_MODE;
sec               420 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 	IEEE80211_DEBUG_WX("Auth: %s\n", sec.auth_mode == WLAN_AUTH_OPEN ?
sec               425 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 	sec.flags |= SEC_LEVEL;
sec               426 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 	sec.level = SEC_LEVEL_1; /* 40 and 104 bit WEP */
sec               429 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 		ieee->set_security(dev, &sec);
sec               503 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 	struct ieee80211_security sec = {
sec               531 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 	sec.flags |= SEC_ENABLED;// | SEC_ENCRYPT;
sec               544 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			sec.enabled = 0;
sec               546 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			sec.level = SEC_LEVEL_0;
sec               547 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			sec.flags |= SEC_LEVEL;
sec               552 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 	sec.enabled = 1;
sec               616 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 		sec.active_key = idx;
sec               617 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 		sec.flags |= SEC_ACTIVE_KEY;
sec               622 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 		sec.key_sizes[idx] = ext->key_len;
sec               623 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 		sec.flags |= BIT(idx);
sec               626 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			sec.flags |= SEC_LEVEL;
sec               627 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			sec.level = SEC_LEVEL_1;
sec               630 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			sec.flags |= SEC_LEVEL;
sec               631 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			sec.level = SEC_LEVEL_2;
sec               634 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			sec.flags |= SEC_LEVEL;
sec               635 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			sec.level = SEC_LEVEL_3;
sec               639 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			sec.flags &= ~SEC_LEVEL;
sec               643 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 		ieee->set_security(ieee->dev, &sec);
sec                33 drivers/staging/rtl8723bs/core/rtw_security.c #define WEP_SW_ENC_CNT_INC(sec, ra) \
sec                35 drivers/staging/rtl8723bs/core/rtw_security.c 		sec->wep_sw_enc_cnt_bc++; \
sec                37 drivers/staging/rtl8723bs/core/rtw_security.c 		sec->wep_sw_enc_cnt_mc++; \
sec                39 drivers/staging/rtl8723bs/core/rtw_security.c 		sec->wep_sw_enc_cnt_uc++;
sec                41 drivers/staging/rtl8723bs/core/rtw_security.c #define WEP_SW_DEC_CNT_INC(sec, ra) \
sec                43 drivers/staging/rtl8723bs/core/rtw_security.c 		sec->wep_sw_dec_cnt_bc++; \
sec                45 drivers/staging/rtl8723bs/core/rtw_security.c 		sec->wep_sw_dec_cnt_mc++; \
sec                47 drivers/staging/rtl8723bs/core/rtw_security.c 		sec->wep_sw_dec_cnt_uc++;
sec                49 drivers/staging/rtl8723bs/core/rtw_security.c #define TKIP_SW_ENC_CNT_INC(sec, ra) \
sec                51 drivers/staging/rtl8723bs/core/rtw_security.c 		sec->tkip_sw_enc_cnt_bc++; \
sec                53 drivers/staging/rtl8723bs/core/rtw_security.c 		sec->tkip_sw_enc_cnt_mc++; \
sec                55 drivers/staging/rtl8723bs/core/rtw_security.c 		sec->tkip_sw_enc_cnt_uc++;
sec                57 drivers/staging/rtl8723bs/core/rtw_security.c #define TKIP_SW_DEC_CNT_INC(sec, ra) \
sec                59 drivers/staging/rtl8723bs/core/rtw_security.c 		sec->tkip_sw_dec_cnt_bc++; \
sec                61 drivers/staging/rtl8723bs/core/rtw_security.c 		sec->tkip_sw_dec_cnt_mc++; \
sec                63 drivers/staging/rtl8723bs/core/rtw_security.c 		sec->tkip_sw_dec_cnt_uc++;
sec                65 drivers/staging/rtl8723bs/core/rtw_security.c #define AES_SW_ENC_CNT_INC(sec, ra) \
sec                67 drivers/staging/rtl8723bs/core/rtw_security.c 		sec->aes_sw_enc_cnt_bc++; \
sec                69 drivers/staging/rtl8723bs/core/rtw_security.c 		sec->aes_sw_enc_cnt_mc++; \
sec                71 drivers/staging/rtl8723bs/core/rtw_security.c 		sec->aes_sw_enc_cnt_uc++;
sec                73 drivers/staging/rtl8723bs/core/rtw_security.c #define AES_SW_DEC_CNT_INC(sec, ra) \
sec                75 drivers/staging/rtl8723bs/core/rtw_security.c 		sec->aes_sw_dec_cnt_bc++; \
sec                77 drivers/staging/rtl8723bs/core/rtw_security.c 		sec->aes_sw_dec_cnt_mc++; \
sec                79 drivers/staging/rtl8723bs/core/rtw_security.c 		sec->aes_sw_dec_cnt_uc++;
sec                81 drivers/staging/rtl8723bs/core/rtw_security.c #define WEP_SW_ENC_CNT_INC(sec, ra)
sec                82 drivers/staging/rtl8723bs/core/rtw_security.c #define WEP_SW_DEC_CNT_INC(sec, ra)
sec                83 drivers/staging/rtl8723bs/core/rtw_security.c #define TKIP_SW_ENC_CNT_INC(sec, ra)
sec                84 drivers/staging/rtl8723bs/core/rtw_security.c #define TKIP_SW_DEC_CNT_INC(sec, ra)
sec                85 drivers/staging/rtl8723bs/core/rtw_security.c #define AES_SW_ENC_CNT_INC(sec, ra)
sec                86 drivers/staging/rtl8723bs/core/rtw_security.c #define AES_SW_DEC_CNT_INC(sec, ra)
sec              1031 drivers/staging/rtl8723bs/hal/hal_com.c 		struct security_priv *sec = &adapter->securitypriv;
sec              1036 drivers/staging/rtl8723bs/hal/hal_com.c 			if (sec->dot11AuthAlgrthm != dot11AuthAlgrthm_8021X)
sec              1436 drivers/tty/serial/8250/8250_port.c 	long sec = msec / 1000;
sec              1438 drivers/tty/serial/8250/8250_port.c 	ktime_t t = ktime_set(sec, nsec);
sec              1265 drivers/tty/serial/sh-sci.c 	long sec = usec / 1000000;
sec              1267 drivers/tty/serial/sh-sci.c 	ktime_t t = ktime_set(sec, nsec);
sec               822 drivers/tty/tty_io.c 	time64_t sec = ktime_get_real_seconds();
sec               830 drivers/tty/tty_io.c 	if ((sec ^ time->tv_sec) & ~7)
sec               831 drivers/tty/tty_io.c 		time->tv_sec = sec;
sec                35 drivers/watchdog/uniphier_wdt.c #define SEC_TO_WDTTIMSET_PRD(sec) \
sec                36 drivers/watchdog/uniphier_wdt.c 		(ilog2(sec) + WDTTIMSET_PERIOD_1_SEC)
sec                76 drivers/watchdog/uniphier_wdt.c static int __uniphier_watchdog_start(struct regmap *regmap, unsigned int sec)
sec                89 drivers/watchdog/uniphier_wdt.c 			   SEC_TO_WDTTIMSET_PRD(sec));
sec               113 drivers/watchdog/uniphier_wdt.c static int __uniphier_watchdog_restart(struct regmap *regmap, unsigned int sec)
sec               121 drivers/watchdog/uniphier_wdt.c 	return __uniphier_watchdog_start(regmap, sec);
sec              1580 fs/btrfs/ctree.h BTRFS_SETGET_FUNCS(timespec_sec, struct btrfs_timespec, sec, 64);
sec              1582 fs/btrfs/ctree.h BTRFS_SETGET_STACK_FUNCS(stack_timespec_sec, struct btrfs_timespec, sec, 64);
sec                57 fs/btrfs/ioctl.c 	__u64 sec;
sec              2676 fs/btrfs/ioctl.c 	subvol_info->ctime.sec = btrfs_stack_timespec_sec(&root_item->ctime);
sec              2680 fs/btrfs/ioctl.c 	subvol_info->otime.sec = btrfs_stack_timespec_sec(&root_item->otime);
sec              2684 fs/btrfs/ioctl.c 	subvol_info->stime.sec = btrfs_stack_timespec_sec(&root_item->stime);
sec              2688 fs/btrfs/ioctl.c 	subvol_info->rtime.sec = btrfs_stack_timespec_sec(&root_item->rtime);
sec              5048 fs/btrfs/ioctl.c 	sa->rtime.sec = ct.tv_sec;
sec              5067 fs/btrfs/ioctl.c 	btrfs_set_stack_timespec_sec(&root_item->stime, sa->stime.sec);
sec              5069 fs/btrfs/ioctl.c 	btrfs_set_stack_timespec_sec(&root_item->rtime, sa->rtime.sec);
sec              5116 fs/btrfs/ioctl.c 	args64->stime.sec = args32->stime.sec;
sec              5118 fs/btrfs/ioctl.c 	args64->rtime.sec = args32->rtime.sec;
sec              5129 fs/btrfs/ioctl.c 	args32->stime.sec = args64->stime.sec;
sec              5131 fs/btrfs/ioctl.c 	args32->rtime.sec = args64->rtime.sec;
sec               948 fs/cifs/netmisc.c 	time64_t sec, days;
sec               957 fs/cifs/netmisc.c 	sec = 2 * st->TwoSeconds;
sec               959 fs/cifs/netmisc.c 	if ((sec > 59) || (min > 59))
sec               960 fs/cifs/netmisc.c 		cifs_dbg(VFS, "illegal time min %d sec %lld\n", min, sec);
sec               961 fs/cifs/netmisc.c 	sec += (min * 60);
sec               962 fs/cifs/netmisc.c 	sec += 60 * 60 * st->Hours;
sec               990 fs/cifs/netmisc.c 	sec += 24 * 60 * 60 * days;
sec               992 fs/cifs/netmisc.c 	ts.tv_sec = sec + offset;
sec                55 fs/fat/dir.c   	int sec;
sec                66 fs/fat/dir.c   		for (sec = 0; sec < sbi->sec_per_clus; sec++)
sec                67 fs/fat/dir.c   			sb_breadahead(sb, phys + sec);
sec                85 fs/fuse/dir.c  static u64 time_to_jiffies(u64 sec, u32 nsec)
sec                87 fs/fuse/dir.c  	if (sec || nsec) {
sec                89 fs/fuse/dir.c  			sec,
sec               249 fs/hfs/hfs_fs.h #define __hfs_u_to_mtime(sec)	cpu_to_be32(sec + 2082844800U - sys_tz.tz_minuteswest * 60)
sec               250 fs/hfs/hfs_fs.h #define __hfs_m_to_utime(sec)	(be32_to_cpu(sec) - 2082844800U  + sys_tz.tz_minuteswest * 60)
sec               270 fs/hfs/hfs_fs.h #define sb_bread512(sb, sec, data) ({			\
sec               276 fs/hfs/hfs_fs.h 	__start = (loff_t)(sec) << HFS_SECTOR_SIZE_BITS;\
sec                12 fs/hpfs/alloc.c static void hpfs_claim_alloc(struct super_block *s, secno sec)
sec                17 fs/hpfs/alloc.c 			hpfs_error(s, "free count underflow, allocating sector %08x", sec);
sec                25 fs/hpfs/alloc.c static void hpfs_claim_free(struct super_block *s, secno sec)
sec                30 fs/hpfs/alloc.c 			hpfs_error(s, "free count overflow, freeing sector %08x", sec);
sec                38 fs/hpfs/alloc.c static void hpfs_claim_dirband_alloc(struct super_block *s, secno sec)
sec                43 fs/hpfs/alloc.c 			hpfs_error(s, "dirband free count underflow, allocating sector %08x", sec);
sec                51 fs/hpfs/alloc.c static void hpfs_claim_dirband_free(struct super_block *s, secno sec)
sec                56 fs/hpfs/alloc.c 			hpfs_error(s, "dirband free count overflow, freeing sector %08x", sec);
sec                69 fs/hpfs/alloc.c static int chk_if_allocated(struct super_block *s, secno sec, char *msg)
sec                73 fs/hpfs/alloc.c 	if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "chk"))) goto fail;
sec                74 fs/hpfs/alloc.c 	if ((le32_to_cpu(bmp[(sec & 0x3fff) >> 5]) >> (sec & 0x1f)) & 1) {
sec                75 fs/hpfs/alloc.c 		hpfs_error(s, "sector '%s' - %08x not allocated in bitmap", msg, sec);
sec                79 fs/hpfs/alloc.c 	if (sec >= hpfs_sb(s)->sb_dirband_start && sec < hpfs_sb(s)->sb_dirband_start + hpfs_sb(s)->sb_dirband_size) {
sec                80 fs/hpfs/alloc.c 		unsigned ssec = (sec - hpfs_sb(s)->sb_dirband_start) / 4;
sec                83 fs/hpfs/alloc.c 			hpfs_error(s, "sector '%s' - %08x not allocated in directory bitmap", msg, sec);
sec               205 fs/hpfs/alloc.c 	secno sec;
sec               217 fs/hpfs/alloc.c 		if ((sec = alloc_in_bmp(s, near, n, f_p ? forward : forward/4))) goto ret;
sec               231 fs/hpfs/alloc.c 		if (near_bmp+i < n_bmps && ((sec = alloc_in_bmp(s, (near_bmp+i) << 14, n, forward)))) {
sec               236 fs/hpfs/alloc.c 			if (near_bmp-i-1 >= 0 && ((sec = alloc_in_bmp(s, (near_bmp-i-1) << 14, n, forward)))) {
sec               241 fs/hpfs/alloc.c 			if (near_bmp+i >= n_bmps && ((sec = alloc_in_bmp(s, (near_bmp+i-n_bmps) << 14, n, forward)))) {
sec               246 fs/hpfs/alloc.c 		if (i == 1 && sbi->sb_c_bitmap != -1 && ((sec = alloc_in_bmp(s, (sbi->sb_c_bitmap) << 14, n, forward)))) {
sec               257 fs/hpfs/alloc.c 	sec = 0;
sec               259 fs/hpfs/alloc.c 	if (sec) {
sec               262 fs/hpfs/alloc.c 			hpfs_claim_alloc(s, sec + i);
sec               265 fs/hpfs/alloc.c 	if (sec && f_p) {
sec               267 fs/hpfs/alloc.c 			if (!hpfs_alloc_if_possible(s, sec + n + i)) {
sec               268 fs/hpfs/alloc.c 				hpfs_error(s, "Prealloc doesn't work! Wanted %d, allocated at %08x, can't allocate %d", forward, sec, i);
sec               269 fs/hpfs/alloc.c 				sec = 0;
sec               274 fs/hpfs/alloc.c 	return sec;
sec               280 fs/hpfs/alloc.c 	secno sec;
sec               288 fs/hpfs/alloc.c 	sec = alloc_in_bmp(s, (~0x3fff) | nr, 1, 0);
sec               289 fs/hpfs/alloc.c 	if (!sec) return 0;
sec               290 fs/hpfs/alloc.c 	hpfs_claim_dirband_alloc(s, sec);
sec               291 fs/hpfs/alloc.c 	return ((sec & 0x3fff) << 2) + sbi->sb_dirband_start;
sec               296 fs/hpfs/alloc.c int hpfs_alloc_if_possible(struct super_block *s, secno sec)
sec               300 fs/hpfs/alloc.c 	if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "aip"))) goto end;
sec               301 fs/hpfs/alloc.c 	if (le32_to_cpu(bmp[(sec & 0x3fff) >> 5]) & (1 << (sec & 0x1f))) {
sec               302 fs/hpfs/alloc.c 		bmp[(sec & 0x3fff) >> 5] &= cpu_to_le32(~(1 << (sec & 0x1f)));
sec               305 fs/hpfs/alloc.c 		hpfs_claim_alloc(s, sec);
sec               315 fs/hpfs/alloc.c void hpfs_free_sectors(struct super_block *s, secno sec, unsigned n)
sec               322 fs/hpfs/alloc.c 	if (sec < 0x12) {
sec               323 fs/hpfs/alloc.c 		hpfs_error(s, "Trying to free reserved sector %08x", sec);
sec               329 fs/hpfs/alloc.c 	if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "free"))) {
sec               333 fs/hpfs/alloc.c 	if ((le32_to_cpu(bmp[(sec & 0x3fff) >> 5]) >> (sec & 0x1f) & 1)) {
sec               334 fs/hpfs/alloc.c 		hpfs_error(s, "sector %08x not allocated", sec);
sec               338 fs/hpfs/alloc.c 	bmp[(sec & 0x3fff) >> 5] |= cpu_to_le32(1 << (sec & 0x1f));
sec               339 fs/hpfs/alloc.c 	hpfs_claim_free(s, sec);
sec               345 fs/hpfs/alloc.c 	if (!(++sec & 0x3fff)) {
sec                15 fs/hpfs/anode.c 		   struct bplus_header *btree, unsigned sec,
sec                26 fs/hpfs/anode.c 			if (le32_to_cpu(btree->u.internal[i].file_secno) > sec) {
sec                33 fs/hpfs/anode.c 		hpfs_error(s, "sector %08x not found in internal anode %08x", sec, a);
sec                38 fs/hpfs/anode.c 		if (le32_to_cpu(btree->u.external[i].file_secno) <= sec &&
sec                39 fs/hpfs/anode.c 		    le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > sec) {
sec                40 fs/hpfs/anode.c 			a = le32_to_cpu(btree->u.external[i].disk_secno) + sec - le32_to_cpu(btree->u.external[i].file_secno);
sec                54 fs/hpfs/anode.c 	hpfs_error(s, "sector %08x not found in external anode %08x", sec, a);
sec               330 fs/hpfs/anode.c static secno anode_lookup(struct super_block *s, anode_secno a, unsigned sec)
sec               335 fs/hpfs/anode.c 	return hpfs_bplus_lookup(s, NULL, &anode->btree, sec, bh);
sec               343 fs/hpfs/anode.c 	secno sec;
sec               347 fs/hpfs/anode.c 			if ((sec = anode_lookup(s, a, pos >> 9)) == -1)
sec               349 fs/hpfs/anode.c 		} else sec = a + (pos >> 9);
sec               350 fs/hpfs/anode.c 		if (hpfs_sb(s)->sb_chk) if (hpfs_chk_sectors(s, sec, 1, "ea #1")) return -1;
sec               351 fs/hpfs/anode.c 		if (!(data = hpfs_map_sector(s, sec, &bh, (len - 1) >> 9)))
sec               366 fs/hpfs/anode.c 	secno sec;
sec               370 fs/hpfs/anode.c 			if ((sec = anode_lookup(s, a, pos >> 9)) == -1)
sec               372 fs/hpfs/anode.c 		} else sec = a + (pos >> 9);
sec               373 fs/hpfs/anode.c 		if (hpfs_sb(s)->sb_chk) if (hpfs_chk_sectors(s, sec, 1, "ea #2")) return -1;
sec               374 fs/hpfs/anode.c 		if (!(data = hpfs_map_sector(s, sec, &bh, (len - 1) >> 9)))
sec                14 fs/hpfs/buffer.c secno hpfs_search_hotfix_map(struct super_block *s, secno sec)
sec                19 fs/hpfs/buffer.c 		if (sbi->hotfix_from[i] == sec) {
sec                23 fs/hpfs/buffer.c 	return sec;
sec                26 fs/hpfs/buffer.c unsigned hpfs_search_hotfix_map_for_range(struct super_block *s, secno sec, unsigned n)
sec                31 fs/hpfs/buffer.c 		if (sbi->hotfix_from[i] >= sec && sbi->hotfix_from[i] < sec + n) {
sec                32 fs/hpfs/buffer.c 			n = sbi->hotfix_from[i] - sec;
sec               224 fs/hpfs/hpfs_fn.h secno hpfs_search_hotfix_map(struct super_block *s, secno sec);
sec               225 fs/hpfs/hpfs_fn.h unsigned hpfs_search_hotfix_map_for_range(struct super_block *s, secno sec, unsigned n);
sec                20 fs/hpfs/map.c  	secno sec;
sec                27 fs/hpfs/map.c  	sec = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block]);
sec                28 fs/hpfs/map.c  	if (!sec || sec > hpfs_sb(s)->sb_fs_size-4) {
sec                29 fs/hpfs/map.c  		hpfs_error(s, "invalid bitmap block pointer %08x -> %08x at %s", bmp_block, sec, id);
sec                32 fs/hpfs/map.c  	ret = hpfs_map_4sectors(s, sec, qbh, 4);
sec               626 fs/isofs/inode.c 	struct iso_supplementary_descriptor *sec = NULL;
sec               700 fs/isofs/inode.c 				sec = (struct iso_supplementary_descriptor *)vdp;
sec               701 fs/isofs/inode.c 				if (sec->escape[0] == 0x25 && sec->escape[1] == 0x2f) {
sec               703 fs/isofs/inode.c 						if (sec->escape[2] == 0x40)
sec               705 fs/isofs/inode.c 						else if (sec->escape[2] == 0x43)
sec               707 fs/isofs/inode.c 						else if (sec->escape[2] == 0x45)
sec               717 fs/isofs/inode.c 				sec = NULL;
sec               759 fs/isofs/inode.c 		pri = (struct iso_primary_descriptor *) sec;
sec               834 fs/isofs/inode.c 		pri = (struct iso_primary_descriptor *) sec;
sec                35 fs/jffs2/os-linux.h #define ITIME(sec) ((struct timespec64){sec, 0})
sec              4070 fs/nfs/nfs4xdr.c 	__u64 sec;
sec              4072 fs/nfs/nfs4xdr.c 	p = xdr_decode_hyper(p, &sec);
sec              4073 fs/nfs/nfs4xdr.c 	t-> tv_sec = (time_t)sec;
sec                56 fs/nfsd/stats.c 		unsigned int sec = jifs / HZ, msec = (jifs % HZ)*1000/HZ;
sec                57 fs/nfsd/stats.c 		seq_printf(seq, " %u.%03u", sec, msec);
sec              2144 fs/ocfs2/dlmglue.c 	u64 sec = clamp_t(time64_t, spec->tv_sec, 0, 0x3ffffffffull);
sec              2147 fs/ocfs2/dlmglue.c 	res = (sec << OCFS2_SEC_SHIFT) | (nsec & OCFS2_NSEC_MASK);
sec                37 fs/reiserfs/xattr.h 			   struct reiserfs_security_handle *sec);
sec                40 fs/reiserfs/xattr.h 			    struct reiserfs_security_handle *sec);
sec                41 fs/reiserfs/xattr.h void reiserfs_security_free(struct reiserfs_security_handle *sec);
sec               103 fs/reiserfs/xattr.h 					 struct reiserfs_security_handle *sec)
sec               110 fs/reiserfs/xattr.h 			struct reiserfs_security_handle *sec)
sec               114 fs/reiserfs/xattr.h static inline void reiserfs_security_free(struct reiserfs_security_handle *sec)
sec                46 fs/reiserfs/xattr_security.c 			   struct reiserfs_security_handle *sec)
sec                51 fs/reiserfs/xattr_security.c 	sec->name = NULL;
sec                57 fs/reiserfs/xattr_security.c 	error = security_old_inode_init_security(inode, dir, qstr, &sec->name,
sec                58 fs/reiserfs/xattr_security.c 						 &sec->value, &sec->length);
sec                63 fs/reiserfs/xattr_security.c 		sec->name = NULL;
sec                64 fs/reiserfs/xattr_security.c 		sec->value = NULL;
sec                65 fs/reiserfs/xattr_security.c 		sec->length = 0;
sec                69 fs/reiserfs/xattr_security.c 	if (sec->length && reiserfs_xattrs_initialized(inode->i_sb)) {
sec                71 fs/reiserfs/xattr_security.c 			 reiserfs_xattr_nblocks(inode, sec->length);
sec                81 fs/reiserfs/xattr_security.c 			    struct reiserfs_security_handle *sec)
sec                84 fs/reiserfs/xattr_security.c 	if (strlen(sec->name) < sizeof(XATTR_SECURITY_PREFIX))
sec                87 fs/reiserfs/xattr_security.c 	error = reiserfs_xattr_set_handle(th, inode, sec->name, sec->value,
sec                88 fs/reiserfs/xattr_security.c 					  sec->length, XATTR_CREATE);
sec                95 fs/reiserfs/xattr_security.c void reiserfs_security_free(struct reiserfs_security_handle *sec)
sec                97 fs/reiserfs/xattr_security.c 	kfree(sec->name);
sec                98 fs/reiserfs/xattr_security.c 	kfree(sec->value);
sec                99 fs/reiserfs/xattr_security.c 	sec->name = NULL;
sec               100 fs/reiserfs/xattr_security.c 	sec->value = NULL;
sec               273 fs/select.c    int poll_select_set_timeout(struct timespec64 *to, time64_t sec, long nsec)
sec               275 fs/select.c    	struct timespec64 ts = {.tv_sec = sec, .tv_nsec = nsec};
sec               281 fs/select.c    	if (!sec && !nsec) {
sec               574 fs/xfs/libxfs/xfs_format.h #define XFS_FSS_TO_BB(mp,sec)	((sec) << (mp)->m_sectbb_log)
sec                32 include/asm-generic/export.h .macro ___EXPORT_SYMBOL name,val,sec
sec                70 include/asm-generic/export.h #define __EXPORT_SYMBOL(sym, val, sec)				\
sec                72 include/asm-generic/export.h 	__cond_export_sym(sym, val, sec, __is_defined(__KSYM_##sym))
sec                73 include/asm-generic/export.h #define __cond_export_sym(sym, val, sec, conf)			\
sec                74 include/asm-generic/export.h 	___cond_export_sym(sym, val, sec, conf)
sec                75 include/asm-generic/export.h #define ___cond_export_sym(sym, val, sec, enabled)		\
sec                76 include/asm-generic/export.h 	__cond_export_sym_##enabled(sym, val, sec)
sec                77 include/asm-generic/export.h #define __cond_export_sym_1(sym, val, sec) ___EXPORT_SYMBOL sym, val, sec
sec                78 include/asm-generic/export.h #define __cond_export_sym_0(sym, val, sec) /* nothing */
sec                81 include/asm-generic/export.h #define __EXPORT_SYMBOL(sym, val, sec) ___EXPORT_SYMBOL sym, val, sec
sec                97 include/asm-generic/vmlinux.lds.h #define CPU_KEEP(sec)    *(.cpu##sec)
sec                98 include/asm-generic/vmlinux.lds.h #define CPU_DISCARD(sec)
sec               100 include/asm-generic/vmlinux.lds.h #define CPU_KEEP(sec)
sec               101 include/asm-generic/vmlinux.lds.h #define CPU_DISCARD(sec) *(.cpu##sec)
sec               105 include/asm-generic/vmlinux.lds.h #define MEM_KEEP(sec)    *(.mem##sec)
sec               106 include/asm-generic/vmlinux.lds.h #define MEM_DISCARD(sec)
sec               108 include/asm-generic/vmlinux.lds.h #define MEM_KEEP(sec)
sec               109 include/asm-generic/vmlinux.lds.h #define MEM_DISCARD(sec) *(.mem##sec)
sec               143 include/linux/dio.h #define DIO_ENCODE_ID(pr,sec) ((((int)sec & 0xff) << 8) | ((int)pr & 0xff))
sec                25 include/linux/export.h #define __CRC_SYMBOL(sym, sec)						\
sec                26 include/linux/export.h 	asm("	.section \"___kcrctab" sec "+" #sym "\", \"a\"	\n"	\
sec                31 include/linux/export.h #define __CRC_SYMBOL(sym, sec)						\
sec                32 include/linux/export.h 	asm("	.section \"___kcrctab" sec "+" #sym "\", \"a\"	\n"	\
sec                38 include/linux/export.h #define __CRC_SYMBOL(sym, sec)
sec                49 include/linux/export.h #define __KSYMTAB_ENTRY_NS(sym, sec)					\
sec                51 include/linux/export.h 	asm("	.section \"___ksymtab" sec "+" #sym "\", \"a\"	\n"	\
sec                59 include/linux/export.h #define __KSYMTAB_ENTRY(sym, sec)					\
sec                61 include/linux/export.h 	asm("	.section \"___ksymtab" sec "+" #sym "\", \"a\"	\n"	\
sec                75 include/linux/export.h #define __KSYMTAB_ENTRY_NS(sym, sec)					\
sec                77 include/linux/export.h 	__attribute__((section("___ksymtab" sec "+" #sym), used))	\
sec                81 include/linux/export.h #define __KSYMTAB_ENTRY(sym, sec)					\
sec                83 include/linux/export.h 	__attribute__((section("___ksymtab" sec "+" #sym), used))	\
sec                96 include/linux/export.h #define ___EXPORT_SYMBOL(sym,sec)	__GENKSYMS_EXPORT_SYMBOL(sym)
sec                97 include/linux/export.h #define ___EXPORT_SYMBOL_NS(sym,sec,ns)	__GENKSYMS_EXPORT_SYMBOL(sym)
sec               101 include/linux/export.h #define ___export_symbol_common(sym, sec)				\
sec               103 include/linux/export.h 	__CRC_SYMBOL(sym, sec);						\
sec               109 include/linux/export.h #define ___EXPORT_SYMBOL_NS(sym, sec, ns)				\
sec               110 include/linux/export.h 	___export_symbol_common(sym, sec);				\
sec               114 include/linux/export.h 	__KSYMTAB_ENTRY_NS(sym, sec)
sec               116 include/linux/export.h #define ___EXPORT_SYMBOL(sym, sec)					\
sec               117 include/linux/export.h 	___export_symbol_common(sym, sec);				\
sec               118 include/linux/export.h 	__KSYMTAB_ENTRY(sym, sec)
sec               129 include/linux/export.h #define __EXPORT_SYMBOL_NS(sym, sec, ns)
sec               130 include/linux/export.h #define __EXPORT_SYMBOL(sym, sec)
sec               146 include/linux/export.h #define __EXPORT_SYMBOL(sym, sec)				\
sec               148 include/linux/export.h 	__cond_export_sym(sym, sec, __is_defined(__KSYM_##sym))
sec               149 include/linux/export.h #define __cond_export_sym(sym, sec, conf)			\
sec               150 include/linux/export.h 	___cond_export_sym(sym, sec, conf)
sec               151 include/linux/export.h #define ___cond_export_sym(sym, sec, enabled)			\
sec               152 include/linux/export.h 	__cond_export_sym_##enabled(sym, sec)
sec               153 include/linux/export.h #define __cond_export_sym_1(sym, sec) ___EXPORT_SYMBOL(sym, sec)
sec               154 include/linux/export.h #define __cond_export_sym_0(sym, sec) /* nothing */
sec               156 include/linux/export.h #define __EXPORT_SYMBOL_NS(sym, sec, ns)				\
sec               158 include/linux/export.h 	__cond_export_ns_sym(sym, sec, ns, __is_defined(__KSYM_##sym))
sec               159 include/linux/export.h #define __cond_export_ns_sym(sym, sec, ns, conf)			\
sec               160 include/linux/export.h 	___cond_export_ns_sym(sym, sec, ns, conf)
sec               161 include/linux/export.h #define ___cond_export_ns_sym(sym, sec, ns, enabled)			\
sec               162 include/linux/export.h 	__cond_export_ns_sym_##enabled(sym, sec, ns)
sec               163 include/linux/export.h #define __cond_export_ns_sym_1(sym, sec, ns) ___EXPORT_SYMBOL_NS(sym, sec, ns)
sec               164 include/linux/export.h #define __cond_export_ns_sym_0(sym, sec, ns) /* nothing */
sec               168 include/linux/export.h #define __EXPORT_SYMBOL_NS(sym,sec,ns)	___EXPORT_SYMBOL_NS(sym,sec,ns)
sec               169 include/linux/export.h #define __EXPORT_SYMBOL(sym,sec)	___EXPORT_SYMBOL(sym,sec)
sec               175 include/linux/export.h #define __EXPORT_SYMBOL(sym, sec)				\
sec               176 include/linux/export.h 	__EXPORT_SYMBOL_NS(sym, sec, DEFAULT_SYMBOL_NAMESPACE)
sec                58 include/linux/lightnvm.h 			u64 sec		: NVM_12_SEC_BITS;
sec                67 include/linux/lightnvm.h 			u64 sec		: NVM_20_SEC_BITS;
sec               454 include/linux/lightnvm.h 		l.ppa |= ((u64)r.g.sec) << ppaf->sec_offset;
sec               461 include/linux/lightnvm.h 		l.ppa |= ((u64)r.m.sec) << lbaf->sec_offset;
sec               483 include/linux/lightnvm.h 		l.g.sec = (r.ppa & ppaf->sec_mask) >> ppaf->sec_offset;
sec               490 include/linux/lightnvm.h 		l.m.sec = (r.ppa & lbaf->sec_mask) >> lbaf->sec_offset;
sec               507 include/linux/lightnvm.h 		caddr |= (u64)p.g.sec << ppaf->sec_offset;
sec               509 include/linux/lightnvm.h 		caddr = p.m.sec;
sec               543 include/linux/lightnvm.h 			ppa64.g.sec = (ppa32 & ppaf->sec_mask) >>
sec               554 include/linux/lightnvm.h 			ppa64.m.sec = (ppa32 & lbaf->sec_mask) >>
sec               583 include/linux/lightnvm.h 			ppa32 |= ppa64.g.sec << ppaf->sec_offset;
sec               590 include/linux/lightnvm.h 			ppa32 |= ppa64.m.sec << lbaf->sec_offset;
sec               604 include/linux/lightnvm.h 		int sec = ppa->g.sec;
sec               606 include/linux/lightnvm.h 		sec++;
sec               607 include/linux/lightnvm.h 		if (sec == geo->ws_min) {
sec               610 include/linux/lightnvm.h 			sec = 0;
sec               624 include/linux/lightnvm.h 		ppa->g.sec = sec;
sec               626 include/linux/lightnvm.h 		ppa->m.sec++;
sec               627 include/linux/lightnvm.h 		if (ppa->m.sec == geo->clba)
sec              1762 include/linux/lsm_hooks.h 	int (*ib_pkey_access)(void *sec, u64 subnet_prefix, u16 pkey);
sec              1763 include/linux/lsm_hooks.h 	int (*ib_endport_manage_subnet)(void *sec, const char *dev_name,
sec              1765 include/linux/lsm_hooks.h 	int (*ib_alloc_security)(void **sec);
sec              1766 include/linux/lsm_hooks.h 	void (*ib_free_security)(void *sec);
sec              1151 include/linux/mmzone.h static inline unsigned long section_nr_to_pfn(unsigned long sec)
sec              1153 include/linux/mmzone.h 	return sec << PFN_SECTION_SHIFT;
sec              1220 include/linux/mmzone.h #define SECTION_NR_TO_ROOT(sec)	((sec) / SECTIONS_PER_ROOT)
sec              1900 include/linux/pci.h #define __DECLARE_PCI_FIXUP_SECTION(sec, name, vendor, device, class,	\
sec              1903 include/linux/pci.h 	asm(".section "	#sec ", \"a\"				\n"	\
sec              1909 include/linux/pci.h #define DECLARE_PCI_FIXUP_SECTION(sec, name, vendor, device, class,	\
sec              1911 include/linux/pci.h 	__DECLARE_PCI_FIXUP_SECTION(sec, name, vendor, device, class,	\
sec                49 include/linux/percpu-defs.h #define __PCPU_ATTRS(sec)						\
sec                50 include/linux/percpu-defs.h 	__percpu __attribute__((section(PER_CPU_BASE_SECTION sec)))	\
sec                86 include/linux/percpu-defs.h #define DECLARE_PER_CPU_SECTION(type, name, sec)			\
sec                88 include/linux/percpu-defs.h 	extern __PCPU_ATTRS(sec) __typeof__(type) name
sec                90 include/linux/percpu-defs.h #define DEFINE_PER_CPU_SECTION(type, name, sec)				\
sec                94 include/linux/percpu-defs.h 	extern __PCPU_ATTRS(sec) __typeof__(type) name;			\
sec                95 include/linux/percpu-defs.h 	__PCPU_ATTRS(sec) __weak __typeof__(type) name
sec               100 include/linux/percpu-defs.h #define DECLARE_PER_CPU_SECTION(type, name, sec)			\
sec               101 include/linux/percpu-defs.h 	extern __PCPU_ATTRS(sec) __typeof__(type) name
sec               103 include/linux/percpu-defs.h #define DEFINE_PER_CPU_SECTION(type, name, sec)				\
sec               104 include/linux/percpu-defs.h 	__PCPU_ATTRS(sec) __typeof__(type) name
sec               122 include/linux/poll.h extern int poll_select_set_timeout(struct timespec64 *to, time64_t sec,
sec                96 include/linux/pps_kernel.h 	kt->sec = ts.tv_sec;
sec              1547 include/linux/security.h int security_ib_pkey_access(void *sec, u64 subnet_prefix, u16 pkey);
sec              1548 include/linux/security.h int security_ib_endport_manage_subnet(void *sec, const char *name, u8 port_num);
sec              1549 include/linux/security.h int security_ib_alloc_security(void **sec);
sec              1550 include/linux/security.h void security_ib_free_security(void *sec);
sec              1552 include/linux/security.h static inline int security_ib_pkey_access(void *sec, u64 subnet_prefix, u16 pkey)
sec              1557 include/linux/security.h static inline int security_ib_endport_manage_subnet(void *sec, const char *dev_name, u8 port_num)
sec              1562 include/linux/security.h static inline int security_ib_alloc_security(void **sec)
sec              1567 include/linux/security.h static inline void security_ib_free_security(void *sec)
sec                23 include/linux/time.h 			const unsigned int min, const unsigned int sec);
sec               180 include/linux/time32.h 			const unsigned int sec)
sec               182 include/linux/time32.h 	return mktime64(year, mon, day, hour, min, sec);
sec                69 include/linux/time64.h extern void set_normalized_timespec64(struct timespec64 *ts, time64_t sec, s64 nsec);
sec               127 include/media/dmxdev.h 		struct dmx_section_filter *sec;
sec               133 include/media/dmxdev.h 		struct dmx_section_feed *sec;
sec               137 include/media/dmxdev.h 		struct dmx_sct_filter_params sec;
sec               133 include/media/dvb_demux.h 		struct dmx_section_feed sec;
sec               138 include/media/dvb_demux.h 		dmx_section_cb sec;
sec                77 include/net/ieee802154_netdev.h 	struct ieee802154_sechdr sec;
sec               108 include/net/ieee802154_netdev.h ieee802154_sechdr_authtag_len(const struct ieee802154_sechdr *sec)
sec               110 include/net/ieee802154_netdev.h 	switch (sec->level) {
sec              1682 include/rdma/ib_verbs.h 	struct ib_qp_security  *sec;
sec               701 include/uapi/linux/btrfs.h 	__u64 sec;
sec               555 include/uapi/linux/btrfs_tree.h 	__le64 sec;
sec                32 include/uapi/linux/netfilter/nfnetlink_log.h 	__aligned_be64	sec;
sec                30 include/uapi/linux/netfilter/nfnetlink_queue.h 	__aligned_be64	sec;
sec                55 include/uapi/linux/pps.h 	__s64 sec;
sec                61 include/uapi/linux/pps.h 	__s64 sec;
sec                78 include/uapi/linux/ptp_clock.h 	__s64 sec;  /* seconds */
sec                38 include/vdso/datapage.h 	u64	sec;
sec                80 include/xen/arm/interface.h 	u32   sec;
sec               151 include/xen/interface/platform.h 				uint8_t sec;
sec              3597 kernel/events/core.c 	u64 sec = NSEC_PER_SEC;
sec              3638 kernel/events/core.c 		REDUCE_FLS(sec, count);
sec              3645 kernel/events/core.c 			REDUCE_FLS(count, sec);
sec              3649 kernel/events/core.c 		dividend = count * sec;
sec              3651 kernel/events/core.c 		dividend = count * sec;
sec              1137 kernel/kexec_file.c 	Elf_Shdr *sec;
sec              1150 kernel/kexec_file.c 	sec = pi->sechdrs + sym->st_shndx;
sec              1152 kernel/kexec_file.c 	if (sec->sh_type == SHT_NOBITS) {
sec              1158 kernel/kexec_file.c 	sym_buf = (char *)pi->purgatory_buf + sec->sh_offset + sym->st_value;
sec               254 kernel/livepatch/core.c 	Elf_Shdr *sec;
sec               263 kernel/livepatch/core.c 		sec = pmod->klp_info->sechdrs + i;
sec               264 kernel/livepatch/core.c 		secname = pmod->klp_info->secstrings + sec->sh_name;
sec               265 kernel/livepatch/core.c 		if (!(sec->sh_flags & SHF_RELA_LIVEPATCH))
sec               284 kernel/livepatch/core.c 		ret = klp_resolve_symbols(sec, pmod);
sec               371 kernel/module.c 	unsigned int sec = find_sec(info, name);
sec               374 kernel/module.c 	*num = info->sechdrs[sec].sh_size / object_size;
sec               375 kernel/module.c 	return (void *)info->sechdrs[sec].sh_addr;
sec              1565 kernel/module.c 		Elf_Shdr *sec = &info->sechdrs[i];
sec              1566 kernel/module.c 		if (sect_empty(sec))
sec              1568 kernel/module.c 		sattr->address = sec->sh_addr;
sec              1569 kernel/module.c 		sattr->name = kstrdup(info->secstrings + sec->sh_name,
sec              2661 kernel/module.c 	const Elf_Shdr *sec;
sec              2673 kernel/module.c 	sec = sechdrs + src->st_shndx;
sec              2674 kernel/module.c 	if (!(sec->sh_flags & SHF_ALLOC)
sec              2676 kernel/module.c 	    || !(sec->sh_flags & SHF_EXECINSTR)
sec              2678 kernel/module.c 	    || (sec->sh_entsize & INIT_OFFSET_MASK))
sec               474 kernel/time/clockevents.c 	u64 sec;
sec               484 kernel/time/clockevents.c 	sec = dev->max_delta_ticks;
sec               485 kernel/time/clockevents.c 	do_div(sec, freq);
sec               486 kernel/time/clockevents.c 	if (!sec)
sec               487 kernel/time/clockevents.c 		sec = 1;
sec               488 kernel/time/clockevents.c 	else if (sec > 600 && dev->max_delta_ticks > UINT_MAX)
sec               489 kernel/time/clockevents.c 		sec = 600;
sec               491 kernel/time/clockevents.c 	clockevents_calc_mult_shift(dev, freq, sec);
sec               860 kernel/time/clocksource.c 	u64 sec;
sec               876 kernel/time/clocksource.c 		sec = cs->mask;
sec               877 kernel/time/clocksource.c 		do_div(sec, freq);
sec               878 kernel/time/clocksource.c 		do_div(sec, scale);
sec               879 kernel/time/clocksource.c 		if (!sec)
sec               880 kernel/time/clocksource.c 			sec = 1;
sec               881 kernel/time/clocksource.c 		else if (sec > 600 && cs->mask > UINT_MAX)
sec               882 kernel/time/clocksource.c 			sec = 600;
sec               885 kernel/time/clocksource.c 				       NSEC_PER_SEC / scale, sec * scale);
sec               807 kernel/time/ntp.c 	s64		sec;	/* seconds */
sec               816 kernel/time/ntp.c 		.sec = ts.tv_sec,
sec               822 kernel/time/ntp.c 		norm.sec++;
sec               890 kernel/time/ntp.c 	if (freq_norm.sec > (2 << pps_shift)) {
sec               896 kernel/time/ntp.c 			freq_norm.sec);
sec               905 kernel/time/ntp.c 			freq_norm.sec);
sec              1007 kernel/time/ntp.c 	if ((freq_norm.sec == 0) ||
sec              1008 kernel/time/ntp.c 			(freq_norm.nsec > MAXFREQ * freq_norm.sec) ||
sec              1009 kernel/time/ntp.c 			(freq_norm.nsec < -MAXFREQ * freq_norm.sec)) {
sec              1020 kernel/time/ntp.c 	if (freq_norm.sec >= (1 << pps_shift)) {
sec               435 kernel/time/time.c 		const unsigned int min, const unsigned int sec)
sec               450 kernel/time/time.c 	)*60 + sec; /* finally seconds */
sec               523 kernel/time/time.c void set_normalized_timespec64(struct timespec64 *ts, time64_t sec, s64 nsec)
sec               533 kernel/time/time.c 		++sec;
sec               538 kernel/time/time.c 		--sec;
sec               540 kernel/time/time.c 	ts->tv_sec = sec;
sec               629 kernel/time/time.c __timespec64_to_jiffies(u64 sec, long nsec)
sec               633 kernel/time/time.c 	if (sec >= MAX_SEC_IN_JIFFIES){
sec               634 kernel/time/time.c 		sec = MAX_SEC_IN_JIFFIES;
sec               637 kernel/time/time.c 	return ((sec * SEC_CONVERSION) +
sec               644 kernel/time/time.c __timespec_to_jiffies(unsigned long sec, long nsec)
sec               646 kernel/time/time.c 	return __timespec64_to_jiffies((u64)sec, nsec);
sec                20 kernel/time/vsyscall.c 	u64 nsec, sec;
sec                33 kernel/time/vsyscall.c 	vdso_ts->sec	= tk->xtime_sec + tk->wall_to_monotonic.tv_sec;
sec                39 kernel/time/vsyscall.c 		vdso_ts->sec++;
sec                44 kernel/time/vsyscall.c 	sec	= vdso_ts->sec;
sec                46 kernel/time/vsyscall.c 	sec	+= tk->monotonic_to_boot.tv_sec;
sec                51 kernel/time/vsyscall.c 	vdso_ts->sec	= sec;
sec                55 kernel/time/vsyscall.c 		vdso_ts->sec++;
sec                61 kernel/time/vsyscall.c 	vdso_ts->sec	= tk->raw_sec;
sec                66 kernel/time/vsyscall.c 	vdso_ts->sec	= tk->xtime_sec + (s64)tk->tai_offset;
sec                84 kernel/time/vsyscall.c 	vdso_ts->sec	= tk->xtime_sec;
sec                89 kernel/time/vsyscall.c 	vdso_ts->sec	= tk->xtime_sec;
sec                94 kernel/time/vsyscall.c 	vdso_ts->sec	= tk->xtime_sec + tk->wall_to_monotonic.tv_sec;
sec                97 kernel/time/vsyscall.c 	vdso_ts->sec	+= __iter_div_u64_rem(nsec, NSEC_PER_SEC, &vdso_ts->nsec);
sec              7133 kernel/trace/trace.c 		u64 sec = err->info.ts;
sec              7136 kernel/trace/trace.c 		nsec = do_div(sec, NSEC_PER_SEC);
sec              7137 kernel/trace/trace.c 		seq_printf(m, "[%5llu.%06u] %s%s", sec, nsec / 1000,
sec                45 lib/vdso/gettimeofday.c 	u64 cycles, last, sec, ns;
sec                58 lib/vdso/gettimeofday.c 		sec = vdso_ts->sec;
sec                65 lib/vdso/gettimeofday.c 	ts->tv_sec = sec + __iter_div_u64_rem(ns, NSEC_PER_SEC, &ns);
sec                79 lib/vdso/gettimeofday.c 		ts->tv_sec = vdso_ts->sec;
sec               170 lib/vdso/gettimeofday.c 	time_t t = READ_ONCE(vd[CS_HRES_COARSE].basetime[CLOCK_REALTIME].sec);
sec               500 net/bluetooth/l2cap_sock.c 	struct bt_security sec;
sec               526 net/bluetooth/l2cap_sock.c 		memset(&sec, 0, sizeof(sec));
sec               528 net/bluetooth/l2cap_sock.c 			sec.level = chan->conn->hcon->sec_level;
sec               531 net/bluetooth/l2cap_sock.c 				sec.key_size = chan->conn->hcon->enc_key_size;
sec               533 net/bluetooth/l2cap_sock.c 			sec.level = chan->sec_level;
sec               536 net/bluetooth/l2cap_sock.c 		len = min_t(unsigned int, len, sizeof(sec));
sec               537 net/bluetooth/l2cap_sock.c 		if (copy_to_user(optval, (char *) &sec, len))
sec               748 net/bluetooth/l2cap_sock.c 	struct bt_security sec;
sec               773 net/bluetooth/l2cap_sock.c 		sec.level = BT_SECURITY_LOW;
sec               775 net/bluetooth/l2cap_sock.c 		len = min_t(unsigned int, sizeof(sec), optlen);
sec               776 net/bluetooth/l2cap_sock.c 		if (copy_from_user((char *) &sec, optval, len)) {
sec               781 net/bluetooth/l2cap_sock.c 		if (sec.level < BT_SECURITY_LOW ||
sec               782 net/bluetooth/l2cap_sock.c 		    sec.level > BT_SECURITY_FIPS) {
sec               787 net/bluetooth/l2cap_sock.c 		chan->sec_level = sec.level;
sec               796 net/bluetooth/l2cap_sock.c 			if (smp_conn_security(conn->hcon, sec.level)) {
sec               694 net/bluetooth/rfcomm/sock.c 	struct bt_security sec;
sec               716 net/bluetooth/rfcomm/sock.c 		sec.level = BT_SECURITY_LOW;
sec               718 net/bluetooth/rfcomm/sock.c 		len = min_t(unsigned int, sizeof(sec), optlen);
sec               719 net/bluetooth/rfcomm/sock.c 		if (copy_from_user((char *) &sec, optval, len)) {
sec               724 net/bluetooth/rfcomm/sock.c 		if (sec.level > BT_SECURITY_HIGH) {
sec               729 net/bluetooth/rfcomm/sock.c 		rfcomm_pi(sk)->sec_level = sec.level;
sec               837 net/bluetooth/rfcomm/sock.c 	struct bt_security sec;
sec               860 net/bluetooth/rfcomm/sock.c 		sec.level = rfcomm_pi(sk)->sec_level;
sec               861 net/bluetooth/rfcomm/sock.c 		sec.key_size = 0;
sec               863 net/bluetooth/rfcomm/sock.c 		len = min_t(unsigned int, len, sizeof(sec));
sec               864 net/bluetooth/rfcomm/sock.c 		if (copy_to_user(optval, (char *) &sec, len))
sec               395 net/core/page_pool.c 		int sec = (s32)((u32)jiffies - (u32)pool->defer_start) / HZ;
sec               398 net/core/page_pool.c 			__func__, inflight, sec);
sec               108 net/ieee802154/header_ops.c 		rc = ieee802154_hdr_push_sechdr(buf + pos, &hdr->sec);
sec               255 net/ieee802154/header_ops.c 		pos += ieee802154_hdr_get_sechdr(skb->data + pos, &hdr->sec);
sec               300 net/ieee802154/header_ops.c 		pos += ieee802154_hdr_get_sechdr(buf + pos, &hdr->sec);
sec               312 net/ieee802154/header_ops.c 		hlen += ieee802154_sechdr_lengths[hdr->sec.key_id_mode] - 1;
sec               313 net/ieee802154/header_ops.c 		hlen += ieee802154_sechdr_authtag_len(&hdr->sec);
sec               272 net/mac802154/cfg.c 	*table = &sdata->sec.table;
sec               306 net/mac802154/cfg.c 	res = mac802154_llsec_set_params(&sdata->sec, params, changed);
sec               322 net/mac802154/cfg.c 	res = mac802154_llsec_get_params(&sdata->sec, params);
sec               338 net/mac802154/cfg.c 	res = mac802154_llsec_key_add(&sdata->sec, id, key);
sec               353 net/mac802154/cfg.c 	res = mac802154_llsec_key_del(&sdata->sec, id);
sec               368 net/mac802154/cfg.c 	res = mac802154_llsec_seclevel_add(&sdata->sec, sl);
sec               383 net/mac802154/cfg.c 	res = mac802154_llsec_seclevel_del(&sdata->sec, sl);
sec               398 net/mac802154/cfg.c 	res = mac802154_llsec_dev_add(&sdata->sec, dev_desc);
sec               413 net/mac802154/cfg.c 	res = mac802154_llsec_dev_del(&sdata->sec, extended_addr);
sec               429 net/mac802154/cfg.c 	res = mac802154_llsec_devkey_add(&sdata->sec, extended_addr, key);
sec               445 net/mac802154/cfg.c 	res = mac802154_llsec_devkey_del(&sdata->sec, extended_addr, key);
sec                91 net/mac802154/ieee802154_i.h 	struct mac802154_llsec sec;
sec               337 net/mac802154/iface.c 	mac802154_llsec_get_params(&sdata->sec, &params);
sec               351 net/mac802154/iface.c 	hdr->sec.level = level;
sec               352 net/mac802154/iface.c 	hdr->sec.key_id_mode = params.out_key.mode;
sec               354 net/mac802154/iface.c 		hdr->sec.short_src = params.out_key.short_source;
sec               356 net/mac802154/iface.c 		hdr->sec.extended_src = params.out_key.extended_source;
sec               357 net/mac802154/iface.c 	hdr->sec.key_id = params.out_key.id;
sec               520 net/mac802154/iface.c 	mac802154_llsec_destroy(&sdata->sec);
sec               595 net/mac802154/iface.c 		mac802154_llsec_init(&sdata->sec);
sec                27 net/mac802154/llsec.c void mac802154_llsec_init(struct mac802154_llsec *sec)
sec                29 net/mac802154/llsec.c 	memset(sec, 0, sizeof(*sec));
sec                31 net/mac802154/llsec.c 	memset(&sec->params.default_key_source, 0xFF, IEEE802154_ADDR_LEN);
sec                33 net/mac802154/llsec.c 	INIT_LIST_HEAD(&sec->table.security_levels);
sec                34 net/mac802154/llsec.c 	INIT_LIST_HEAD(&sec->table.devices);
sec                35 net/mac802154/llsec.c 	INIT_LIST_HEAD(&sec->table.keys);
sec                36 net/mac802154/llsec.c 	hash_init(sec->devices_short);
sec                37 net/mac802154/llsec.c 	hash_init(sec->devices_hw);
sec                38 net/mac802154/llsec.c 	rwlock_init(&sec->lock);
sec                41 net/mac802154/llsec.c void mac802154_llsec_destroy(struct mac802154_llsec *sec)
sec                47 net/mac802154/llsec.c 	list_for_each_entry_safe(sl, sn, &sec->table.security_levels, list) {
sec                55 net/mac802154/llsec.c 	list_for_each_entry_safe(dev, dn, &sec->table.devices, list) {
sec                63 net/mac802154/llsec.c 	list_for_each_entry_safe(key, kn, &sec->table.keys, list) {
sec                73 net/mac802154/llsec.c int mac802154_llsec_get_params(struct mac802154_llsec *sec,
sec                76 net/mac802154/llsec.c 	read_lock_bh(&sec->lock);
sec                77 net/mac802154/llsec.c 	*params = sec->params;
sec                78 net/mac802154/llsec.c 	read_unlock_bh(&sec->lock);
sec                83 net/mac802154/llsec.c int mac802154_llsec_set_params(struct mac802154_llsec *sec,
sec                87 net/mac802154/llsec.c 	write_lock_bh(&sec->lock);
sec                90 net/mac802154/llsec.c 		sec->params.enabled = params->enabled;
sec                92 net/mac802154/llsec.c 		sec->params.frame_counter = params->frame_counter;
sec                94 net/mac802154/llsec.c 		sec->params.out_level = params->out_level;
sec                96 net/mac802154/llsec.c 		sec->params.out_key = params->out_key;
sec                98 net/mac802154/llsec.c 		sec->params.default_key_source = params->default_key_source;
sec               100 net/mac802154/llsec.c 		sec->params.pan_id = params->pan_id;
sec               102 net/mac802154/llsec.c 		sec->params.hwaddr = params->hwaddr;
sec               104 net/mac802154/llsec.c 		sec->params.coord_hwaddr = params->coord_hwaddr;
sec               106 net/mac802154/llsec.c 		sec->params.coord_shortaddr = params->coord_shortaddr;
sec               108 net/mac802154/llsec.c 	write_unlock_bh(&sec->lock);
sec               212 net/mac802154/llsec.c int mac802154_llsec_key_add(struct mac802154_llsec *sec,
sec               223 net/mac802154/llsec.c 	list_for_each_entry(pos, &sec->table.keys, list) {
sec               259 net/mac802154/llsec.c 	list_add_rcu(&new->list, &sec->table.keys);
sec               268 net/mac802154/llsec.c int mac802154_llsec_key_del(struct mac802154_llsec *sec,
sec               273 net/mac802154/llsec.c 	list_for_each_entry(pos, &sec->table.keys, list) {
sec               305 net/mac802154/llsec.c llsec_dev_find_short(struct mac802154_llsec *sec, __le16 short_addr,
sec               311 net/mac802154/llsec.c 	hash_for_each_possible_rcu(sec->devices_short, dev, bucket_s, key) {
sec               321 net/mac802154/llsec.c llsec_dev_find_long(struct mac802154_llsec *sec, __le64 hwaddr)
sec               326 net/mac802154/llsec.c 	hash_for_each_possible_rcu(sec->devices_hw, dev, bucket_hw, key) {
sec               350 net/mac802154/llsec.c int mac802154_llsec_dev_add(struct mac802154_llsec *sec,
sec               360 net/mac802154/llsec.c 	     llsec_dev_find_short(sec, dev->short_addr, dev->pan_id)) ||
sec               361 net/mac802154/llsec.c 	     llsec_dev_find_long(sec, dev->hwaddr))
sec               373 net/mac802154/llsec.c 		hash_add_rcu(sec->devices_short, &entry->bucket_s, skey);
sec               377 net/mac802154/llsec.c 	hash_add_rcu(sec->devices_hw, &entry->bucket_hw, hwkey);
sec               378 net/mac802154/llsec.c 	list_add_tail_rcu(&entry->dev.list, &sec->table.devices);
sec               388 net/mac802154/llsec.c int mac802154_llsec_dev_del(struct mac802154_llsec *sec, __le64 device_addr)
sec               392 net/mac802154/llsec.c 	pos = llsec_dev_find_long(sec, device_addr);
sec               421 net/mac802154/llsec.c int mac802154_llsec_devkey_add(struct mac802154_llsec *sec,
sec               428 net/mac802154/llsec.c 	dev = llsec_dev_find_long(sec, dev_addr);
sec               445 net/mac802154/llsec.c int mac802154_llsec_devkey_del(struct mac802154_llsec *sec,
sec               452 net/mac802154/llsec.c 	dev = llsec_dev_find_long(sec, dev_addr);
sec               467 net/mac802154/llsec.c llsec_find_seclevel(const struct mac802154_llsec *sec,
sec               472 net/mac802154/llsec.c 	list_for_each_entry(pos, &sec->table.security_levels, list) {
sec               487 net/mac802154/llsec.c int mac802154_llsec_seclevel_add(struct mac802154_llsec *sec,
sec               492 net/mac802154/llsec.c 	if (llsec_find_seclevel(sec, sl))
sec               501 net/mac802154/llsec.c 	list_add_tail_rcu(&entry->level.list, &sec->table.security_levels);
sec               506 net/mac802154/llsec.c int mac802154_llsec_seclevel_del(struct mac802154_llsec *sec,
sec               511 net/mac802154/llsec.c 	pos = llsec_find_seclevel(sec, sl);
sec               521 net/mac802154/llsec.c static int llsec_recover_addr(struct mac802154_llsec *sec,
sec               524 net/mac802154/llsec.c 	__le16 caddr = sec->params.coord_shortaddr;
sec               526 net/mac802154/llsec.c 	addr->pan_id = sec->params.pan_id;
sec               531 net/mac802154/llsec.c 		addr->extended_addr = sec->params.coord_hwaddr;
sec               534 net/mac802154/llsec.c 		addr->short_addr = sec->params.coord_shortaddr;
sec               542 net/mac802154/llsec.c llsec_lookup_key(struct mac802154_llsec *sec,
sec               548 net/mac802154/llsec.c 	u8 key_id_mode = hdr->sec.key_id_mode;
sec               555 net/mac802154/llsec.c 			devaddr.extended_addr = sec->params.coord_hwaddr;
sec               557 net/mac802154/llsec.c 		} else if (llsec_recover_addr(sec, &devaddr) < 0) {
sec               562 net/mac802154/llsec.c 	list_for_each_entry_rcu(key_entry, &sec->table.keys, list) {
sec               575 net/mac802154/llsec.c 			if (id->id != hdr->sec.key_id)
sec               580 net/mac802154/llsec.c 			     id->short_source == hdr->sec.short_src) ||
sec               582 net/mac802154/llsec.c 			     id->extended_source == hdr->sec.extended_src))
sec               597 net/mac802154/llsec.c 			const struct ieee802154_sechdr *sec)
sec               600 net/mac802154/llsec.c 	__be32 frame_counter = (__force __be32) swab32((__force u32) sec->frame_counter);
sec               605 net/mac802154/llsec.c 	iv[13] = sec->level;
sec               611 net/mac802154/llsec.c llsec_do_encrypt_unauth(struct sk_buff *skb, const struct mac802154_llsec *sec,
sec               621 net/mac802154/llsec.c 	llsec_geniv(iv, sec->params.hwaddr, &hdr->sec);
sec               648 net/mac802154/llsec.c llsec_do_encrypt_auth(struct sk_buff *skb, const struct mac802154_llsec *sec,
sec               658 net/mac802154/llsec.c 	authlen = ieee802154_sechdr_authtag_len(&hdr->sec);
sec               659 net/mac802154/llsec.c 	llsec_geniv(iv, sec->params.hwaddr, &hdr->sec);
sec               674 net/mac802154/llsec.c 	if (!(hdr->sec.level & IEEE802154_SCF_SECLEVEL_ENC)) {
sec               691 net/mac802154/llsec.c 			    const struct mac802154_llsec *sec,
sec               695 net/mac802154/llsec.c 	if (hdr->sec.level == IEEE802154_SCF_SECLEVEL_ENC)
sec               696 net/mac802154/llsec.c 		return llsec_do_encrypt_unauth(skb, sec, hdr, key);
sec               698 net/mac802154/llsec.c 		return llsec_do_encrypt_auth(skb, sec, hdr, key);
sec               701 net/mac802154/llsec.c int mac802154_llsec_encrypt(struct mac802154_llsec *sec, struct sk_buff *skb)
sec               714 net/mac802154/llsec.c 	    (hdr.sec.level == IEEE802154_SCF_SECLEVEL_NONE)) {
sec               719 net/mac802154/llsec.c 	authlen = ieee802154_sechdr_authtag_len(&hdr.sec);
sec               726 net/mac802154/llsec.c 	read_lock_bh(&sec->lock);
sec               728 net/mac802154/llsec.c 	if (!sec->params.enabled) {
sec               733 net/mac802154/llsec.c 	key = llsec_lookup_key(sec, &hdr, &hdr.dest, NULL);
sec               739 net/mac802154/llsec.c 	read_unlock_bh(&sec->lock);
sec               741 net/mac802154/llsec.c 	write_lock_bh(&sec->lock);
sec               743 net/mac802154/llsec.c 	frame_ctr = be32_to_cpu(sec->params.frame_counter);
sec               744 net/mac802154/llsec.c 	hdr.sec.frame_counter = cpu_to_le32(frame_ctr);
sec               746 net/mac802154/llsec.c 		write_unlock_bh(&sec->lock);
sec               752 net/mac802154/llsec.c 	sec->params.frame_counter = cpu_to_be32(frame_ctr + 1);
sec               754 net/mac802154/llsec.c 	write_unlock_bh(&sec->lock);
sec               761 net/mac802154/llsec.c 	rc = llsec_do_encrypt(skb, sec, &hdr, key);
sec               767 net/mac802154/llsec.c 	read_unlock_bh(&sec->lock);
sec               774 net/mac802154/llsec.c llsec_lookup_dev(struct mac802154_llsec *sec,
sec               781 net/mac802154/llsec.c 	    llsec_recover_addr(sec, &devaddr) < 0)
sec               788 net/mac802154/llsec.c 		hash_for_each_possible_rcu(sec->devices_short, dev,
sec               797 net/mac802154/llsec.c 		hash_for_each_possible_rcu(sec->devices_hw, dev,
sec               808 net/mac802154/llsec.c llsec_lookup_seclevel(const struct mac802154_llsec *sec,
sec               814 net/mac802154/llsec.c 	list_for_each_entry_rcu(level, &sec->table.security_levels, list) {
sec               827 net/mac802154/llsec.c llsec_do_decrypt_unauth(struct sk_buff *skb, const struct mac802154_llsec *sec,
sec               838 net/mac802154/llsec.c 	llsec_geniv(iv, dev_addr, &hdr->sec);
sec               854 net/mac802154/llsec.c llsec_do_decrypt_auth(struct sk_buff *skb, const struct mac802154_llsec *sec,
sec               864 net/mac802154/llsec.c 	authlen = ieee802154_sechdr_authtag_len(&hdr->sec);
sec               865 net/mac802154/llsec.c 	llsec_geniv(iv, dev_addr, &hdr->sec);
sec               878 net/mac802154/llsec.c 	if (!(hdr->sec.level & IEEE802154_SCF_SECLEVEL_ENC)) {
sec               896 net/mac802154/llsec.c llsec_do_decrypt(struct sk_buff *skb, const struct mac802154_llsec *sec,
sec               900 net/mac802154/llsec.c 	if (hdr->sec.level == IEEE802154_SCF_SECLEVEL_ENC)
sec               901 net/mac802154/llsec.c 		return llsec_do_decrypt_unauth(skb, sec, hdr, key, dev_addr);
sec               903 net/mac802154/llsec.c 		return llsec_do_decrypt_auth(skb, sec, hdr, key, dev_addr);
sec               975 net/mac802154/llsec.c int mac802154_llsec_decrypt(struct mac802154_llsec *sec, struct sk_buff *skb)
sec               993 net/mac802154/llsec.c 	read_lock_bh(&sec->lock);
sec               994 net/mac802154/llsec.c 	if (!sec->params.enabled) {
sec               995 net/mac802154/llsec.c 		read_unlock_bh(&sec->lock);
sec               998 net/mac802154/llsec.c 	read_unlock_bh(&sec->lock);
sec              1002 net/mac802154/llsec.c 	key = llsec_lookup_key(sec, &hdr, &hdr.source, &key_id);
sec              1008 net/mac802154/llsec.c 	dev = llsec_lookup_dev(sec, &hdr.source);
sec              1014 net/mac802154/llsec.c 	if (llsec_lookup_seclevel(sec, hdr.fc.type, 0, &seclevel) < 0) {
sec              1019 net/mac802154/llsec.c 	if (!(seclevel.sec_levels & BIT(hdr.sec.level)) &&
sec              1020 net/mac802154/llsec.c 	    (hdr.sec.level == 0 && seclevel.device_override &&
sec              1026 net/mac802154/llsec.c 	frame_ctr = le32_to_cpu(hdr.sec.frame_counter);
sec              1041 net/mac802154/llsec.c 	err = llsec_do_decrypt(skb, sec, &hdr, key, dev_addr);
sec                64 net/mac802154/llsec.h void mac802154_llsec_init(struct mac802154_llsec *sec);
sec                65 net/mac802154/llsec.h void mac802154_llsec_destroy(struct mac802154_llsec *sec);
sec                67 net/mac802154/llsec.h int mac802154_llsec_get_params(struct mac802154_llsec *sec,
sec                69 net/mac802154/llsec.h int mac802154_llsec_set_params(struct mac802154_llsec *sec,
sec                73 net/mac802154/llsec.h int mac802154_llsec_key_add(struct mac802154_llsec *sec,
sec                76 net/mac802154/llsec.h int mac802154_llsec_key_del(struct mac802154_llsec *sec,
sec                79 net/mac802154/llsec.h int mac802154_llsec_dev_add(struct mac802154_llsec *sec,
sec                81 net/mac802154/llsec.h int mac802154_llsec_dev_del(struct mac802154_llsec *sec,
sec                84 net/mac802154/llsec.h int mac802154_llsec_devkey_add(struct mac802154_llsec *sec,
sec                87 net/mac802154/llsec.h int mac802154_llsec_devkey_del(struct mac802154_llsec *sec,
sec                91 net/mac802154/llsec.h int mac802154_llsec_seclevel_add(struct mac802154_llsec *sec,
sec                93 net/mac802154/llsec.h int mac802154_llsec_seclevel_del(struct mac802154_llsec *sec,
sec                96 net/mac802154/llsec.h int mac802154_llsec_encrypt(struct mac802154_llsec *sec, struct sk_buff *skb);
sec                97 net/mac802154/llsec.h int mac802154_llsec_decrypt(struct mac802154_llsec *sec, struct sk_buff *skb);
sec                49 net/mac802154/mib.c 	res = mac802154_llsec_get_params(&sdata->sec, params);
sec                65 net/mac802154/mib.c 	res = mac802154_llsec_set_params(&sdata->sec, params, changed);
sec                81 net/mac802154/mib.c 	res = mac802154_llsec_key_add(&sdata->sec, id, key);
sec                96 net/mac802154/mib.c 	res = mac802154_llsec_key_del(&sdata->sec, id);
sec               111 net/mac802154/mib.c 	res = mac802154_llsec_dev_add(&sdata->sec, llsec_dev);
sec               125 net/mac802154/mib.c 	res = mac802154_llsec_dev_del(&sdata->sec, dev_addr);
sec               141 net/mac802154/mib.c 	res = mac802154_llsec_devkey_add(&sdata->sec, device_addr, key);
sec               157 net/mac802154/mib.c 	res = mac802154_llsec_devkey_del(&sdata->sec, device_addr, key);
sec               172 net/mac802154/mib.c 	res = mac802154_llsec_seclevel_add(&sdata->sec, sl);
sec               187 net/mac802154/mib.c 	res = mac802154_llsec_seclevel_del(&sdata->sec, sl);
sec               209 net/mac802154/mib.c 	*t = &sdata->sec.table;
sec                86 net/mac802154/rx.c 	rc = mac802154_llsec_decrypt(&sdata->sec, skb);
sec               161 net/mac802154/rx.c 		pr_debug("seclevel %i\n", hdr->sec.level);
sec               163 net/mac802154/rx.c 		switch (hdr->sec.key_id_mode) {
sec               169 net/mac802154/rx.c 			pr_debug("key %02x\n", hdr->sec.key_id);
sec               174 net/mac802154/rx.c 				 le32_to_cpu(hdr->sec.short_src) >> 16,
sec               175 net/mac802154/rx.c 				 le32_to_cpu(hdr->sec.short_src) & 0xffff,
sec               176 net/mac802154/rx.c 				 hdr->sec.key_id);
sec               180 net/mac802154/rx.c 			key = swab64((__force u64)hdr->sec.extended_src);
sec               182 net/mac802154/rx.c 				 hdr->sec.key_id);
sec               121 net/mac802154/tx.c 	rc = mac802154_llsec_encrypt(&sdata->sec, skb);
sec               594 net/netfilter/nfnetlink_log.c 		ts.sec = cpu_to_be64(kts.tv_sec);
sec               585 net/netfilter/nfnetlink_queue.c 		ts.sec = cpu_to_be64(kts.tv_sec);
sec               266 net/rxrpc/call_accept.c 						    const struct rxrpc_security *sec,
sec               315 net/rxrpc/call_accept.c 		rxrpc_new_incoming_connection(rx, conn, sec, key, skb);
sec               354 net/rxrpc/call_accept.c 	const struct rxrpc_security *sec = NULL;
sec               379 net/rxrpc/call_accept.c 	if (!conn && !rxrpc_look_up_server_security(local, rx, &sec, &key, skb))
sec               382 net/rxrpc/call_accept.c 	call = rxrpc_alloc_incoming_call(rx, local, peer, conn, sec, key, skb);
sec               151 net/rxrpc/conn_service.c 				   const struct rxrpc_security *sec,
sec               165 net/rxrpc/conn_service.c 	conn->security		= sec;
sec                70 net/rxrpc/security.c 	const struct rxrpc_security *sec;
sec                88 net/rxrpc/security.c 	sec = rxrpc_security_lookup(token->security_index);
sec                89 net/rxrpc/security.c 	if (!sec)
sec                91 net/rxrpc/security.c 	conn->security = sec;
sec               111 net/rxrpc/security.c 	const struct rxrpc_security *sec;
sec               120 net/rxrpc/security.c 	sec = rxrpc_security_lookup(sp->hdr.securityIndex);
sec               121 net/rxrpc/security.c 	if (!sec) {
sec               148 net/rxrpc/security.c 				  sec->no_key_abort, EKEYREJECTED);
sec               150 net/rxrpc/security.c 		skb->priority = sec->no_key_abort;
sec               155 net/rxrpc/security.c 	*_sec = sec;
sec               160 scripts/insert-sys-cert.c 	Elf_Shdr *sec;
sec               175 scripts/insert-sys-cert.c 	sec = &x[secndx];
sec               178 scripts/insert-sys-cert.c 	s->offset = s->address - sec->sh_addr
sec               179 scripts/insert-sys-cert.c 			       + sec->sh_offset;
sec               317 scripts/mod/modpost.c static enum export export_from_secname(struct elf_info *elf, unsigned int sec)
sec               319 scripts/mod/modpost.c 	const char *secname = sec_name(elf, sec);
sec               335 scripts/mod/modpost.c static enum export export_from_sec(struct elf_info *elf, unsigned int sec)
sec               337 scripts/mod/modpost.c 	if (sec == elf->export_sec)
sec               339 scripts/mod/modpost.c 	else if (sec == elf->export_unused_sec)
sec               341 scripts/mod/modpost.c 	else if (sec == elf->export_gpl_sec)
sec               343 scripts/mod/modpost.c 	else if (sec == elf->export_unused_gpl_sec)
sec               345 scripts/mod/modpost.c 	else if (sec == elf->export_gpl_future_sec)
sec               924 scripts/mod/modpost.c 	const char *sec = sech_name(elf, sechdr);
sec               928 scripts/mod/modpost.c 	    !match(sec, section_white_list)) {
sec               933 scripts/mod/modpost.c 		     modname, sec);
sec              1360 scripts/mod/modpost.c 				 const char *sec)
sec              1372 scripts/mod/modpost.c 		if (strcmp(symsec, sec) != 0)
sec              1642 scripts/mod/modpost.c static void find_extable_entry_size(const char* const sec, const Elf_Rela* r)
sec              2200 security/security.c int security_ib_pkey_access(void *sec, u64 subnet_prefix, u16 pkey)
sec              2202 security/security.c 	return call_int_hook(ib_pkey_access, 0, sec, subnet_prefix, pkey);
sec              2206 security/security.c int security_ib_endport_manage_subnet(void *sec, const char *dev_name, u8 port_num)
sec              2208 security/security.c 	return call_int_hook(ib_endport_manage_subnet, 0, sec, dev_name, port_num);
sec              2212 security/security.c int security_ib_alloc_security(void **sec)
sec              2214 security/security.c 	return call_int_hook(ib_alloc_security, 0, sec);
sec              2218 security/security.c void security_ib_free_security(void *sec)
sec              2220 security/security.c 	call_void_hook(ib_free_security, sec);
sec              6622 security/selinux/hooks.c 	struct ib_security_struct *sec = ib_sec;
sec              6634 security/selinux/hooks.c 			    sec->sid, sid,
sec              6645 security/selinux/hooks.c 	struct ib_security_struct *sec = ib_sec;
sec              6659 security/selinux/hooks.c 			    sec->sid, sid,
sec              6666 security/selinux/hooks.c 	struct ib_security_struct *sec;
sec              6668 security/selinux/hooks.c 	sec = kzalloc(sizeof(*sec), GFP_KERNEL);
sec              6669 security/selinux/hooks.c 	if (!sec)
sec              6671 security/selinux/hooks.c 	sec->sid = current_sid();
sec              6673 security/selinux/hooks.c 	*ib_sec = sec;
sec               168 security/tomoyo/audit.c 		       stamp.min, stamp.sec, r->profile, tomoyo_mode[r->mode],
sec              2367 security/tomoyo/common.c 					 stamp.hour, stamp.min, stamp.sec);
sec               898 security/tomoyo/common.h 	u8 sec;
sec                96 security/tomoyo/util.c 	stamp->sec = tm.tm_sec;
sec               431 sound/drivers/dummy.c 	long sec;
sec               437 sound/drivers/dummy.c 	sec = period / rate;
sec               440 sound/drivers/dummy.c 	dpcm->period_time = ktime_set(sec, nsecs);
sec               257 sound/firewire/bebob/bebob_stream.c 	unsigned int sec, sections, ch, channels;
sec               295 sound/firewire/bebob/bebob_stream.c 	for (sec = 0; sec < sections; sec++) {
sec               300 sound/firewire/bebob/bebob_stream.c 							 sec, &type);
sec              1513 tools/lib/bpf/btf.c 		struct btf_ext_info_sec *sec = line_data_cur;
sec              1515 tools/lib/bpf/btf.c 		__u32 num_info = sec->num_info;
sec              1517 tools/lib/bpf/btf.c 		r = fn(&sec->sec_name_off, ctx);
sec              1073 tools/lib/bpf/libbpf.c 					 const struct btf_type *sec,
sec              1085 tools/lib/bpf/libbpf.c 	vi = btf_var_secinfos(sec) + var_idx;
sec              1272 tools/lib/bpf/libbpf.c 	const struct btf_type *sec = NULL;
sec              1298 tools/lib/bpf/libbpf.c 			sec = t;
sec              1303 tools/lib/bpf/libbpf.c 	if (!sec) {
sec              1308 tools/lib/bpf/libbpf.c 	vlen = btf_vlen(sec);
sec              1310 tools/lib/bpf/libbpf.c 		err = bpf_object__init_user_btf_map(obj, sec, i,
sec              1619 tools/lib/bpf/libbpf.c 			int sec = sh.sh_info; /* points to other section */
sec              1622 tools/lib/bpf/libbpf.c 			if (!section_have_execinstr(obj, sec)) {
sec              1624 tools/lib/bpf/libbpf.c 					 name, idx, sec);
sec              3118 tools/lib/bpf/libbpf.c 	const struct btf_ext_info_sec *sec;
sec              3145 tools/lib/bpf/libbpf.c 	for_each_btf_ext_sec(seg, sec) {
sec              3146 tools/lib/bpf/libbpf.c 		sec_name = btf__name_by_offset(obj->btf, sec->sec_name_off);
sec              3160 tools/lib/bpf/libbpf.c 			 sec_name, sec->num_info);
sec              3162 tools/lib/bpf/libbpf.c 		for_each_btf_ext_rec(seg, sec, i, rec) {
sec              4484 tools/lib/bpf/libbpf.c 	const char *sec;
sec              4577 tools/lib/bpf/libbpf.c 		if (strlen(buf) + strlen(section_names[i].sec) + 2 > len) {
sec              4582 tools/lib/bpf/libbpf.c 		strcat(buf, section_names[i].sec);
sec              4598 tools/lib/bpf/libbpf.c 		if (strncmp(name, section_names[i].sec, section_names[i].len))
sec              4624 tools/lib/bpf/libbpf.c 		if (strncmp(name, section_names[i].sec, section_names[i].len))
sec                81 tools/lib/bpf/libbpf_internal.h #define for_each_btf_ext_sec(seg, sec)					\
sec                82 tools/lib/bpf/libbpf_internal.h 	for (sec = (seg)->info;						\
sec                83 tools/lib/bpf/libbpf_internal.h 	     (void *)sec < (seg)->info + (seg)->len;			\
sec                84 tools/lib/bpf/libbpf_internal.h 	     sec = (void *)sec + sizeof(struct btf_ext_info_sec) +	\
sec                85 tools/lib/bpf/libbpf_internal.h 		   (seg)->rec_size * sec->num_info)
sec                87 tools/lib/bpf/libbpf_internal.h #define for_each_btf_ext_rec(seg, sec, i, rec)				\
sec                88 tools/lib/bpf/libbpf_internal.h 	for (i = 0, rec = (void *)&(sec)->data;				\
sec                89 tools/lib/bpf/libbpf_internal.h 	     i < (sec)->num_info;					\
sec                71 tools/objtool/arch.h int arch_decode_instruction(struct elf *elf, struct section *sec,
sec                69 tools/objtool/arch/x86/decode.c int arch_decode_instruction(struct elf *elf, struct section *sec,
sec                84 tools/objtool/arch/x86/decode.c 	insn_init(&insn, sec->data->d_buf + offset, maxlen, x86_64);
sec                88 tools/objtool/arch/x86/decode.c 		WARN_FUNC("can't decode instruction", sec, offset);
sec                33 tools/objtool/check.c 			      struct section *sec, unsigned long offset)
sec                38 tools/objtool/check.c 		if (insn->sec == sec && insn->offset == offset)
sec                49 tools/objtool/check.c 	if (!next || &next->list == &file->insn_list || next->sec != insn->sec)
sec                72 tools/objtool/check.c 	return find_insn(file, func->cfunc->sec, func->cfunc->offset);
sec                76 tools/objtool/check.c 	for (insn = find_insn(file, func->sec, func->offset);		\
sec                81 tools/objtool/check.c 	for (insn = find_insn(file, func->sec, func->offset);		\
sec                83 tools/objtool/check.c 		insn->sec == func->sec &&				\
sec                90 tools/objtool/check.c 		insn->sec == func->sec && insn->offset >= func->offset;	\
sec               163 tools/objtool/check.c 	insn = find_insn(file, func->sec, func->offset);
sec               232 tools/objtool/check.c 	struct section *sec;
sec               238 tools/objtool/check.c 	for_each_sec(file, sec) {
sec               240 tools/objtool/check.c 		if (!(sec->sh.sh_flags & SHF_EXECINSTR))
sec               243 tools/objtool/check.c 		if (strcmp(sec->name, ".altinstr_replacement") &&
sec               244 tools/objtool/check.c 		    strcmp(sec->name, ".altinstr_aux") &&
sec               245 tools/objtool/check.c 		    strncmp(sec->name, ".discard.", 9))
sec               246 tools/objtool/check.c 			sec->text = true;
sec               248 tools/objtool/check.c 		for (offset = 0; offset < sec->len; offset += insn->len) {
sec               258 tools/objtool/check.c 			insn->sec = sec;
sec               261 tools/objtool/check.c 			ret = arch_decode_instruction(file->elf, sec, offset,
sec               262 tools/objtool/check.c 						      sec->len - offset,
sec               273 tools/objtool/check.c 		list_for_each_entry(func, &sec->symbol_list, list) {
sec               277 tools/objtool/check.c 			if (!find_insn(file, sec, func->offset)) {
sec               300 tools/objtool/check.c 	struct section *sec;
sec               316 tools/objtool/check.c 	sec = find_section_by_name(file->elf, ".rela.discard.unreachable");
sec               317 tools/objtool/check.c 	if (!sec)
sec               320 tools/objtool/check.c 	list_for_each_entry(rela, &sec->rela_list, list) {
sec               322 tools/objtool/check.c 			WARN("unexpected relocation symbol type in %s", sec->name);
sec               325 tools/objtool/check.c 		insn = find_insn(file, rela->sym->sec, rela->addend);
sec               328 tools/objtool/check.c 		else if (rela->addend == rela->sym->sec->len) {
sec               331 tools/objtool/check.c 				if (insn->sec == rela->sym->sec) {
sec               339 tools/objtool/check.c 				     rela->sym->sec->name, rela->addend);
sec               344 tools/objtool/check.c 			     rela->sym->sec->name, rela->addend);
sec               358 tools/objtool/check.c 	sec = find_section_by_name(file->elf, ".rela.discard.reachable");
sec               359 tools/objtool/check.c 	if (!sec)
sec               362 tools/objtool/check.c 	list_for_each_entry(rela, &sec->rela_list, list) {
sec               364 tools/objtool/check.c 			WARN("unexpected relocation symbol type in %s", sec->name);
sec               367 tools/objtool/check.c 		insn = find_insn(file, rela->sym->sec, rela->addend);
sec               370 tools/objtool/check.c 		else if (rela->addend == rela->sym->sec->len) {
sec               373 tools/objtool/check.c 				if (insn->sec == rela->sym->sec) {
sec               381 tools/objtool/check.c 				     rela->sym->sec->name, rela->addend);
sec               386 tools/objtool/check.c 			     rela->sym->sec->name, rela->addend);
sec               402 tools/objtool/check.c 	struct section *sec;
sec               406 tools/objtool/check.c 	sec = find_section_by_name(file->elf, ".rela.discard.func_stack_frame_non_standard");
sec               407 tools/objtool/check.c 	if (!sec)
sec               410 tools/objtool/check.c 	list_for_each_entry(rela, &sec->rela_list, list) {
sec               417 tools/objtool/check.c 			func = find_symbol_by_offset(rela->sym->sec, rela->addend);
sec               423 tools/objtool/check.c 			WARN("unexpected relocation symbol type in %s: %d", sec->name, rela->sym->type);
sec               518 tools/objtool/check.c 	struct section *sec;
sec               522 tools/objtool/check.c 	sec = find_section_by_name(file->elf, ".rela.discard.ignore_alts");
sec               523 tools/objtool/check.c 	if (!sec)
sec               526 tools/objtool/check.c 	list_for_each_entry(rela, &sec->rela_list, list) {
sec               528 tools/objtool/check.c 			WARN("unexpected relocation symbol type in %s", sec->name);
sec               532 tools/objtool/check.c 		insn = find_insn(file, rela->sym->sec, rela->addend);
sec               562 tools/objtool/check.c 		rela = find_rela_by_dest_range(insn->sec, insn->offset,
sec               565 tools/objtool/check.c 			dest_sec = insn->sec;
sec               568 tools/objtool/check.c 			dest_sec = rela->sym->sec;
sec               570 tools/objtool/check.c 		} else if (rela->sym->sec->idx) {
sec               571 tools/objtool/check.c 			dest_sec = rela->sym->sec;
sec               599 tools/objtool/check.c 			if (!strcmp(insn->sec->name, ".altinstr_replacement"))
sec               603 tools/objtool/check.c 				  insn->sec, insn->offset, dest_sec->name,
sec               659 tools/objtool/check.c 		rela = find_rela_by_dest_range(insn->sec, insn->offset,
sec               663 tools/objtool/check.c 			insn->call_dest = find_symbol_by_offset(insn->sec,
sec               668 tools/objtool/check.c 					  insn->sec, insn->offset);
sec               675 tools/objtool/check.c 			insn->call_dest = find_symbol_by_offset(rela->sym->sec,
sec               680 tools/objtool/check.c 					  insn->sec, insn->offset,
sec               681 tools/objtool/check.c 					  rela->sym->sec->name,
sec               737 tools/objtool/check.c 		fake_jump->sec = special_alt->new_sec;
sec               785 tools/objtool/check.c 				  insn->sec, insn->offset);
sec               817 tools/objtool/check.c 			  orig_insn->sec, orig_insn->offset);
sec               912 tools/objtool/check.c 	list_for_each_entry_from(rela, &table->sec->rela_list, list) {
sec               923 tools/objtool/check.c 		if (rela->sym->sec == pfunc->sec &&
sec               927 tools/objtool/check.c 		dest_insn = find_insn(file, rela->sym->sec, rela->addend);
sec               948 tools/objtool/check.c 			  insn->sec, insn->offset);
sec              1027 tools/objtool/check.c 		text_rela = find_rela_by_dest_range(insn->sec, insn->offset,
sec              1030 tools/objtool/check.c 		    !text_rela->sym->sec->rodata)
sec              1034 tools/objtool/check.c 		table_sec = text_rela->sym->sec;
sec              1135 tools/objtool/check.c 	struct section *sec;
sec              1142 tools/objtool/check.c 	for_each_sec(file, sec) {
sec              1143 tools/objtool/check.c 		list_for_each_entry(func, &sec->symbol_list, list) {
sec              1159 tools/objtool/check.c 	struct section *sec, *relasec;
sec              1166 tools/objtool/check.c 	sec = find_section_by_name(file->elf, ".discard.unwind_hints");
sec              1167 tools/objtool/check.c 	if (!sec)
sec              1170 tools/objtool/check.c 	relasec = sec->rela;
sec              1176 tools/objtool/check.c 	if (sec->len % sizeof(struct unwind_hint)) {
sec              1183 tools/objtool/check.c 	for (i = 0; i < sec->len / sizeof(struct unwind_hint); i++) {
sec              1184 tools/objtool/check.c 		hint = (struct unwind_hint *)sec->data->d_buf + i;
sec              1186 tools/objtool/check.c 		rela = find_rela_by_dest(sec, i * sizeof(*hint));
sec              1192 tools/objtool/check.c 		insn = find_insn(file, rela->sym->sec, rela->addend);
sec              1239 tools/objtool/check.c 				  insn->sec, insn->offset, hint->sp_reg);
sec              1253 tools/objtool/check.c 	struct section *sec;
sec              1257 tools/objtool/check.c 	sec = find_section_by_name(file->elf, ".rela.discard.retpoline_safe");
sec              1258 tools/objtool/check.c 	if (!sec)
sec              1261 tools/objtool/check.c 	list_for_each_entry(rela, &sec->rela_list, list) {
sec              1263 tools/objtool/check.c 			WARN("unexpected relocation symbol type in %s", sec->name);
sec              1267 tools/objtool/check.c 		insn = find_insn(file, rela->sym->sec, rela->addend);
sec              1276 tools/objtool/check.c 				  insn->sec, insn->offset);
sec              1288 tools/objtool/check.c 	struct section *sec;
sec              1301 tools/objtool/check.c 	for_each_sec(file, sec) {
sec              1302 tools/objtool/check.c 		if ((!strncmp(sec->name, ".rodata", 7) && !strstr(sec->name, ".str1.")) ||
sec              1303 tools/objtool/check.c 		    !strcmp(sec->name, C_JUMP_TABLE_SECTION)) {
sec              1304 tools/objtool/check.c 			sec->rodata = true;
sec              1502 tools/objtool/check.c 			WARN_FUNC("undefined stack state", insn->sec, insn->offset);
sec              1640 tools/objtool/check.c 					  insn->sec, insn->offset);
sec              1651 tools/objtool/check.c 					  insn->sec, insn->offset);
sec              1728 tools/objtool/check.c 				  insn->sec, insn->offset);
sec              1809 tools/objtool/check.c 				  insn->sec, insn->offset);
sec              1828 tools/objtool/check.c 				  insn->sec, insn->offset);
sec              1841 tools/objtool/check.c 			  insn->sec, insn->offset);
sec              1855 tools/objtool/check.c 			  insn->sec, insn->offset,
sec              1866 tools/objtool/check.c 				  insn->sec, insn->offset,
sec              1874 tools/objtool/check.c 			  insn->sec, insn->offset, state1->type, state2->type);
sec              1880 tools/objtool/check.c 			  insn->sec, insn->offset,
sec              1910 tools/objtool/check.c 				insn->sec, insn->offset, call_dest_name(insn));
sec              1916 tools/objtool/check.c 				insn->sec, insn->offset, call_dest_name(insn));
sec              1927 tools/objtool/check.c 				insn->sec, insn->offset);
sec              1945 tools/objtool/check.c 	struct section *sec;
sec              1950 tools/objtool/check.c 	sec = insn->sec;
sec              1954 tools/objtool/check.c 			  sec, insn->offset);
sec              1969 tools/objtool/check.c 				  sec, insn->offset);
sec              1997 tools/objtool/check.c 						  sec, insn->offset);
sec              2013 tools/objtool/check.c 						  sec, insn->offset);
sec              2050 tools/objtool/check.c 				WARN_FUNC("return with UACCESS enabled", sec, insn->offset);
sec              2055 tools/objtool/check.c 				WARN_FUNC("return with UACCESS disabled from a UACCESS-safe function", sec, insn->offset);
sec              2060 tools/objtool/check.c 				WARN_FUNC("return with DF set", sec, insn->offset);
sec              2066 tools/objtool/check.c 					  sec, insn->offset);
sec              2087 tools/objtool/check.c 					  sec, insn->offset);
sec              2134 tools/objtool/check.c 					  sec, insn->offset);
sec              2147 tools/objtool/check.c 					WARN_FUNC("PUSHF stack exhausted", sec, insn->offset);
sec              2167 tools/objtool/check.c 				WARN_FUNC("recursive UACCESS enable", sec, insn->offset);
sec              2176 tools/objtool/check.c 				WARN_FUNC("redundant UACCESS disable", sec, insn->offset);
sec              2181 tools/objtool/check.c 				WARN_FUNC("UACCESS-safe disables UACCESS", sec, insn->offset);
sec              2190 tools/objtool/check.c 				WARN_FUNC("recursive STD", sec, insn->offset);
sec              2197 tools/objtool/check.c 				WARN_FUNC("redundant CLD", sec, insn->offset);
sec              2212 tools/objtool/check.c 			WARN("%s: unexpected end of section", sec->name);
sec              2264 tools/objtool/check.c 		if (!strcmp(insn->sec->name, ".init.text") && !module)
sec              2268 tools/objtool/check.c 			  insn->sec, insn->offset,
sec              2304 tools/objtool/check.c 	if (!strcmp(insn->sec->name, ".fixup") ||
sec              2305 tools/objtool/check.c 	    !strcmp(insn->sec->name, ".altinstr_replacement") ||
sec              2306 tools/objtool/check.c 	    !strcmp(insn->sec->name, ".altinstr_aux"))
sec              2356 tools/objtool/check.c 	struct section *sec;
sec              2369 tools/objtool/check.c 	for_each_sec(file, sec) {
sec              2370 tools/objtool/check.c 		list_for_each_entry(func, &sec->symbol_list, list) {
sec              2383 tools/objtool/check.c 			insn = find_insn(file, sec, func->offset);
sec              2410 tools/objtool/check.c 		WARN_FUNC("unreachable instruction", insn->sec, insn->offset);
sec                31 tools/objtool/check.h 	struct section *sec;
sec                60 tools/objtool/check.h 			      struct section *sec, unsigned long offset);
sec                65 tools/objtool/check.h #define sec_for_each_insn(file, sec, insn)				\
sec                66 tools/objtool/check.h 	for (insn = find_insn(file, sec, 0);				\
sec                68 tools/objtool/check.h 			insn->sec == sec;				\
sec                26 tools/objtool/elf.c 	struct section *sec;
sec                28 tools/objtool/elf.c 	list_for_each_entry(sec, &elf->sections, list)
sec                29 tools/objtool/elf.c 		if (!strcmp(sec->name, name))
sec                30 tools/objtool/elf.c 			return sec;
sec                38 tools/objtool/elf.c 	struct section *sec;
sec                40 tools/objtool/elf.c 	list_for_each_entry(sec, &elf->sections, list)
sec                41 tools/objtool/elf.c 		if (sec->idx == idx)
sec                42 tools/objtool/elf.c 			return sec;
sec                49 tools/objtool/elf.c 	struct section *sec;
sec                52 tools/objtool/elf.c 	list_for_each_entry(sec, &elf->sections, list)
sec                53 tools/objtool/elf.c 		hash_for_each_possible(sec->symbol_hash, sym, hash, idx)
sec                60 tools/objtool/elf.c struct symbol *find_symbol_by_offset(struct section *sec, unsigned long offset)
sec                64 tools/objtool/elf.c 	list_for_each_entry(sym, &sec->symbol_list, list)
sec                74 tools/objtool/elf.c 	struct section *sec;
sec                77 tools/objtool/elf.c 	list_for_each_entry(sec, &elf->sections, list)
sec                78 tools/objtool/elf.c 		list_for_each_entry(sym, &sec->symbol_list, list)
sec                85 tools/objtool/elf.c struct symbol *find_symbol_containing(struct section *sec, unsigned long offset)
sec                89 tools/objtool/elf.c 	list_for_each_entry(sym, &sec->symbol_list, list)
sec                97 tools/objtool/elf.c struct rela *find_rela_by_dest_range(struct section *sec, unsigned long offset,
sec               103 tools/objtool/elf.c 	if (!sec->rela)
sec               107 tools/objtool/elf.c 		hash_for_each_possible(sec->rela->rela_hash, rela, hash, o)
sec               114 tools/objtool/elf.c struct rela *find_rela_by_dest(struct section *sec, unsigned long offset)
sec               116 tools/objtool/elf.c 	return find_rela_by_dest_range(sec, offset, 1);
sec               119 tools/objtool/elf.c struct symbol *find_containing_func(struct section *sec, unsigned long offset)
sec               123 tools/objtool/elf.c 	list_for_each_entry(func, &sec->symbol_list, list)
sec               134 tools/objtool/elf.c 	struct section *sec;
sec               149 tools/objtool/elf.c 		sec = malloc(sizeof(*sec));
sec               150 tools/objtool/elf.c 		if (!sec) {
sec               154 tools/objtool/elf.c 		memset(sec, 0, sizeof(*sec));
sec               156 tools/objtool/elf.c 		INIT_LIST_HEAD(&sec->symbol_list);
sec               157 tools/objtool/elf.c 		INIT_LIST_HEAD(&sec->rela_list);
sec               158 tools/objtool/elf.c 		hash_init(sec->rela_hash);
sec               159 tools/objtool/elf.c 		hash_init(sec->symbol_hash);
sec               161 tools/objtool/elf.c 		list_add_tail(&sec->list, &elf->sections);
sec               169 tools/objtool/elf.c 		sec->idx = elf_ndxscn(s);
sec               171 tools/objtool/elf.c 		if (!gelf_getshdr(s, &sec->sh)) {
sec               176 tools/objtool/elf.c 		sec->name = elf_strptr(elf->elf, shstrndx, sec->sh.sh_name);
sec               177 tools/objtool/elf.c 		if (!sec->name) {
sec               182 tools/objtool/elf.c 		if (sec->sh.sh_size != 0) {
sec               183 tools/objtool/elf.c 			sec->data = elf_getdata(s, NULL);
sec               184 tools/objtool/elf.c 			if (!sec->data) {
sec               188 tools/objtool/elf.c 			if (sec->data->d_off != 0 ||
sec               189 tools/objtool/elf.c 			    sec->data->d_size != sec->sh.sh_size) {
sec               191 tools/objtool/elf.c 				     sec->name);
sec               195 tools/objtool/elf.c 		sec->len = sec->sh.sh_size;
sec               209 tools/objtool/elf.c 	struct section *symtab, *sec;
sec               251 tools/objtool/elf.c 			sym->sec = find_section_by_index(elf,
sec               253 tools/objtool/elf.c 			if (!sym->sec) {
sec               259 tools/objtool/elf.c 				sym->name = sym->sec->name;
sec               260 tools/objtool/elf.c 				sym->sec->sym = sym;
sec               263 tools/objtool/elf.c 			sym->sec = find_section_by_index(elf, 0);
sec               269 tools/objtool/elf.c 		entry = &sym->sec->symbol_list;
sec               270 tools/objtool/elf.c 		list_for_each_prev(tmp, &sym->sec->symbol_list) {
sec               292 tools/objtool/elf.c 		hash_add(sym->sec->symbol_hash, &sym->hash, sym->idx);
sec               296 tools/objtool/elf.c 	list_for_each_entry(sec, &elf->sections, list) {
sec               297 tools/objtool/elf.c 		list_for_each_entry(sym, &sec->symbol_list, list) {
sec               335 tools/objtool/elf.c 			if (sym->sec == pfunc->sec &&
sec               352 tools/objtool/elf.c 	struct section *sec;
sec               357 tools/objtool/elf.c 	list_for_each_entry(sec, &elf->sections, list) {
sec               358 tools/objtool/elf.c 		if (sec->sh.sh_type != SHT_RELA)
sec               361 tools/objtool/elf.c 		sec->base = find_section_by_name(elf, sec->name + 5);
sec               362 tools/objtool/elf.c 		if (!sec->base) {
sec               364 tools/objtool/elf.c 			     sec->name);
sec               368 tools/objtool/elf.c 		sec->base->rela = sec;
sec               370 tools/objtool/elf.c 		for (i = 0; i < sec->sh.sh_size / sec->sh.sh_entsize; i++) {
sec               378 tools/objtool/elf.c 			if (!gelf_getrela(sec->data, i, &rela->rela)) {
sec               388 tools/objtool/elf.c 			rela->sec = sec;
sec               391 tools/objtool/elf.c 				     symndx, sec->name);
sec               395 tools/objtool/elf.c 			list_add_tail(&rela->list, &sec->rela_list);
sec               396 tools/objtool/elf.c 			hash_add(sec->rela_hash, &rela->hash, rela->offset);
sec               464 tools/objtool/elf.c 	struct section *sec, *shstrtab;
sec               469 tools/objtool/elf.c 	sec = malloc(sizeof(*sec));
sec               470 tools/objtool/elf.c 	if (!sec) {
sec               474 tools/objtool/elf.c 	memset(sec, 0, sizeof(*sec));
sec               476 tools/objtool/elf.c 	INIT_LIST_HEAD(&sec->symbol_list);
sec               477 tools/objtool/elf.c 	INIT_LIST_HEAD(&sec->rela_list);
sec               478 tools/objtool/elf.c 	hash_init(sec->rela_hash);
sec               479 tools/objtool/elf.c 	hash_init(sec->symbol_hash);
sec               481 tools/objtool/elf.c 	list_add_tail(&sec->list, &elf->sections);
sec               489 tools/objtool/elf.c 	sec->name = strdup(name);
sec               490 tools/objtool/elf.c 	if (!sec->name) {
sec               495 tools/objtool/elf.c 	sec->idx = elf_ndxscn(s);
sec               496 tools/objtool/elf.c 	sec->len = size;
sec               497 tools/objtool/elf.c 	sec->changed = true;
sec               499 tools/objtool/elf.c 	sec->data = elf_newdata(s);
sec               500 tools/objtool/elf.c 	if (!sec->data) {
sec               505 tools/objtool/elf.c 	sec->data->d_size = size;
sec               506 tools/objtool/elf.c 	sec->data->d_align = 1;
sec               509 tools/objtool/elf.c 		sec->data->d_buf = malloc(size);
sec               510 tools/objtool/elf.c 		if (!sec->data->d_buf) {
sec               514 tools/objtool/elf.c 		memset(sec->data->d_buf, 0, size);
sec               517 tools/objtool/elf.c 	if (!gelf_getshdr(s, &sec->sh)) {
sec               522 tools/objtool/elf.c 	sec->sh.sh_size = size;
sec               523 tools/objtool/elf.c 	sec->sh.sh_entsize = entsize;
sec               524 tools/objtool/elf.c 	sec->sh.sh_type = SHT_PROGBITS;
sec               525 tools/objtool/elf.c 	sec->sh.sh_addralign = 1;
sec               526 tools/objtool/elf.c 	sec->sh.sh_flags = SHF_ALLOC;
sec               550 tools/objtool/elf.c 	data->d_buf = sec->name;
sec               554 tools/objtool/elf.c 	sec->sh.sh_name = shstrtab->len;
sec               559 tools/objtool/elf.c 	return sec;
sec               565 tools/objtool/elf.c 	struct section *sec;
sec               575 tools/objtool/elf.c 	sec = elf_create_section(elf, relaname, sizeof(GElf_Rela), 0);
sec               577 tools/objtool/elf.c 	if (!sec)
sec               580 tools/objtool/elf.c 	base->rela = sec;
sec               581 tools/objtool/elf.c 	sec->base = base;
sec               583 tools/objtool/elf.c 	sec->sh.sh_type = SHT_RELA;
sec               584 tools/objtool/elf.c 	sec->sh.sh_addralign = 8;
sec               585 tools/objtool/elf.c 	sec->sh.sh_link = find_section_by_name(elf, ".symtab")->idx;
sec               586 tools/objtool/elf.c 	sec->sh.sh_info = base->idx;
sec               587 tools/objtool/elf.c 	sec->sh.sh_flags = SHF_INFO_LINK;
sec               589 tools/objtool/elf.c 	return sec;
sec               592 tools/objtool/elf.c int elf_rebuild_rela_section(struct section *sec)
sec               599 tools/objtool/elf.c 	list_for_each_entry(rela, &sec->rela_list, list)
sec               609 tools/objtool/elf.c 	sec->data->d_buf = relas;
sec               610 tools/objtool/elf.c 	sec->data->d_size = size;
sec               612 tools/objtool/elf.c 	sec->sh.sh_size = size;
sec               615 tools/objtool/elf.c 	list_for_each_entry(rela, &sec->rela_list, list) {
sec               627 tools/objtool/elf.c 	struct section *sec;
sec               631 tools/objtool/elf.c 	list_for_each_entry(sec, &elf->sections, list) {
sec               632 tools/objtool/elf.c 		if (sec->changed) {
sec               633 tools/objtool/elf.c 			s = elf_getscn(elf->elf, sec->idx);
sec               638 tools/objtool/elf.c 			if (!gelf_update_shdr(s, &sec->sh)) {
sec               659 tools/objtool/elf.c 	struct section *sec, *tmpsec;
sec               669 tools/objtool/elf.c 	list_for_each_entry_safe(sec, tmpsec, &elf->sections, list) {
sec               670 tools/objtool/elf.c 		list_for_each_entry_safe(sym, tmpsym, &sec->symbol_list, list) {
sec               675 tools/objtool/elf.c 		list_for_each_entry_safe(rela, tmprela, &sec->rela_list, list) {
sec               680 tools/objtool/elf.c 		list_del(&sec->list);
sec               681 tools/objtool/elf.c 		free(sec);
sec                46 tools/objtool/elf.h 	struct section *sec;
sec                60 tools/objtool/elf.h 	struct section *sec;
sec                80 tools/objtool/elf.h struct symbol *find_symbol_by_offset(struct section *sec, unsigned long offset);
sec                82 tools/objtool/elf.h struct symbol *find_symbol_containing(struct section *sec, unsigned long offset);
sec                83 tools/objtool/elf.h struct rela *find_rela_by_dest(struct section *sec, unsigned long offset);
sec                84 tools/objtool/elf.h struct rela *find_rela_by_dest_range(struct section *sec, unsigned long offset,
sec                86 tools/objtool/elf.h struct symbol *find_containing_func(struct section *sec, unsigned long offset);
sec                90 tools/objtool/elf.h int elf_rebuild_rela_section(struct section *sec);
sec                94 tools/objtool/elf.h #define for_each_sec(file, sec)						\
sec                95 tools/objtool/elf.h 	list_for_each_entry(sec, &file->elf->sections, list)
sec                56 tools/objtool/orc_gen.c 				  insn->sec, insn->offset, cfa->base);
sec                72 tools/objtool/orc_gen.c 				  insn->sec, insn->offset, bp->base);
sec               122 tools/objtool/orc_gen.c 	struct section *sec, *u_sec, *ip_relasec;
sec               131 tools/objtool/orc_gen.c 	sec = find_section_by_name(file->elf, ".orc_unwind");
sec               132 tools/objtool/orc_gen.c 	if (sec) {
sec               139 tools/objtool/orc_gen.c 	for_each_sec(file, sec) {
sec               140 tools/objtool/orc_gen.c 		if (!sec->text)
sec               144 tools/objtool/orc_gen.c 		sec_for_each_insn(file, sec, insn) {
sec               162 tools/objtool/orc_gen.c 	sec = elf_create_section(file->elf, ".orc_unwind_ip", sizeof(int), idx);
sec               163 tools/objtool/orc_gen.c 	if (!sec)
sec               166 tools/objtool/orc_gen.c 	ip_relasec = elf_create_rela_section(file->elf, sec);
sec               176 tools/objtool/orc_gen.c 	for_each_sec(file, sec) {
sec               177 tools/objtool/orc_gen.c 		if (!sec->text)
sec               181 tools/objtool/orc_gen.c 		sec_for_each_insn(file, sec, insn) {
sec               186 tools/objtool/orc_gen.c 						     insn->sec, insn->offset,
sec               198 tools/objtool/orc_gen.c 					     prev_insn->sec,
sec                37 tools/objtool/special.c 	const char *sec;
sec                46 tools/objtool/special.c 		.sec = ".altinstructions",
sec                56 tools/objtool/special.c 		.sec = "__jump_table",
sec                63 tools/objtool/special.c 		.sec = "__ex_table",
sec                72 tools/objtool/special.c 			 struct section *sec, int idx,
sec                84 tools/objtool/special.c 		alt->orig_len = *(unsigned char *)(sec->data->d_buf + offset +
sec                86 tools/objtool/special.c 		alt->new_len = *(unsigned char *)(sec->data->d_buf + offset +
sec                93 tools/objtool/special.c 		feature = *(unsigned short *)(sec->data->d_buf + offset +
sec               121 tools/objtool/special.c 	orig_rela = find_rela_by_dest(sec, offset + entry->orig);
sec               123 tools/objtool/special.c 		WARN_FUNC("can't find orig rela", sec, offset + entry->orig);
sec               128 tools/objtool/special.c 			   sec, offset + entry->orig, orig_rela->sym->name);
sec               132 tools/objtool/special.c 	alt->orig_sec = orig_rela->sym->sec;
sec               136 tools/objtool/special.c 		new_rela = find_rela_by_dest(sec, offset + entry->new);
sec               139 tools/objtool/special.c 				  sec, offset + entry->new);
sec               143 tools/objtool/special.c 		alt->new_sec = new_rela->sym->sec;
sec               162 tools/objtool/special.c 	struct section *sec;
sec               169 tools/objtool/special.c 	for (entry = entries; entry->sec; entry++) {
sec               170 tools/objtool/special.c 		sec = find_section_by_name(elf, entry->sec);
sec               171 tools/objtool/special.c 		if (!sec)
sec               174 tools/objtool/special.c 		if (sec->len % entry->size != 0) {
sec               176 tools/objtool/special.c 			     sec->name, entry->size);
sec               180 tools/objtool/special.c 		nr_entries = sec->len / entry->size;
sec               190 tools/objtool/special.c 			ret = get_alt_entry(elf, entry, sec, idx, alt);
sec                18 tools/objtool/warn.h static inline char *offstr(struct section *sec, unsigned long offset)
sec                24 tools/objtool/warn.h 	func = find_containing_func(sec, offset);
sec                29 tools/objtool/warn.h 		name = sec->name;
sec                48 tools/objtool/warn.h #define WARN_FUNC(format, sec, offset, ...)		\
sec                50 tools/objtool/warn.h 	char *_str = offstr(sec, offset);		\
sec                58 tools/objtool/warn.h 	char *_str = offstr(_insn->sec, _insn->offset); \
sec                44 tools/perf/examples/bpf/5sec.c int probe(hrtimer_nanosleep, rqtp->tv_sec)(void *ctx, int err, long sec)
sec                46 tools/perf/examples/bpf/5sec.c 	return sec == 5;
sec              3145 tools/perf/util/header.c 	struct perf_file_section *feat_sec, *sec;
sec              3155 tools/perf/util/header.c 	feat_sec = sec = calloc(nr_sections, sizeof(*feat_sec));
sec              3168 tools/perf/util/header.c 		err = process(sec++, header, feat, fd, data);
sec               264 tools/perf/util/probe-event.c 	Elf_Scn *sec;
sec               279 tools/perf/util/probe-event.c 	sec = elf_section_by_name(elf, &ehdr, &shdr,
sec               281 tools/perf/util/probe-event.c 	if (!sec)
sec               284 tools/perf/util/probe-event.c 	data = elf_getdata(sec, NULL);
sec               190 tools/perf/util/symbol-elf.c 	Elf_Scn *sec = NULL;
sec               194 tools/perf/util/symbol-elf.c 	while ((sec = elf_nextscn(elf, sec)) != NULL) {
sec               195 tools/perf/util/symbol-elf.c 		gelf_getshdr(sec, &shdr);
sec               210 tools/perf/util/symbol-elf.c 	Elf_Scn *sec = NULL;
sec               217 tools/perf/util/symbol-elf.c 	while ((sec = elf_nextscn(elf, sec)) != NULL) {
sec               220 tools/perf/util/symbol-elf.c 		gelf_getshdr(sec, shp);
sec               225 tools/perf/util/symbol-elf.c 			return sec;
sec               460 tools/perf/util/symbol-elf.c 	Elf_Scn *sec;
sec               483 tools/perf/util/symbol-elf.c 		sec = elf_section_by_name(elf, &ehdr, &shdr,
sec               485 tools/perf/util/symbol-elf.c 		if (sec)
sec               488 tools/perf/util/symbol-elf.c 		sec = elf_section_by_name(elf, &ehdr, &shdr,
sec               490 tools/perf/util/symbol-elf.c 		if (sec)
sec               493 tools/perf/util/symbol-elf.c 		sec = elf_section_by_name(elf, &ehdr, &shdr,
sec               495 tools/perf/util/symbol-elf.c 		if (sec)
sec               502 tools/perf/util/symbol-elf.c 	data = elf_getdata(sec, NULL);
sec               619 tools/perf/util/symbol-elf.c 	Elf_Scn *sec;
sec               641 tools/perf/util/symbol-elf.c 	sec = elf_section_by_name(elf, &ehdr, &shdr,
sec               643 tools/perf/util/symbol-elf.c 	if (sec == NULL)
sec               646 tools/perf/util/symbol-elf.c 	data = elf_getdata(sec, NULL);
sec               965 tools/perf/util/symbol-elf.c 	Elf_Scn *sec, *sec_strndx;
sec               999 tools/perf/util/symbol-elf.c 	sec = syms_ss->symtab;
sec              1009 tools/perf/util/symbol-elf.c 	syms = elf_getdata(sec, NULL);
sec              1013 tools/perf/util/symbol-elf.c 	sec = elf_getscn(elf, shdr.sh_link);
sec              1014 tools/perf/util/symbol-elf.c 	if (sec == NULL)
sec              1017 tools/perf/util/symbol-elf.c 	symstrs = elf_getdata(sec, NULL);
sec              1106 tools/perf/util/symbol-elf.c 		sec = elf_getscn(runtime_ss->elf, sym.st_shndx);
sec              1107 tools/perf/util/symbol-elf.c 		if (!sec)
sec              1110 tools/perf/util/symbol-elf.c 		gelf_getshdr(sec, &shdr);
sec               530 tools/perf/util/time-utils.c 	u64  sec = timestamp / NSEC_PER_SEC;
sec               533 tools/perf/util/time-utils.c 	return scnprintf(buf, sz, "%"PRIu64".%06"PRIu64, sec, usec);
sec               538 tools/perf/util/time-utils.c 	u64 sec  = timestamp / NSEC_PER_SEC,
sec               541 tools/perf/util/time-utils.c 	return scnprintf(buf, sz, "%" PRIu64 ".%09" PRIu64, sec, nsec);
sec                21 tools/testing/nvdimm/dimm_devs.c 	nvdimm->sec.flags = nvdimm_security_flags(nvdimm, NVDIMM_USER);
sec                23 tools/testing/nvdimm/dimm_devs.c 	if (test_bit(NVDIMM_SECURITY_DISABLED, &nvdimm->sec.flags))
sec                25 tools/testing/nvdimm/dimm_devs.c 	if (test_bit(NVDIMM_SECURITY_UNLOCKED, &nvdimm->sec.flags))
sec                27 tools/testing/nvdimm/dimm_devs.c 	if (test_bit(NVDIMM_SECURITY_LOCKED, &nvdimm->sec.flags))
sec               945 tools/testing/nvdimm/test/nfit.c 	struct nfit_test_sec *sec = &dimm_sec_info[dimm];
sec               948 tools/testing/nvdimm/test/nfit.c 	nd_cmd->state = sec->state;
sec               949 tools/testing/nvdimm/test/nfit.c 	nd_cmd->extended_state = sec->ext_state;
sec               960 tools/testing/nvdimm/test/nfit.c 	struct nfit_test_sec *sec = &dimm_sec_info[dimm];
sec               962 tools/testing/nvdimm/test/nfit.c 	if (!(sec->state & ND_INTEL_SEC_STATE_LOCKED) ||
sec               963 tools/testing/nvdimm/test/nfit.c 			(sec->state & ND_INTEL_SEC_STATE_FROZEN)) {
sec               966 tools/testing/nvdimm/test/nfit.c 				sec->state);
sec               967 tools/testing/nvdimm/test/nfit.c 	} else if (memcmp(nd_cmd->passphrase, sec->passphrase,
sec               973 tools/testing/nvdimm/test/nfit.c 		sec->state = ND_INTEL_SEC_STATE_ENABLED;
sec               986 tools/testing/nvdimm/test/nfit.c 	struct nfit_test_sec *sec = &dimm_sec_info[dimm];
sec               988 tools/testing/nvdimm/test/nfit.c 	if (sec->state & ND_INTEL_SEC_STATE_FROZEN) {
sec               991 tools/testing/nvdimm/test/nfit.c 	} else if (memcmp(nd_cmd->old_pass, sec->passphrase,
sec               996 tools/testing/nvdimm/test/nfit.c 		memcpy(sec->passphrase, nd_cmd->new_pass,
sec               998 tools/testing/nvdimm/test/nfit.c 		sec->state |= ND_INTEL_SEC_STATE_ENABLED;
sec              1011 tools/testing/nvdimm/test/nfit.c 	struct nfit_test_sec *sec = &dimm_sec_info[dimm];
sec              1013 tools/testing/nvdimm/test/nfit.c 	if (!(sec->state & ND_INTEL_SEC_STATE_ENABLED)) {
sec              1017 tools/testing/nvdimm/test/nfit.c 		sec->state |= ND_INTEL_SEC_STATE_FROZEN;
sec              1030 tools/testing/nvdimm/test/nfit.c 	struct nfit_test_sec *sec = &dimm_sec_info[dimm];
sec              1032 tools/testing/nvdimm/test/nfit.c 	if (!(sec->state & ND_INTEL_SEC_STATE_ENABLED) ||
sec              1033 tools/testing/nvdimm/test/nfit.c 			(sec->state & ND_INTEL_SEC_STATE_FROZEN)) {
sec              1036 tools/testing/nvdimm/test/nfit.c 	} else if (memcmp(nd_cmd->passphrase, sec->passphrase,
sec              1041 tools/testing/nvdimm/test/nfit.c 		memset(sec->passphrase, 0, ND_INTEL_PASSPHRASE_SIZE);
sec              1042 tools/testing/nvdimm/test/nfit.c 		sec->state = 0;
sec              1054 tools/testing/nvdimm/test/nfit.c 	struct nfit_test_sec *sec = &dimm_sec_info[dimm];
sec              1056 tools/testing/nvdimm/test/nfit.c 	if (sec->state & ND_INTEL_SEC_STATE_FROZEN) {
sec              1059 tools/testing/nvdimm/test/nfit.c 	} else if (memcmp(nd_cmd->passphrase, sec->passphrase,
sec              1064 tools/testing/nvdimm/test/nfit.c 		if (!(sec->state & ND_INTEL_SEC_STATE_ENABLED)
sec              1070 tools/testing/nvdimm/test/nfit.c 		memset(sec->passphrase, 0, ND_INTEL_PASSPHRASE_SIZE);
sec              1071 tools/testing/nvdimm/test/nfit.c 		memset(sec->master_passphrase, 0, ND_INTEL_PASSPHRASE_SIZE);
sec              1072 tools/testing/nvdimm/test/nfit.c 		sec->state = 0;
sec              1073 tools/testing/nvdimm/test/nfit.c 		sec->ext_state = ND_INTEL_SEC_ESTATE_ENABLED;
sec              1085 tools/testing/nvdimm/test/nfit.c 	struct nfit_test_sec *sec = &dimm_sec_info[dimm];
sec              1087 tools/testing/nvdimm/test/nfit.c 	if ((sec->state & ND_INTEL_SEC_STATE_ENABLED) &&
sec              1088 tools/testing/nvdimm/test/nfit.c 			memcmp(nd_cmd->passphrase, sec->passphrase,
sec              1095 tools/testing/nvdimm/test/nfit.c 	sec->old_state = sec->state;
sec              1096 tools/testing/nvdimm/test/nfit.c 	sec->state = ND_INTEL_SEC_STATE_OVERWRITE;
sec              1098 tools/testing/nvdimm/test/nfit.c 	sec->overwrite_end_time = get_jiffies_64() + 5 * HZ;
sec              1108 tools/testing/nvdimm/test/nfit.c 	struct nfit_test_sec *sec = &dimm_sec_info[dimm];
sec              1110 tools/testing/nvdimm/test/nfit.c 	if (!(sec->state & ND_INTEL_SEC_STATE_OVERWRITE)) {
sec              1115 tools/testing/nvdimm/test/nfit.c 	if (time_is_before_jiffies64(sec->overwrite_end_time)) {
sec              1116 tools/testing/nvdimm/test/nfit.c 		sec->overwrite_end_time = 0;
sec              1117 tools/testing/nvdimm/test/nfit.c 		sec->state = sec->old_state;
sec              1118 tools/testing/nvdimm/test/nfit.c 		sec->old_state = 0;
sec              1119 tools/testing/nvdimm/test/nfit.c 		sec->ext_state = ND_INTEL_SEC_ESTATE_ENABLED;
sec              1131 tools/testing/nvdimm/test/nfit.c 	struct nfit_test_sec *sec = &dimm_sec_info[dimm];
sec              1133 tools/testing/nvdimm/test/nfit.c 	if (!(sec->ext_state & ND_INTEL_SEC_ESTATE_ENABLED)) {
sec              1136 tools/testing/nvdimm/test/nfit.c 	} else if (sec->ext_state & ND_INTEL_SEC_ESTATE_PLIMIT) {
sec              1139 tools/testing/nvdimm/test/nfit.c 	} else if (memcmp(nd_cmd->old_pass, sec->master_passphrase,
sec              1144 tools/testing/nvdimm/test/nfit.c 		memcpy(sec->master_passphrase, nd_cmd->new_pass,
sec              1146 tools/testing/nvdimm/test/nfit.c 		sec->ext_state = ND_INTEL_SEC_ESTATE_ENABLED;
sec              1158 tools/testing/nvdimm/test/nfit.c 	struct nfit_test_sec *sec = &dimm_sec_info[dimm];
sec              1160 tools/testing/nvdimm/test/nfit.c 	if (!(sec->ext_state & ND_INTEL_SEC_ESTATE_ENABLED)) {
sec              1163 tools/testing/nvdimm/test/nfit.c 	} else if (sec->ext_state & ND_INTEL_SEC_ESTATE_PLIMIT) {
sec              1166 tools/testing/nvdimm/test/nfit.c 	} else if (memcmp(nd_cmd->passphrase, sec->master_passphrase,
sec              1172 tools/testing/nvdimm/test/nfit.c 		sec->ext_state = ND_INTEL_SEC_ESTATE_ENABLED;
sec              1173 tools/testing/nvdimm/test/nfit.c 		memset(sec->passphrase, 0, ND_INTEL_PASSPHRASE_SIZE);
sec              1174 tools/testing/nvdimm/test/nfit.c 		sec->state = 0;
sec              1618 tools/testing/nvdimm/test/nfit.c 	struct nfit_test_sec *sec = &dimm_sec_info[dimm];
sec              1620 tools/testing/nvdimm/test/nfit.c 	sec->state = ND_INTEL_SEC_STATE_ENABLED | ND_INTEL_SEC_STATE_LOCKED;
sec              1664 tools/testing/nvdimm/test/nfit.c 		struct nfit_test_sec *sec = &dimm_sec_info[i];
sec              1666 tools/testing/nvdimm/test/nfit.c 		sec->ext_state = ND_INTEL_SEC_ESTATE_ENABLED;
sec               111 tools/testing/selftests/ptp/testptp.c 	return t->sec * 1000000000LL + t->nsec;
sec               360 tools/testing/selftests/ptp/testptp.c 			       event.t.sec, event.t.nsec);
sec               399 tools/testing/selftests/ptp/testptp.c 		perout_request.start.sec = ts.tv_sec + 2;
sec               401 tools/testing/selftests/ptp/testptp.c 		perout_request.period.sec = 0;
sec               459 tools/testing/selftests/ptp/testptp.c 				(pct+2*i)->sec, (pct+2*i)->nsec);
sec               461 tools/testing/selftests/ptp/testptp.c 				(pct+2*i+1)->sec, (pct+2*i+1)->nsec);
sec               463 tools/testing/selftests/ptp/testptp.c 				(pct+2*i+2)->sec, (pct+2*i+2)->nsec);
sec               231 tools/testing/selftests/timers/valid-adjtimex.c int set_bad_offset(long sec, long usec, int use_nano)
sec               240 tools/testing/selftests/timers/valid-adjtimex.c 	tmx.time.tv_sec = sec;