/linux-6.3-rc2/tools/objtool/ |
A D | elf.c | 241 sec = sec->reloc; in find_reloc_by_dest_range() 246 if (reloc->sec != sec) in find_reloc_by_dest_range() 521 if (sym->sec == pfunc->sec && in read_symbols() 555 reloc->sec = sec->reloc; in elf_add_reloc() 798 sym->sec = sec; in elf_create_section_symbol() 830 sym->sec = orig->sec; in elf_create_prefix_symbol() 918 sec->base->reloc = sec; in read_relocs() 940 reloc->sec = sec; in read_relocs() 1068 sec = malloc(sizeof(*sec)); in elf_create_section() 1073 memset(sec, 0, sizeof(*sec)); in elf_create_section() [all …]
|
A D | special.c | 21 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 109 sec, offset + entry->new); in get_alt_entry() 126 sec, offset + entry->key); in get_alt_entry() 143 struct section *sec; in special_get_alts() local 151 sec = find_section_by_name(elf, entry->sec); in special_get_alts() [all …]
|
A D | check.c | 43 if (insn->sec == sec && insn->offset == offset) in find_insn() 446 insn->sec = sec; in decode_instructions() 618 if (!sec) in add_dead_ends() 653 if (!sec) in add_dead_ends() 708 if (!sec) in create_static_call_sections() 955 if (!sec) in create_cfi_sections() 1008 if (!sec) in create_mcount_loc_sections() 1053 if (!sec) in create_direct_call_sections() 1085 if (!sec) in add_ignores() 2077 if (reloc->sym->sec == pfunc->sec && in add_jump_table() [all …]
|
/linux-6.3-rc2/drivers/fpga/ |
A D | intel-m10-bmc-sec-update.c | 331 ret = sec->ops->rsu_status(sec); in m10bmc_sec_progress_status() 475 ret = sec->ops->rsu_status(sec); in rsu_send_data() 543 if (sec->m10bmc->flash_bulk_ops->lock_write(sec->m10bmc)) in m10bmc_sec_prepare() 567 sec->m10bmc->flash_bulk_ops->unlock_write(sec->m10bmc); in m10bmc_sec_prepare() 657 sec->m10bmc->flash_bulk_ops->unlock_write(sec->m10bmc); in m10bmc_sec_cleanup() 685 sec = devm_kzalloc(&pdev->dev, sizeof(*sec), GFP_KERNEL); in m10bmc_sec_probe() 686 if (!sec) in m10bmc_sec_probe() 694 ret = xa_alloc(&fw_upload_xa, &sec->fw_name_id, sec, in m10bmc_sec_probe() 700 sec->fw_name_id); in m10bmc_sec_probe() 707 fwl = firmware_upload_register(THIS_MODULE, sec->dev, sec->fw_name, in m10bmc_sec_probe() [all …]
|
/linux-6.3-rc2/crypto/ |
A D | tcrypt.c | 59 static unsigned int sec; variable 2048 test_aead_speed("gcm(aes)", ENCRYPT, sec, in do_test() 2052 test_aead_speed("gcm(aes)", DECRYPT, sec, in do_test() 2142 ENCRYPT, sec, NULL, 0, in do_test() 2145 DECRYPT, sec, NULL, 0, in do_test() 2150 test_aead_speed("aegis128", ENCRYPT, sec, in do_test() 2152 test_aead_speed("aegis128", DECRYPT, sec, in do_test() 2157 test_aead_speed("gcm(sm4)", ENCRYPT, sec, in do_test() 2318 test_hash_speed("streebog256", sec, in do_test() 2323 test_hash_speed("streebog512", sec, in do_test() [all …]
|
/linux-6.3-rc2/drivers/firmware/google/ |
A D | vpd.c | 175 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-6.3-rc2/net/mac802154/ |
A D | llsec.c | 29 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 D | llsec.h | 64 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-6.3-rc2/include/linux/ |
A D | export.h | 40 #define __KSYMTAB_ENTRY(sym, sec) \ argument 56 #define __KSYMTAB_ENTRY(sym, sec) \ argument 96 __KSYMTAB_ENTRY(sym, sec) 107 #define __EXPORT_SYMBOL(sym, sec, ns) argument 123 #define __EXPORT_SYMBOL(sym, sec, ns) \ argument 127 ___cond_export_sym(sym, sec, ns, conf) 129 __cond_export_sym_##enabled(sym, sec, ns) 130 #define __cond_export_sym_1(sym, sec, ns) ___EXPORT_SYMBOL(sym, sec, ns) argument 140 #define __EXPORT_SYMBOL(sym, sec, ns) ___EXPORT_SYMBOL(sym, sec, ns) argument 145 #define _EXPORT_SYMBOL(sym, sec) __EXPORT_SYMBOL(sym, sec, __stringify(DEFAULT_SYMBOL_NAMESPACE)) argument [all …]
|
/linux-6.3-rc2/fs/reiserfs/ |
A D | xattr_security.c | 52 sec->name = NULL; in reiserfs_security_init() 53 sec->value = NULL; in reiserfs_security_init() 60 &sec->value, &sec->length); in reiserfs_security_init() 65 sec->name = NULL; in reiserfs_security_init() 66 sec->value = NULL; in reiserfs_security_init() 67 sec->length = 0; in reiserfs_security_init() 89 error = reiserfs_xattr_set_handle(th, inode, sec->name, sec->value, in reiserfs_security_write() 90 sec->length, XATTR_CREATE); in reiserfs_security_write() 99 kfree(sec->value); in reiserfs_security_free() 100 sec->name = NULL; in reiserfs_security_free() [all …]
|
/linux-6.3-rc2/arch/mips/boot/tools/ |
A D | relocs.c | 290 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-6.3-rc2/drivers/infiniband/core/ |
A D | security.c | 130 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-6.3-rc2/arch/x86/tools/ |
A D | relocs.c | 466 sec->link = &secs[sec->shdr.sh_link]; in read_shdrs() 479 sec->strtab = malloc(sec->shdr.sh_size); in read_strtabs() 480 if (!sec->strtab) { in read_strtabs() 488 if (fread(sec->strtab, 1, sec->shdr.sh_size, fp) in read_strtabs() 506 sec->xsymtab = malloc(sec->shdr.sh_size); in read_symtabs() 515 if (fread(sec->xsymtab, 1, sec->shdr.sh_size, fp) in read_symtabs() 526 sec->symtab = malloc(sec->shdr.sh_size); in read_symtabs() 535 if (fread(sec->symtab, 1, sec->shdr.sh_size, fp) in read_symtabs() 566 sec->reltab = malloc(sec->shdr.sh_size); in read_relocs() 567 if (!sec->reltab) { in read_relocs() [all …]
|
/linux-6.3-rc2/arch/powerpc/boot/dts/fsl/ |
A D | qoriq-sec5.2-0.dtsi | 36 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 D | qoriq-sec5.3-0.dtsi | 36 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 D | qoriq-sec4.2-0.dtsi | 36 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 D | qoriq-sec5.0-0.dtsi | 36 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-6.3-rc2/tools/lib/bpf/ |
A D | linker.c | 351 sec->shdr = elf64_getshdr(sec->scn); in init_output_elf() 355 sec->data = elf_newdata(sec->scn); in init_output_elf() 365 sec->sec_idx = elf_ndxscn(sec->scn); in init_output_elf() 376 sec->shdr->sh_size = sec->sec_sz = 0; in init_output_elf() 390 sec->shdr = elf64_getshdr(sec->scn); in init_output_elf() 394 sec->data = elf_newdata(sec->scn); in init_output_elf() 404 sec->sec_idx = elf_ndxscn(sec->scn); in init_output_elf() 755 sec->sec_idx, sec->sec_name, (size_t)sec->shdr->sh_type, obj->filename); in linker_sanity_check_elf() 1142 if (!sec || sec->skipped) in is_data_sec() 1152 if (!sec || sec->skipped || sec->ephemeral) in is_relo_sec() [all …]
|
/linux-6.3-rc2/fs/hpfs/ |
A D | alloc.c | 74 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-6.3-rc2/net/rxrpc/ |
A D | server_key.c | 69 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() 87 if (!sec->preparse_server_key) in rxrpc_preparse_s() 90 return sec->preparse_server_key(prep); in rxrpc_preparse_s() 97 if (sec && sec->free_preparse_server_key) in rxrpc_free_preparse_s() 98 sec->free_preparse_server_key(prep); in rxrpc_free_preparse_s() 105 if (sec && sec->destroy_server_key) in rxrpc_destroy_s() 106 sec->destroy_server_key(key); in rxrpc_destroy_s() 114 if (sec && sec->describe_server_key) in rxrpc_describe_s() [all …]
|
/linux-6.3-rc2/drivers/nvdimm/ |
A D | security.c | 176 if (!nvdimm->sec.ops || !nvdimm->sec.ops->unlock in __nvdimm_security_unlock() 177 || !nvdimm->sec.flags) in __nvdimm_security_unlock() 236 nvdimm->sec.flags); in check_security_state() 260 if (!nvdimm->sec.ops || !nvdimm->sec.flags) in security_disable() 309 if (!nvdimm->sec.ops || !nvdimm->sec.ops->change_key in security_update() 310 || !nvdimm->sec.flags) in security_update() 358 if (!nvdimm->sec.ops || !nvdimm->sec.ops->erase in security_erase() 359 || !nvdimm->sec.flags) in security_erase() 401 if (!nvdimm->sec.ops || !nvdimm->sec.ops->overwrite in security_overwrite() 402 || !nvdimm->sec.flags) in security_overwrite() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/intel/ipw2x00/ |
A D | libipw_wx.c | 347 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-6.3-rc2/include/asm-generic/ |
A D | export.h | 40 .macro ___EXPORT_SYMBOL name,val,sec 42 .section ___ksymtab\sec+\name,"a" 65 #define __EXPORT_SYMBOL(sym, val, sec) \ argument 67 __cond_export_sym(sym, val, sec, __is_defined(__KSYM_##sym)) 68 #define __cond_export_sym(sym, val, sec, conf) \ argument 69 ___cond_export_sym(sym, val, sec, conf) 70 #define ___cond_export_sym(sym, val, sec, enabled) \ argument 71 __cond_export_sym_##enabled(sym, val, sec) 72 #define __cond_export_sym_1(sym, val, sec) ___EXPORT_SYMBOL sym, val, sec argument 73 #define __cond_export_sym_0(sym, val, sec) /* nothing */ argument [all …]
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw88/ |
A D | sec.c | 9 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-6.3-rc2/tools/objtool/include/objtool/ |
A D | warn.h | 19 static inline char *offstr(struct section *sec, unsigned long offset) in offstr() argument 21 bool is_text = (sec->sh.sh_flags & SHF_EXECINSTR); in offstr() 27 sym = find_func_containing(sec, offset); in offstr() 29 sym = find_symbol_containing(sec, offset); in offstr() 32 str = malloc(strlen(sym->name) + strlen(sec->name) + 40); in offstr() 35 sprintf(str+len, " (%s+0x%lx)", sec->name, offset); in offstr() 37 str = malloc(strlen(sec->name) + 20); in offstr() 38 sprintf(str, "%s+0x%lx", sec->name, offset); in offstr() 49 #define WARN_FUNC(format, sec, offset, ...) \ argument 51 char *_str = offstr(sec, offset); \ [all …]
|