Home
last modified time | relevance | path

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

12345678910>>...30

/linux/drivers/fpga/
A Dintel-m10-bmc-sec-update.c331 ret = sec->ops->rsu_status(sec); in m10bmc_sec_progress_status()
473 ret = sec->ops->rsu_status(sec); in rsu_send_data()
541 if (sec->m10bmc->flash_bulk_ops->lock_write(sec->m10bmc)) in m10bmc_sec_prepare()
572 sec->m10bmc->flash_bulk_ops->unlock_write(sec->m10bmc); in m10bmc_sec_prepare()
666 sec->m10bmc->flash_bulk_ops->unlock_write(sec->m10bmc); in m10bmc_sec_cleanup()
694 sec = devm_kzalloc(&pdev->dev, sizeof(*sec), GFP_KERNEL); in m10bmc_sec_probe()
695 if (!sec) in m10bmc_sec_probe()
703 ret = xa_alloc(&fw_upload_xa, &sec->fw_name_id, sec, in m10bmc_sec_probe()
709 sec->fw_name_id); in m10bmc_sec_probe()
716 fwl = firmware_upload_register(THIS_MODULE, sec->dev, sec->fw_name, in m10bmc_sec_probe()
[all …]
/linux/crypto/
A Dtcrypt.c62 static unsigned int sec; variable
2046 test_aead_speed("gcm(aes)", ENCRYPT, sec, in do_test()
2050 test_aead_speed("gcm(aes)", DECRYPT, sec, in do_test()
2136 ENCRYPT, sec, NULL, 0, in do_test()
2139 DECRYPT, sec, NULL, 0, in do_test()
2144 test_aead_speed("aegis128", ENCRYPT, sec, in do_test()
2146 test_aead_speed("aegis128", DECRYPT, sec, in do_test()
2151 test_aead_speed("gcm(sm4)", ENCRYPT, sec, in do_test()
2308 test_hash_speed("streebog256", sec, in do_test()
2313 test_hash_speed("streebog512", sec, in do_test()
[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/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()
613 iv[13] = sec->level; in llsec_geniv()
629 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/tools/objtool/
A Delf.c136 return sec; in find_section_by_name()
356 if (sec->sh.sh_size != 0 && !is_dwarf_section(sec)) { in read_sections()
363 sec->data->d_size != sec->sh.sh_size) { in read_sections()
371 elf_hash_add(section, &sec->hash, sec->idx); in read_sections()
559 if (sym->sec == pfunc->sec && in read_symbols()
802 sym->sec = sec; in elf_create_section_symbol()
834 sym->sec = orig->sec; in elf_create_prefix_symbol()
1095 sec = malloc(sizeof(*sec)); in elf_create_section()
1100 memset(sec, 0, sizeof(*sec)); in elf_create_section()
1160 elf_hash_add(section, &sec->hash, sec->idx); in elf_create_section()
[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
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 Dorc_gen.c25 struct section *sec, unsigned long offset) in orc_list_add() argument
35 entry->insn_sec = sec; in orc_list_add()
51 struct section *sec, *orc_sec; in orc_create() local
60 for_each_sec(file, sec) { in orc_create()
65 if (!sec->text) in orc_create()
68 sec_for_each_insn(file, sec, insn) { in orc_create()
77 if (orc_list_add(&orc_list, &orc, sec, in orc_create()
102 if (orc_list_add(&orc_list, &orc, insn->sec, in orc_create()
116 orc_list_add(&orc_list, &null, sec, sec->sh.sh_size); in orc_create()
125 if (sec) { in orc_create()
[all …]
A Dcheck.c44 if (insn->sec == sec && insn->offset == offset) in find_insn()
470 insn->sec = sec; in decode_instructions()
744 if (!sec) in create_static_call_sections()
829 if (!sec) in create_retpoline_sites_sections()
867 if (!sec) in create_return_sites_sections()
911 if (!sec) in create_ibt_endbr_seal_sections()
964 if (!sec) in create_cfi_sections()
1009 if (!sec) in create_mcount_loc_sections()
1054 if (!sec) in create_direct_call_sections()
2098 if (reloc->sym->sec == pfunc->sec && in add_jump_table()
[all …]
/linux/fs/reiserfs/
A Dxattr_security.c50 if (!sec->value) in reiserfs_initxattrs()
53 sec->name = xattr_array->name; in reiserfs_initxattrs()
68 sec->name = NULL; in reiserfs_security_init()
69 sec->value = NULL; in reiserfs_security_init()
70 sec->length = 0; in reiserfs_security_init()
79 sec->name = NULL; in reiserfs_security_init()
80 sec->value = NULL; in reiserfs_security_init()
81 sec->length = 0; in reiserfs_security_init()
117 kfree(sec->value); in reiserfs_security_free()
118 sec->name = NULL; in reiserfs_security_free()
[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/tools/lib/bpf/
A Dlinker.c351 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()
774 sec->sec_idx, sec->sec_name, (size_t)sec->shdr->sh_type, obj->filename); in linker_sanity_check_elf()
1187 if (!sec || sec->skipped) in is_data_sec()
1197 if (!sec || sec->skipped || sec->ephemeral) in is_relo_sec()
[all …]
/linux/arch/x86/tools/
A Drelocs.c465 sec->link = &secs[sec->shdr.sh_link]; in read_shdrs()
480 sec->strtab = malloc(sec->shdr.sh_size); in read_strtabs()
481 if (!sec->strtab) in read_strtabs()
487 if (fread(sec->strtab, 1, sec->shdr.sh_size, fp) != sec->shdr.sh_size) in read_strtabs()
502 sec->xsymtab = malloc(sec->shdr.sh_size); in read_symtabs()
509 if (fread(sec->xsymtab, 1, sec->shdr.sh_size, fp) != sec->shdr.sh_size) in read_symtabs()
518 sec->symtab = malloc(sec->shdr.sh_size); in read_symtabs()
525 if (fread(sec->symtab, 1, sec->shdr.sh_size, fp) != sec->shdr.sh_size) in read_symtabs()
556 sec->reltab = malloc(sec->shdr.sh_size); in read_relocs()
557 if (!sec->reltab) in read_relocs()
[all …]
/linux/arch/powerpc/boot/dts/fsl/
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-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-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/tools/objtool/include/objtool/
A Delf.h55 struct section *sec; member
78 struct section *sec; member
180 return sec->sh.sh_type == SHT_RELA || sec->sh.sh_type == SHT_REL; in is_reloc_sec()
185 return sec->_changed; in sec_changed()
191 sec->_changed = changed; in mark_sec_changed()
197 return sec->sh.sh_size / sec->sh.sh_entsize; in sec_num_entries()
202 return reloc - reloc->sec->relocs; in reloc_idx()
207 struct section *rsec = reloc->sec; in reloc_rel()
220 return reloc->sec->sh.sh_entsize < 16; in is_32bit_reloc()
300 #define for_each_sec(file, sec) \ argument
[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/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()
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/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()
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/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/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/arch/s390/tools/
A Drelocs.c195 struct section *sec = &secs[i]; in read_shdrs() local
213 if (sec->shdr.sh_link < shnum) in read_shdrs()
214 sec->link = &secs[sec->shdr.sh_link]; in read_shdrs()
224 struct section *sec = &secs[i]; in read_relocs() local
229 sec->reltab = malloc(sec->shdr.sh_size); in read_relocs()
230 if (!sec->reltab) in read_relocs()
236 if (fread(sec->reltab, 1, sec->shdr.sh_size, fp) != sec->shdr.sh_size) in read_relocs()
240 Elf_Rel *rel = &sec->reltab[j]; in read_relocs()
301 struct section *sec = &secs[i]; in walk_relocs() local
311 Elf_Rel *rel = &sec->reltab[j]; in walk_relocs()
[all …]

Completed in 75 milliseconds

12345678910>>...30