Home
last modified time | relevance | path

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

12345678910>>...25

/linux/tools/objtool/
A Delf.c200 sec = sec->reloc; in find_reloc_by_dest_range()
205 if (reloc->sec != sec) in find_reloc_by_dest_range()
247 sec = malloc(sizeof(*sec)); in read_sections()
252 memset(sec, 0, sizeof(*sec)); in read_sections()
469 if (sym->sec == pfunc->sec && in read_symbols()
503 reloc->sec = sec->reloc; in elf_add_reloc()
603 sec->base->reloc = sec; in read_relocs()
625 reloc->sec = sec; in read_relocs()
752 sec = malloc(sizeof(*sec)); in elf_create_section()
757 memset(sec, 0, sizeof(*sec)); in elf_create_section()
[all …]
A Dcheck.c42 if (insn->sec == sec && insn->offset == offset) in find_insn()
99 insn->sec == sym->sec && \
382 insn->sec = sec; in decode_instructions()
533 if (!sec) in add_dead_ends()
568 if (!sec) in add_dead_ends()
623 if (!sec) in create_static_call_sections()
754 if (!sec) in create_mcount_loc_sections()
786 if (!sec) in add_ignores()
1621 if (reloc->sym->sec == pfunc->sec && in add_jump_table()
3013 sec = insn->sec; in validate_branch()
[all …]
A Dspecial.c21 const char *sec; member
31 .sec = ".altinstructions",
41 .sec = "__jump_table",
49 .sec = "__ex_table",
64 *sec = reloc->sym->sec; in reloc_to_sec_off()
69 struct section *sec, int idx, in get_alt_entry() argument
108 sec, offset + entry->new); in get_alt_entry()
125 sec, offset + entry->key); in get_alt_entry()
142 struct section *sec; in special_get_alts() local
150 sec = find_section_by_name(elf, entry->sec); in special_get_alts()
[all …]
A Dorc_gen.c63 insn->sec, insn->offset, cfi->cfa.base); in init_orc_entry()
79 insn->sec, insn->offset, bp->base); in init_orc_entry()
129 entry->insn_sec = sec; in orc_list_add()
145 struct section *sec, *orc_sec; in orc_create() local
158 for_each_sec(file, sec) { in orc_create()
163 if (!sec->text) in orc_create()
166 sec_for_each_insn(file, sec, insn) { in orc_create()
175 if (orc_list_add(&orc_list, &orc, sec, in orc_create()
214 orc_list_add(&orc_list, &null, sec, sec->sh.sh_size); in orc_create()
223 if (sec) { in orc_create()
[all …]
/linux/crypto/
A Dtcrypt.c59 static unsigned int sec; variable
2255 test_aead_speed("gcm(aes)", ENCRYPT, sec, in do_test()
2259 test_aead_speed("gcm(aes)", DECRYPT, sec, in do_test()
2341 ENCRYPT, sec, NULL, 0, in do_test()
2344 DECRYPT, sec, NULL, 0, in do_test()
2349 test_aead_speed("aegis128", ENCRYPT, sec, in do_test()
2483 test_hash_speed("streebog256", sec, in do_test()
2488 test_hash_speed("streebog512", sec, in do_test()
2594 test_mb_ahash_speed("streebog256", sec, in do_test()
2599 test_mb_ahash_speed("streebog512", sec, in do_test()
[all …]
/linux/net/mac802154/
A Dllsec.c29 memset(sec, 0, sizeof(*sec)); 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()
76 read_lock_bh(&sec->lock); in mac802154_llsec_get_params()
77 *params = sec->params; in mac802154_llsec_get_params()
78 read_unlock_bh(&sec->lock); in mac802154_llsec_get_params()
87 write_lock_bh(&sec->lock); in mac802154_llsec_set_params()
605 iv[13] = sec->level; in llsec_geniv()
621 llsec_geniv(iv, sec->params.hwaddr, &hdr->sec); in llsec_do_encrypt_unauth()
[all …]
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/include/linux/
A Dexport.h26 #define __CRC_SYMBOL(sym, sec) \ argument
32 #define __CRC_SYMBOL(sym, sec) \ argument
39 #define __CRC_SYMBOL(sym, sec) argument
50 #define __KSYMTAB_ENTRY(sym, sec) \ argument
101 __CRC_SYMBOL(sym, sec); \
108 __KSYMTAB_ENTRY(sym, sec)
119 #define __EXPORT_SYMBOL(sym, sec, ns) argument
142 #define __cond_export_sym_1(sym, sec, ns) ___EXPORT_SYMBOL(sym, sec, ns) argument
152 #define __EXPORT_SYMBOL(sym, sec, ns) ___EXPORT_SYMBOL(sym, sec, ns) argument
158 #define _EXPORT_SYMBOL(sym, sec) __EXPORT_SYMBOL(sym, sec, __stringify(DEFAULT_SYMBOL_NAMESPACE)) argument
[all …]
/linux/drivers/firmware/google/
A Dvpd.c175 ret = vpd_decode_string(sec->bin_attr.size, sec->baseaddr, in vpd_section_create_attribs()
188 if (!sec->baseaddr) in vpd_section_init()
191 sec->name = name; in vpd_section_init()
195 if (!sec->raw_name) { in vpd_section_init()
201 sec->bin_attr.attr.name = sec->raw_name; in vpd_section_init()
205 sec->bin_attr.private = sec; in vpd_section_init()
212 if (!sec->kobj) { in vpd_section_init()
220 sec->enabled = true; in vpd_section_init()
227 kfree(sec->raw_name); in vpd_section_init()
235 if (sec->enabled) { in vpd_section_destroy()
[all …]
/linux/arch/mips/boot/tools/
A Drelocs.c290 sec->link = &secs[sec->shdr.sh_link]; in read_shdrs()
304 sec->strtab = malloc(sec->shdr.sh_size); in read_strtabs()
305 if (!sec->strtab) in read_strtabs()
313 if (fread(sec->strtab, 1, sec->shdr.sh_size, fp) != in read_strtabs()
328 sec->symtab = malloc(sec->shdr.sh_size); in read_symtabs()
329 if (!sec->symtab) in read_symtabs()
337 if (fread(sec->symtab, 1, sec->shdr.sh_size, fp) != in read_symtabs()
360 if (!sec) in read_relocs()
372 sec->reltab = malloc(sec->shdr.sh_size); in read_relocs()
373 if (!sec->reltab) in read_relocs()
[all …]
/linux/drivers/infiniband/core/
A Dsecurity.c130 sec); in check_qp_port_pkey_settings()
144 sec); in check_qp_port_pkey_settings()
174 if (sec->qp->event_handler && sec->qp->qp_context) { in qp_to_error()
254 dev = pp->sec->dev; in port_pkey_list_insert()
325 kfree(sec); in destroy_qp_security()
454 if (!sec) in ib_destroy_qp_security_begin()
476 sec->error_comps_pending = atomic_read(&sec->error_list_count); in ib_destroy_qp_security_begin()
487 if (!sec) in ib_destroy_qp_security_abort()
514 ret = check_qp_port_pkey_settings(sec->ports_pkeys, sec); in ib_destroy_qp_security_abort()
526 if (!sec) in ib_destroy_qp_security_end()
[all …]
/linux/arch/x86/tools/
A Drelocs.c465 sec->link = &secs[sec->shdr.sh_link]; in read_shdrs()
478 sec->strtab = malloc(sec->shdr.sh_size); in read_strtabs()
479 if (!sec->strtab) { in read_strtabs()
487 if (fread(sec->strtab, 1, sec->shdr.sh_size, fp) in read_strtabs()
505 sec->xsymtab = malloc(sec->shdr.sh_size); in read_symtabs()
514 if (fread(sec->xsymtab, 1, sec->shdr.sh_size, fp) in read_symtabs()
525 sec->symtab = malloc(sec->shdr.sh_size); in read_symtabs()
534 if (fread(sec->symtab, 1, sec->shdr.sh_size, fp) in read_symtabs()
565 sec->reltab = malloc(sec->shdr.sh_size); in read_relocs()
566 if (!sec->reltab) { in read_relocs()
[all …]
/linux/fs/reiserfs/
A Dxattr_security.c52 sec->name = NULL; in reiserfs_security_init()
59 &sec->value, &sec->length); in reiserfs_security_init()
64 sec->name = NULL; in reiserfs_security_init()
65 sec->value = NULL; in reiserfs_security_init()
66 sec->length = 0; in reiserfs_security_init()
88 error = reiserfs_xattr_set_handle(th, inode, sec->name, sec->value, in reiserfs_security_write()
89 sec->length, XATTR_CREATE); in reiserfs_security_write()
98 kfree(sec->name); in reiserfs_security_free()
99 kfree(sec->value); in reiserfs_security_free()
100 sec->name = NULL; in reiserfs_security_free()
[all …]
/linux/tools/lib/bpf/
A Dlinker.c350 sec->shdr = elf64_getshdr(sec->scn); in init_output_elf()
354 sec->data = elf_newdata(sec->scn); in init_output_elf()
364 sec->sec_idx = elf_ndxscn(sec->scn); in init_output_elf()
375 sec->shdr->sh_size = sec->sec_sz = 0; in init_output_elf()
389 sec->shdr = elf64_getshdr(sec->scn); in init_output_elf()
393 sec->data = elf_newdata(sec->scn); in init_output_elf()
403 sec->sec_idx = elf_ndxscn(sec->scn); in init_output_elf()
759 sec->sec_idx, sec->sec_name, (size_t)sec->shdr->sh_type, obj->filename); in linker_sanity_check_elf()
1146 if (!sec || sec->skipped) in is_data_sec()
1156 if (!sec || sec->skipped || sec->ephemeral) in is_relo_sec()
[all …]
/linux/arch/powerpc/boot/dts/fsl/
A Dqoriq-sec5.2-0.dtsi36 compatible = "fsl,sec-v5.2", "fsl,sec-v5.0", "fsl,sec-v4.0";
37 fsl,sec-era = <5>;
46 "fsl,sec-v5.0-job-ring",
47 "fsl,sec-v4.0-job-ring";
54 "fsl,sec-v5.0-job-ring",
55 "fsl,sec-v4.0-job-ring";
62 "fsl,sec-v5.0-job-ring",
63 "fsl,sec-v4.0-job-ring";
78 "fsl,sec-v5.0-rtic",
79 "fsl,sec-v4.0-rtic";
[all …]
A Dqoriq-sec5.3-0.dtsi36 compatible = "fsl,sec-v5.3", "fsl,sec-v5.0", "fsl,sec-v4.0";
37 fsl,sec-era = <4>;
46 "fsl,sec-v5.0-job-ring",
47 "fsl,sec-v4.0-job-ring";
54 "fsl,sec-v5.0-job-ring",
55 "fsl,sec-v4.0-job-ring";
62 "fsl,sec-v5.0-job-ring",
63 "fsl,sec-v4.0-job-ring";
78 "fsl,sec-v5.0-rtic",
79 "fsl,sec-v4.0-rtic";
[all …]
A Dqoriq-sec4.2-0.dtsi36 compatible = "fsl,sec-v4.2", "fsl,sec-v4.0";
37 fsl,sec-era = <3>;
46 "fsl,sec-v4.0-job-ring";
53 "fsl,sec-v4.0-job-ring";
60 "fsl,sec-v4.0-job-ring";
67 "fsl,sec-v4.0-job-ring";
73 compatible = "fsl,sec-v4.2-rtic",
74 "fsl,sec-v4.0-rtic";
82 "fsl,sec-v4.0-rtic-memory";
88 "fsl,sec-v4.0-rtic-memory";
[all …]
A Dqoriq-sec5.0-0.dtsi36 compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
37 fsl,sec-era = <5>;
46 "fsl,sec-v4.0-job-ring";
53 "fsl,sec-v4.0-job-ring";
60 "fsl,sec-v4.0-job-ring";
67 "fsl,sec-v4.0-job-ring";
73 compatible = "fsl,sec-v5.0-rtic",
74 "fsl,sec-v4.0-rtic";
82 "fsl,sec-v4.0-rtic-memory";
88 "fsl,sec-v4.0-rtic-memory";
[all …]
/linux/fs/hpfs/
A Dalloc.c74 if ((le32_to_cpu(bmp[(sec & 0x3fff) >> 5]) >> (sec & 0x1f)) & 1) { in chk_if_allocated()
205 secno sec; in hpfs_alloc_sector() local
257 sec = 0; in hpfs_alloc_sector()
259 if (sec) { in hpfs_alloc_sector()
265 if (sec && f_p) { in hpfs_alloc_sector()
269 sec = 0; in hpfs_alloc_sector()
274 return sec; in hpfs_alloc_sector()
280 secno sec; in alloc_in_dirband() local
302 bmp[(sec & 0x3fff) >> 5] &= cpu_to_le32(~(1 << (sec & 0x1f))); in hpfs_alloc_if_possible()
322 if (sec < 0x12) { in hpfs_free_sectors()
[all …]
/linux/drivers/net/wireless/intel/ipw2x00/
A Dlibipw_wx.c347 sec.enabled = 0; in libipw_wx_set_encode()
348 sec.encrypt = 0; in libipw_wx_set_encode()
356 sec.enabled = 1; in libipw_wx_set_encode()
357 sec.encrypt = 1; in libipw_wx_set_encode()
468 struct libipw_security *sec = &ieee->sec; in libipw_wx_get_encode() local
482 if (!sec->enabled) { in libipw_wx_get_encode()
551 sec.enabled = 0; in libipw_wx_set_encodeext()
552 sec.encrypt = 0; in libipw_wx_set_encodeext()
559 sec.enabled = 1; in libipw_wx_set_encodeext()
560 sec.encrypt = 1; in libipw_wx_set_encodeext()
[all …]
/linux/drivers/nvdimm/
A Dsecurity.c176 if (!nvdimm->sec.ops || !nvdimm->sec.ops->unlock in __nvdimm_security_unlock()
177 || !nvdimm->sec.flags) in __nvdimm_security_unlock()
230 nvdimm->sec.flags); in check_security_state()
253 if (!nvdimm->sec.ops || !nvdimm->sec.ops->disable in security_disable()
254 || !nvdimm->sec.flags) in security_disable()
288 if (!nvdimm->sec.ops || !nvdimm->sec.ops->change_key in security_update()
289 || !nvdimm->sec.flags) in security_update()
337 if (!nvdimm->sec.ops || !nvdimm->sec.ops->erase in security_erase()
338 || !nvdimm->sec.flags) in security_erase()
378 if (!nvdimm->sec.ops || !nvdimm->sec.ops->overwrite in security_overwrite()
[all …]
/linux/net/rxrpc/
A Dserver_key.c69 const struct rxrpc_security *sec; in rxrpc_preparse_s() local
81 sec = rxrpc_security_lookup(sec_class); in rxrpc_preparse_s()
82 if (!sec) in rxrpc_preparse_s()
85 prep->payload.data[1] = (struct rxrpc_security *)sec; in rxrpc_preparse_s()
87 return sec->preparse_server_key(prep); in rxrpc_preparse_s()
94 if (sec) in rxrpc_free_preparse_s()
95 sec->free_preparse_server_key(prep); in rxrpc_free_preparse_s()
102 if (sec) in rxrpc_destroy_s()
103 sec->destroy_server_key(key); in rxrpc_destroy_s()
111 if (sec && sec->describe_server_key) in rxrpc_describe_s()
[all …]
/linux/include/asm-generic/
A Dexport.h35 .macro ___EXPORT_SYMBOL name,val,sec
37 .section ___ksymtab\sec+\name,"a"
47 .section ___kcrctab\sec+\name,"a"
71 #define __EXPORT_SYMBOL(sym, val, sec) \ argument
74 #define __cond_export_sym(sym, val, sec, conf) \ argument
75 ___cond_export_sym(sym, val, sec, conf)
76 #define ___cond_export_sym(sym, val, sec, enabled) \ argument
77 __cond_export_sym_##enabled(sym, val, sec)
78 #define __cond_export_sym_1(sym, val, sec) ___EXPORT_SYMBOL sym, val, sec argument
79 #define __cond_export_sym_0(sym, val, sec) /* nothing */ argument
[all …]
/linux/drivers/net/wireless/realtek/rtw88/
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()
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
91 clear_bit(hw_key_idx, sec->cam_map); in rtw_sec_clear_cam()
105 struct rtw_sec_desc *sec = &rtwdev->sec; in rtw_sec_cam_pg_backup() local
126 struct rtw_sec_desc *sec = &rtwdev->sec; in rtw_sec_enable_sec_engine() local
131 sec->default_key_search = true; in rtw_sec_enable_sec_engine()
[all …]
/linux/tools/objtool/include/objtool/
A Delf.h50 struct section *sec; member
72 struct section *sec; member
115 static inline u32 sec_offset_hash(struct section *sec, unsigned long offset) in sec_offset_hash() argument
117 u32 ol, oh, idx = sec->idx; in sec_offset_hash()
131 return sec_offset_hash(reloc->sec, reloc->offset); in reloc_hash()
137 int elf_add_reloc(struct elf *elf, struct section *sec, unsigned long offset,
139 int elf_add_reloc_to_insn(struct elf *elf, struct section *sec,
143 int elf_write_insn(struct elf *elf, struct section *sec,
151 struct symbol *find_func_by_offset(struct section *sec, unsigned long offset);
160 #define for_each_sec(file, sec) \ argument
[all …]

Completed in 62 milliseconds

12345678910>>...25