Home
last modified time | relevance | path

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

12345678910>>...18

/linux/drivers/fpga/
H A Dintel-m10-bmc-sec-update.c19 int (*rsu_status)(struct m10bmc_sec *sec);
40 static int m10bmc_sec_write(struct m10bmc_sec *sec, const u8 *buf, u32 offset, u32 size) in m10bmc_sec_write() argument
42 struct intel_m10bmc *m10bmc = sec->m10bmc; in m10bmc_sec_write()
50 if (sec->m10bmc->flash_bulk_ops) in m10bmc_sec_write()
51 return sec->m10bmc->flash_bulk_ops->write(m10bmc, buf, offset, size); in m10bmc_sec_write()
73 static int m10bmc_sec_read(struct m10bmc_sec *sec, u8 *buf, u32 addr, u32 size) in m10bmc_sec_read() argument
75 struct intel_m10bmc *m10bmc = sec->m10bmc; in m10bmc_sec_read()
83 if (sec->m10bmc->flash_bulk_ops) in m10bmc_sec_read()
84 return sec->m10bmc->flash_bulk_ops->read(m10bmc, buf, addr, size); in m10bmc_sec_read()
109 struct m10bmc_sec *sec = dev_get_drvdata(dev); in show_root_entry_hash() local
[all …]
/linux/drivers/firmware/google/
H A Dvpd.c101 struct vpd_section *sec = arg; in vpd_section_attrib_add() local
132 ret = sysfs_create_bin_file(sec->kobj, &info->bin_attr); in vpd_section_attrib_add()
136 list_add_tail(&info->list, &sec->attribs); in vpd_section_attrib_add()
147 static void vpd_section_attrib_destroy(struct vpd_section *sec) in vpd_section_attrib_destroy() argument
152 list_for_each_entry_safe(info, temp, &sec->attribs, list) { in vpd_section_attrib_destroy()
153 sysfs_remove_bin_file(sec->kobj, &info->bin_attr); in vpd_section_attrib_destroy()
163 struct vpd_section *sec = bin_attr->private; in vpd_section_read() local
165 return memory_read_from_buffer(buf, count, &pos, sec->baseaddr, in vpd_section_read()
166 sec->bin_attr.size); in vpd_section_read()
169 static int vpd_section_create_attribs(struct vpd_section *sec) in vpd_section_create_attribs() argument
[all …]
/linux/net/mac802154/
H A Dllsec.c27 void mac802154_llsec_init(struct mac802154_llsec *sec) in mac802154_llsec_init() argument
29 memset(sec, 0, sizeof(*sec)); in mac802154_llsec_init()
31 memset(&sec->params.default_key_source, 0xFF, IEEE802154_ADDR_LEN); in mac802154_llsec_init()
33 INIT_LIST_HEAD(&sec->table.security_levels); in mac802154_llsec_init()
34 INIT_LIST_HEAD(&sec->table.devices); in mac802154_llsec_init()
35 INIT_LIST_HEAD(&sec->table.keys); in mac802154_llsec_init()
36 hash_init(sec->devices_short); in mac802154_llsec_init()
37 hash_init(sec->devices_hw); in mac802154_llsec_init()
38 rwlock_init(&sec->lock); in mac802154_llsec_init()
41 void mac802154_llsec_destroy(struct mac802154_llsec *sec) in mac802154_llsec_destroy() argument
[all …]
H A Dllsec.h64 void mac802154_llsec_init(struct mac802154_llsec *sec);
65 void mac802154_llsec_destroy(struct mac802154_llsec *sec);
67 int mac802154_llsec_get_params(struct mac802154_llsec *sec,
69 int mac802154_llsec_set_params(struct mac802154_llsec *sec,
73 int mac802154_llsec_key_add(struct mac802154_llsec *sec,
76 int mac802154_llsec_key_del(struct mac802154_llsec *sec,
79 int mac802154_llsec_dev_add(struct mac802154_llsec *sec,
81 int mac802154_llsec_dev_del(struct mac802154_llsec *sec,
84 int mac802154_llsec_devkey_add(struct mac802154_llsec *sec,
87 int mac802154_llsec_devkey_del(struct mac802154_llsec *sec,
[all …]
/linux/tools/objtool/
H A Delf.c122 struct section *sec;
124 elf_hash_for_each_possible(elf, section_name, sec, name_hash, str_hash(name)) { in symbol_hole_by_offset()
125 if (!strcmp(sec->name, name)) in symbol_hole_by_offset()
126 return sec; in symbol_hole_by_offset()
135 struct section *sec; in symbol_hole_by_offset()
137 elf_hash_for_each_possible(elf, section, sec, hash, idx) { in symbol_hole_by_offset()
138 if (sec->idx == idx) in symbol_hole_by_offset()
139 return sec;
157 struct symbol *find_symbol_by_offset(struct section *sec, unsigned long offset) in find_section_by_index()
159 struct rb_root_cached *tree = (struct rb_root_cached *)&sec in find_section_by_index()
142 struct section *sec; find_section_by_name() local
155 struct section *sec; find_section_by_index() local
177 find_symbol_by_offset(struct section * sec,unsigned long offset) find_symbol_by_offset() argument
190 find_func_by_offset(struct section * sec,unsigned long offset) find_func_by_offset() argument
203 find_symbol_containing(const struct section * sec,unsigned long offset) find_symbol_containing() argument
234 find_symbol_hole_containing(const struct section * sec,unsigned long offset) find_symbol_hole_containing() argument
271 find_func_containing(struct section * sec,unsigned long offset) find_func_containing() argument
338 find_reloc_by_dest_range(const struct elf * elf,struct section * sec,unsigned long offset,unsigned int len) find_reloc_by_dest_range() argument
368 find_reloc_by_dest(const struct elf * elf,struct section * sec,unsigned long offset) find_reloc_by_dest() argument
373 is_dwarf_section(struct section * sec) is_dwarf_section() argument
381 struct section *sec; read_sections() local
594 struct section *symtab, *symtab_shndx, *sec; read_symbols() local
737 struct section *symtab, *sec; mark_group_syms() local
914 elf_create_symbol(struct elf * elf,const char * name,struct section * sec,unsigned int bind,unsigned int type,unsigned long offset,size_t size) elf_create_symbol() argument
1019 elf_create_section_symbol(struct elf * elf,struct section * sec) elf_create_section_symbol() argument
1067 elf_init_reloc_text_sym(struct elf * elf,struct section * sec,unsigned long offset,unsigned int reloc_idx,struct section * insn_sec,unsigned long insn_off) elf_init_reloc_text_sym() argument
1097 elf_init_reloc_data_sym(struct elf * elf,struct section * sec,unsigned long offset,unsigned int reloc_idx,struct symbol * sym,s64 addend) elf_init_reloc_data_sym() argument
1382 elf_add_data(struct elf * elf,struct section * sec,const void * data,size_t size) elf_add_data() argument
1429 struct section *sec, *shstrtab; elf_create_section() local
1625 elf_create_rela_section(struct elf * elf,struct section * sec,unsigned int nr_relocs) elf_create_rela_section() argument
1666 elf_create_reloc(struct elf * elf,struct section * sec,unsigned long offset,struct symbol * sym,s64 addend,unsigned int type) elf_create_reloc() argument
1697 struct section *sec; elf_create_section_pair() local
1710 elf_write_insn(struct elf * elf,struct section * sec,unsigned long offset,unsigned int len,const char * insn) elf_write_insn() argument
1737 elf_truncate_section(struct elf * elf,struct section * sec) elf_truncate_section() argument
1783 struct section *sec; elf_write() local
[all...]
H A Dklp-diff.c217 struct section *sec; in first_file_symbol()
219 sec = find_section_by_name(elf, ".discard.sym_checksum"); in first_file_symbol()
220 if (!sec) { in first_file_symbol()
226 if (!sec->rsec) { in first_file_symbol()
231 if (sec_size(sec) % sizeof(struct sym_checksum)) { in next_file_symbol()
236 for (int i = 0; i < sec_size(sec) / sizeof(struct sym_checksum); i++) { in next_file_symbol()
241 sym_checksum = (struct sym_checksum *)sec->data->d_buf + i;
243 reloc = find_reloc_by_dest(elf, sec, i * sizeof(*sym_checksum)); in is_uncorrelated_static_local()
308 if (!strcmp(sym->sec->name, ".data..once")) in is_special_section()
342 static bool is_special_section(struct section *sec)
170 struct section *sec; read_sym_checksums() local
281 is_special_section(struct section * sec) is_special_section() argument
326 is_special_section_aux(struct section * sec) is_special_section_aux() argument
818 section_reference_needed(struct section * sec) section_reference_needed() argument
861 struct section *sec; __find_modname() local
958 struct section *sec = sym->sec; convert_reloc_sym_to_secsym() local
972 struct section *sec = sym->sec; convert_reloc_secsym_to_sym() local
1015 clone_reloc_klp(struct elfs * e,struct reloc * patched_reloc,struct section * sec,unsigned long offset,struct export * export) clone_reloc_klp() argument
1132 dbg_clone_reloc(sec,offset,patched_sym,addend,export,klp) global() argument
1145 clone_reloc(struct elfs * e,struct reloc * patched_reloc,struct section * sec,unsigned long offset) clone_reloc() argument
1271 create_fake_symbol(struct elf * elf,struct section * sec,unsigned long offset,size_t size) create_fake_symbol() argument
1328 struct section *sec; create_fake_symbols() local
[all...]
H A Dcheck.c42 struct section *sec, unsigned long offset) in find_insn() argument
46 hash_for_each_possible(file->insn_hash, insn, hash, sec_offset_hash(sec, offset)) { in find_insn()
47 if (insn->sec == sec && insn->offset == offset) in find_insn()
58 return find_insn(file, insn->sec, insn->offset + insn->len); in next_insn_same_sec()
84 return find_insn(file, func->cfunc->sec, func->cfunc->offset); in next_insn_same_func()
92 return find_insn(file, insn->sec, insn->offset - insn->prev_len); in prev_insn_same_sec()
118 for (insn = find_insn(file, sym->sec, sym->offset); \
262 insn = find_insn(file, func->sec, func->offset); in __dead_end_function()
325 struct section *sec) in init_insn_state() argument
330 if (opts.noinstr && sec) in init_insn_state()
[all …]
H A Dorc_gen.c24 struct section *sec, unsigned long offset) in orc_list_add()
34 entry->insn_sec = sec; in orc_list_add()
50 struct section *sec, *orc_sec; in orc_create()
59 for_each_sec(file->elf, sec) { in orc_create()
64 if (!sec->text) in orc_create()
67 sec_for_each_insn(file, sec, insn) { in orc_create()
76 if (orc_list_add(&orc_list, &orc, sec, in orc_create()
101 if (orc_list_add(&orc_list, &orc, insn->sec, in orc_create()
115 orc_list_add(&orc_list, &null, sec, sec in orc_create()
25 orc_list_add(struct list_head * orc_list,struct orc_entry * orc,struct section * sec,unsigned long offset) orc_list_add() argument
51 struct section *sec, *orc_sec; orc_create() local
[all...]
H A Dklp-checksum.c66 return strstarts(sym->sec->name, ".rodata.cst") && in is_anonymous_const_data()
129 __checksum_update_insn(func, insn, insn->sec->data->d_buf + insn->offset, insn->len); in checksum_update_insn()
137 if (is_string_sec(sym->sec)) { in checksum_update_insn()
140 str = sym->sec->data->d_buf + sym->offset + offset; in checksum_update_insn()
148 cst = sym->sec->data->d_buf + sym->offset + offset; in checksum_update_insn()
149 __checksum_update_insn(func, insn, cst, sym->sec->sh.sh_entsize); in checksum_update_insn()
154 sym = find_symbol_containing(reloc->sym->sec, offset); in checksum_update_insn()
201 if (sym->sec->data->d_buf) in checksum_update_object()
203 sym->sec->data->d_buf + sym->offset, in checksum_update_object()
213 if (is_string_sec(target->sec)) { in checksum_update_object()
[all …]
/linux/arch/mips/boot/tools/
H A Drelocs.c274 struct section *sec = &secs[i]; in read_shdrs() local
276 sec->shdr_offset = ftell(fp); in read_shdrs()
280 sec->shdr.sh_name = elf_word_to_cpu(shdr.sh_name); in read_shdrs()
281 sec->shdr.sh_type = elf_word_to_cpu(shdr.sh_type); in read_shdrs()
282 sec->shdr.sh_flags = elf_xword_to_cpu(shdr.sh_flags); in read_shdrs()
283 sec->shdr.sh_addr = elf_addr_to_cpu(shdr.sh_addr); in read_shdrs()
284 sec->shdr.sh_offset = elf_off_to_cpu(shdr.sh_offset); in read_shdrs()
285 sec->shdr.sh_size = elf_xword_to_cpu(shdr.sh_size); in read_shdrs()
286 sec->shdr.sh_link = elf_word_to_cpu(shdr.sh_link); in read_shdrs()
287 sec->shdr.sh_info = elf_word_to_cpu(shdr.sh_info); in read_shdrs()
[all …]
/linux/arch/powerpc/boot/dts/fsl/
H A Dqoriq-sec5.3-0.dtsi36 compatible = "fsl,sec-v5.3", "fsl,sec-v5.0", "fsl,sec-v4.0";
37 fsl,sec-era = <4>;
45 compatible = "fsl,sec-v5.3-job-ring",
46 "fsl,sec-v5.0-job-ring",
47 "fsl,sec-v4.0-job-ring";
53 compatible = "fsl,sec-v5.3-job-ring",
54 "fsl,sec-v5.0-job-ring",
55 "fsl,sec-v4.0-job-ring";
61 compatible = "fsl,sec-v5.3-job-ring",
62 "fsl,sec-v5.0-job-ring",
[all …]
H A Dqoriq-sec5.2-0.dtsi36 compatible = "fsl,sec-v5.2", "fsl,sec-v5.0", "fsl,sec-v4.0";
37 fsl,sec-era = <5>;
45 compatible = "fsl,sec-v5.2-job-ring",
46 "fsl,sec-v5.0-job-ring",
47 "fsl,sec-v4.0-job-ring";
53 compatible = "fsl,sec-v5.2-job-ring",
54 "fsl,sec-v5.0-job-ring",
55 "fsl,sec-v4.0-job-ring";
61 compatible = "fsl,sec-v5.2-job-ring",
62 "fsl,sec-v5.0-job-ring",
[all …]
H A Dqoriq-sec5.0-0.dtsi36 compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
37 fsl,sec-era = <5>;
45 compatible = "fsl,sec-v5.0-job-ring",
46 "fsl,sec-v4.0-job-ring";
52 compatible = "fsl,sec-v5.0-job-ring",
53 "fsl,sec-v4.0-job-ring";
59 compatible = "fsl,sec-v5.0-job-ring",
60 "fsl,sec-v4.0-job-ring";
66 compatible = "fsl,sec-v5.0-job-ring",
67 "fsl,sec-v4.0-job-ring";
[all …]
H A Dqoriq-sec4.2-0.dtsi36 compatible = "fsl,sec-v4.2", "fsl,sec-v4.0";
37 fsl,sec-era = <3>;
45 compatible = "fsl,sec-v4.2-job-ring",
46 "fsl,sec-v4.0-job-ring";
52 compatible = "fsl,sec-v4.2-job-ring",
53 "fsl,sec-v4.0-job-ring";
59 compatible = "fsl,sec-v4.2-job-ring",
60 "fsl,sec-v4.0-job-ring";
66 compatible = "fsl,sec-v4.2-job-ring",
67 "fsl,sec-v4.0-job-ring";
[all …]
H A Dqoriq-sec6.0-0.dtsi35 compatible = "fsl,sec-v6.0", "fsl,sec-v5.0",
36 "fsl,sec-v4.0";
37 fsl,sec-era = <6>;
42 compatible = "fsl,sec-v6.0-job-ring",
43 "fsl,sec-v5.2-job-ring",
44 "fsl,sec-v5.0-job-ring",
45 "fsl,sec-v4.4-job-ring",
46 "fsl,sec-v4.0-job-ring";
51 compatible = "fsl,sec-v6.0-job-ring",
52 "fsl,sec-v5.2-job-ring",
[all …]
/linux/tools/lib/bpf/
H A Dlinker.c174 static int linker_sanity_check_elf_symtab(struct src_obj *obj, struct src_sec *sec);
175 static int linker_sanity_check_elf_relos(struct src_obj *obj, struct src_sec *sec);
211 struct dst_sec *sec = &linker->secs[i]; in bpf_linker__free() local
213 free(sec->sec_name); in bpf_linker__free()
214 free(sec->raw_data); in bpf_linker__free()
215 free(sec->sec_vars); in bpf_linker__free()
217 free(sec->func_info.recs); in bpf_linker__free()
218 free(sec->line_info.recs); in bpf_linker__free()
219 free(sec->core_relo_info.recs); in bpf_linker__free()
313 struct dst_sec *secs = linker->secs, *sec; in add_dst_sec() local
[all …]
/linux/tools/objtool/include/objtool/
H A Delf.h74 struct section *sec;
110 struct section *sec;
170 struct section *elf_create_rela_section(struct elf *elf, struct section *sec,
174 struct section *sec, unsigned int bind, in elf_data_rela_type()
177 struct symbol *elf_create_section_symbol(struct elf *elf, struct section *sec); in elf_text_rela_type()
179 void *elf_add_data(struct elf *elf, struct section *sec, const void *data, in elf_text_rela_type()
184 struct reloc *elf_create_reloc(struct elf *elf, struct section *sec, in is_reloc_sec()
192 struct reloc *elf_init_reloc_text_sym(struct elf *elf, struct section *sec, in mark_sec_changed()
198 struct reloc *elf_init_reloc_data_sym(struct elf *elf, struct section *sec, in sec_num_entries() argument
205 int elf_write_insn(struct elf *elf, struct section *sec, unsigne in reloc_idx()
55 struct section *sec; global() member
81 struct section *sec; global() member
181 is_reloc_sec(struct section * sec) is_reloc_sec() argument
186 sec_changed(struct section * sec) sec_changed() argument
191 mark_sec_changed(struct elf * elf,struct section * sec,bool changed) mark_sec_changed() argument
328 for_each_sec(file,sec) global() argument
331 sec_for_each_sym(sec,sym) global() argument
361 sec_offset_hash(struct section * sec,unsigned long offset) sec_offset_hash() argument
[all...]
H A Dwarn.h20 static inline char *offstr(struct section *sec, unsigned long offset) in offstr() argument
22 bool is_text = (sec->sh.sh_flags & SHF_EXECINSTR); in offstr()
28 sym = find_func_containing(sec, offset); in offstr()
30 sym = find_symbol_containing(sec, offset); in offstr()
33 str = malloc(strlen(sym->name) + strlen(sec->name) + 40); in offstr()
36 sprintf(str+len, " (%s+0x%lx)", sec->name, offset); in offstr()
38 str = malloc(strlen(sec->name) + 20); in offstr()
39 sprintf(str, "%s+0x%lx", sec->name, offset); in offstr()
65 #define __WARN_FUNC(severity, sec, offset, format, ...) \ argument
67 char *_str = offstr(sec, offse
75 WARN_FUNC(sec,offset,format,...) global() argument
109 ERROR_FUNC(sec,offset,format,...) global() argument
[all...]
/linux/fs/hpfs/
H A Dalloc.c12 static void hpfs_claim_alloc(struct super_block *s, secno sec) in hpfs_claim_alloc() argument
17 hpfs_error(s, "free count underflow, allocating sector %08x", sec); in hpfs_claim_alloc()
25 static void hpfs_claim_free(struct super_block *s, secno sec) in hpfs_claim_free() argument
30 hpfs_error(s, "free count overflow, freeing sector %08x", sec); in hpfs_claim_free()
38 static void hpfs_claim_dirband_alloc(struct super_block *s, secno sec) in hpfs_claim_dirband_alloc() argument
43 hpfs_error(s, "dirband free count underflow, allocating sector %08x", sec); in hpfs_claim_dirband_alloc()
51 static void hpfs_claim_dirband_free(struct super_block *s, secno sec) in hpfs_claim_dirband_free() argument
56 hpfs_error(s, "dirband free count overflow, freeing sector %08x", sec); in hpfs_claim_dirband_free()
69 static int chk_if_allocated(struct super_block *s, secno sec, char *msg) in chk_if_allocated() argument
73 if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "chk"))) goto fail; in chk_if_allocated()
[all …]
/linux/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_wx.c299 struct libipw_security sec = { in libipw_wx_set_encode() local
344 sec.enabled = 0; in libipw_wx_set_encode()
345 sec.encrypt = 0; in libipw_wx_set_encode()
346 sec.level = SEC_LEVEL_0; in libipw_wx_set_encode()
347 sec.flags |= SEC_ENABLED | SEC_LEVEL | SEC_ENCRYPT; in libipw_wx_set_encode()
353 sec.enabled = 1; in libipw_wx_set_encode()
354 sec.encrypt = 1; in libipw_wx_set_encode()
355 sec.flags |= SEC_ENABLED | SEC_ENCRYPT; in libipw_wx_set_encode()
394 memcpy(sec.keys[key], keybuf, erq->length); in libipw_wx_set_encode()
396 memset(sec.keys[key] + erq->length, 0, in libipw_wx_set_encode()
[all …]
/linux/drivers/nvdimm/
H A Dsecurity.c145 if (!nvdimm->sec.ops->change_key) in nvdimm_key_revalidate()
154 rc = nvdimm->sec.ops->change_key(nvdimm, data, data, NVDIMM_USER); in nvdimm_key_revalidate()
161 nvdimm->sec.flags = nvdimm_security_flags(nvdimm, NVDIMM_USER); in nvdimm_key_revalidate()
176 if (!nvdimm->sec.ops || !nvdimm->sec.ops->unlock in __nvdimm_security_unlock()
177 || !nvdimm->sec.flags) in __nvdimm_security_unlock()
182 nvdimm->sec.flags = nvdimm_security_flags(nvdimm, NVDIMM_USER); in __nvdimm_security_unlock()
185 if (test_bit(NVDIMM_SECURITY_DISABLED, &nvdimm->sec.flags)) in __nvdimm_security_unlock()
200 if (test_bit(NVDIMM_SECURITY_UNLOCKED, &nvdimm->sec.flags)) { in __nvdimm_security_unlock()
208 rc = nvdimm->sec.ops->unlock(nvdimm, data); in __nvdimm_security_unlock()
215 nvdimm->sec.flags = nvdimm_security_flags(nvdimm, NVDIMM_USER); in __nvdimm_security_unlock()
[all …]
/linux/net/rxrpc/
H A Dserver_key.c32 * rxrpc server keys take "<serviceId>:<securityIndex>[:<sec-specific>]" as the
68 const struct rxrpc_security *sec; in rxrpc_preparse_s()
80 sec = rxrpc_security_lookup(sec_class); in rxrpc_preparse_s()
81 if (!sec) in rxrpc_preparse_s()
84 prep->payload.data[1] = (struct rxrpc_security *)sec; in rxrpc_preparse_s()
86 if (!sec->preparse_server_key) in rxrpc_preparse_s()
89 return sec->preparse_server_key(prep); in rxrpc_preparse_s()
94 const struct rxrpc_security *sec = prep->payload.data[1]; in rxrpc_free_preparse_s()
96 if (sec && sec in rxrpc_free_preparse_s()
69 const struct rxrpc_security *sec; rxrpc_preparse_s() local
95 const struct rxrpc_security *sec = prep->payload.data[1]; rxrpc_free_preparse_s() local
103 const struct rxrpc_security *sec = key->payload.data[1]; rxrpc_destroy_s() local
111 const struct rxrpc_security *sec = key->payload.data[1]; rxrpc_describe_s() local
[all...]
/linux/drivers/net/wireless/realtek/rtw88/
H A Dsec.c9 int rtw_sec_get_free_cam(struct rtw_sec_desc *sec) in rtw_sec_get_free_cam() argument
15 if (sec->default_key_search) in rtw_sec_get_free_cam()
16 return find_next_zero_bit(sec->cam_map, RTW_MAX_SEC_CAM_NUM, in rtw_sec_get_free_cam()
19 return find_first_zero_bit(sec->cam_map, RTW_MAX_SEC_CAM_NUM); in rtw_sec_get_free_cam()
23 struct rtw_sec_desc *sec, in rtw_sec_write_cam() argument
28 struct rtw_cam_entry *cam = &sec->cam_table[hw_key_idx]; in rtw_sec_write_cam()
35 set_bit(hw_key_idx, sec->cam_map); in rtw_sec_write_cam()
83 struct rtw_sec_desc *sec, in rtw_sec_clear_cam() argument
86 struct rtw_cam_entry *cam = &sec->cam_table[hw_key_idx]; in rtw_sec_clear_cam()
91 clear_bit(hw_key_idx, sec->cam_map); in rtw_sec_clear_cam()
[all …]
/linux/kernel/time/
H A Dvsyscall.c33 u64 nsec, sec; in update_vdso_time_data() local
40 vdso_ts->sec = tk->xtime_sec + tk->wall_to_monotonic.tv_sec; in update_vdso_time_data()
46 vdso_ts->sec++; in update_vdso_time_data()
51 sec = vdso_ts->sec; in update_vdso_time_data()
53 sec += tk->monotonic_to_boot.tv_sec; in update_vdso_time_data()
58 vdso_ts->sec = sec; in update_vdso_time_data()
62 vdso_ts->sec++; in update_vdso_time_data()
68 vdso_ts->sec = tk->raw_sec; in update_vdso_time_data()
73 vdso_ts->sec = tk->xtime_sec + (s64)tk->tai_offset; in update_vdso_time_data()
94 vdso_ts->sec = tk->xtime_sec; in update_vsyscall()
[all …]
/linux/tools/objtool/arch/loongarch/
H A Dspecial.c39 if (reloc->sym->sec->rodata) in get_rodata_table_size_by_table_annotate()
42 if (strcmp(insn->sec->name, reloc->sym->sec->name)) in get_rodata_table_size_by_table_annotate()
60 if (strcmp(insn->sec->name, (reloc + 1)->sym->sec->name)) { in get_rodata_table_size_by_table_annotate()
125 if (reloc->sym->sec->rodata) in find_reloc_by_table_annotate()
128 if (strcmp(insn->sec->name, reloc->sym->sec->name)) in find_reloc_by_table_annotate()
142 static struct reloc *find_reloc_of_rodata_c_jump_table(struct section *sec, in find_reloc_of_rodata_c_jump_table() argument
149 rsec = sec in find_reloc_of_rodata_c_jump_table()
[all...]

12345678910>>...18