| /linux/drivers/fpga/ |
| H A D | intel-m10-bmc-sec-update.c | 19 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 in show_root_entry_hash() local 168 struct m10bmc_sec *sec = dev_get_drvdata(dev); show_canceled_csk() local 213 struct m10bmc_sec *sec = dev_get_drvdata(dev); flash_count_show() local 261 log_error_regs(struct m10bmc_sec * sec,u32 doorbell) log_error_regs() argument 272 m10bmc_sec_n3000_rsu_status(struct m10bmc_sec * sec) m10bmc_sec_n3000_rsu_status() argument 285 m10bmc_sec_n6000_rsu_status(struct m10bmc_sec * sec) m10bmc_sec_n6000_rsu_status() argument 320 m10bmc_sec_progress_status(struct m10bmc_sec * sec,u32 * doorbell_reg,u32 * progress,u32 * status) m10bmc_sec_progress_status() argument 340 rsu_check_idle(struct m10bmc_sec * sec) rsu_check_idle() argument 372 rsu_update_init(struct m10bmc_sec * sec) rsu_update_init() argument 411 rsu_prog_ready(struct m10bmc_sec * sec) rsu_prog_ready() argument 445 rsu_send_data(struct m10bmc_sec * sec) rsu_send_data() argument 485 rsu_check_complete(struct m10bmc_sec * sec,u32 * doorbell_reg) rsu_check_complete() argument 504 rsu_cancel(struct m10bmc_sec * sec) rsu_cancel() argument 530 struct m10bmc_sec *sec = fwl->dd_handle; m10bmc_sec_prepare() local 580 struct m10bmc_sec *sec = fwl->dd_handle; m10bmc_sec_fw_write() local 609 struct m10bmc_sec *sec = fwl->dd_handle; m10bmc_sec_poll_complete() local 651 struct m10bmc_sec *sec = fwl->dd_handle; m10bmc_sec_cancel() local 658 struct m10bmc_sec *sec = fwl->dd_handle; m10bmc_sec_cleanup() local 688 struct m10bmc_sec *sec; m10bmc_sec_probe() local 735 struct m10bmc_sec *sec = dev_get_drvdata(&pdev->dev); m10bmc_sec_remove() local [all...] |
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | verifier_sock_addr.c | 9 SEC("cgroup/recvmsg4") 16 SEC("cgroup/recvmsg4") 23 SEC("cgroup/recvmsg6") 30 SEC("cgroup/recvmsg6") 37 SEC("cgroup/recvmsg_unix") 44 SEC("cgroup/recvmsg_unix") 51 SEC("cgroup/sendmsg4") 58 SEC("cgroup/sendmsg4") 65 SEC("cgroup/sendmsg4") 72 SEC("cgroup/sendmsg6") [all …]
|
| H A D | string_kfuncs_failure1.c | 32 SEC("syscall") __retval(USER_PTR_ERR) int test_strcmp_null1(void *ctx) { return bpf_strcmp(NULL, "hello"); } in __retval() 33 SEC("syscall") __retval(USER_PTR_ERR)int test_strcmp_null2(void *ctx) { return bpf_strcmp("hello", NULL); } in __retval() 34 SEC("syscall") __retval(USER_PTR_ERR) int test_strcasecmp_null1(void *ctx) { return bpf_strcasecmp(NULL, "HELLO"); } in __retval() 35 SEC("syscall") __retval(USER_PTR_ERR)int test_strcasecmp_null2(void *ctx) { return bpf_strcasecmp("HELLO", NULL); } in __retval() 36 SEC("syscall") __retval(USER_PTR_ERR)int test_strncasecmp_null1(void *ctx) { return bpf_strncasecmp(NULL, "HELLO", 5); } in __retval() 37 SEC("syscall") __retval(USER_PTR_ERR)int test_strncasecmp_null2(void *ctx) { return bpf_strncasecmp("HELLO", NULL, 5); } in __retval() 38 SEC("syscall") __retval(USER_PTR_ERR)int test_strchr_null(void *ctx) { return bpf_strchr(NULL, 'a'); } in __retval() 39 SEC("syscall") __retval(USER_PTR_ERR)int test_strchrnul_null(void *ctx) { return bpf_strchrnul(NULL, 'a'); } in __retval() 40 SEC("syscall") __retval(USER_PTR_ERR)int test_strnchr_null(void *ctx) { return bpf_strnchr(NULL, 1, 'a'); } in __retval() 41 SEC("syscal in __retval() [all...] |
| H A D | verifier_sdiv.c | 14 SEC("socket") 26 SEC("socket") 38 SEC("socket") 50 SEC("socket") 62 SEC("socket") 74 SEC("socket") 86 SEC("socket") 98 SEC("socket") 110 SEC("socket") 123 SEC("socke [all...] |
| H A D | exceptions_fail.c | 17 #define private(name) SEC(".bss." #name) __hidden __attribute__((aligned(8))) 32 } hmap SEC(".maps"); 61 SEC("?tc") 70 SEC("?tc") 79 SEC("?tc") 88 SEC("?tc") 97 SEC("?tc") 113 SEC("?tc") 135 SEC("?tc") 144 SEC(" [all...] |
| H A D | verifier_global_subprogs.c | 48 SEC("?raw_tp") 73 SEC("?raw_tp") 97 SEC("?raw_tp") 106 SEC("?raw_tp") 125 SEC("?raw_tp") 144 SEC("?tracepoint") 153 SEC("?tracepoint") 168 SEC("?tracepoint") 187 SEC("?raw_tp") 196 SEC(" [all...] |
| H A D | string_kfuncs_failure2.c | 9 SEC("syscall") int test_strcmp_too_long(void *ctx) { return bpf_strcmp(long_str, long_str); } in test_strcmp_too_long() 10 SEC("syscall") int test_strcasecmp_too_long(void *ctx) { return bpf_strcasecmp(long_str, long_str); } in test_strchr_too_long() 11 SEC("syscall") int test_strncasecmp_too_long(void *ctx) { return bpf_strncasecmp(long_str, long_str, sizeof(long_str)); } in test_strchrnul_too_long() 12 SEC("syscall") int test_strchr_too_long(void *ctx) { return bpf_strchr(long_str, 'b'); } in test_strnchr_too_long() 13 SEC("syscall") int test_strchrnul_too_long(void *ctx) { return bpf_strchrnul(long_str, 'b'); } in test_strrchr_too_long() 14 SEC("syscall") int test_strnchr_too_long(void *ctx) { return bpf_strnchr(long_str, sizeof(long_str), 'b'); } in test_strlen_too_long() 15 SEC("syscall") int test_strrchr_too_long(void *ctx) { return bpf_strrchr(long_str, 'b'); } in test_strnlen_too_long() 16 SEC("syscall") int test_strlen_too_long(void *ctx) { return bpf_strlen(long_str); } in test_strspn_str_too_long() 17 SEC("syscall") int test_strnlen_too_long(void *ctx) { return bpf_strnlen(long_str, sizeof(long_str)); } in test_strspn_accept_too_long() 18 SEC("syscal in test_strspn_accept_too_long() [all...] |
| H A D | verifier_sockmap_mutate.c | 11 char _license[] SEC("license") = "GPL"; 26 } sockhash SEC(".maps"); 33 } sockmap SEC(".maps"); 75 SEC("action") 83 SEC("classifier") 91 SEC("flow_dissector") 99 SEC("flow_dissector") 107 SEC("iter/sockmap") 115 SEC("iter/unix") 123 SEC("raw_t in test_raw_tp_delete() [all...] |
| H A D | linked_list_fail.c | 48 SEC("?tc") \ 72 SEC("?tc") \ 95 SEC("?tc") \ 133 SEC("?tc") \ 180 SEC("?kprobe/xyz") 187 SEC("?kretprobe/xyz") 194 SEC("?tracepoint/xyz") 201 SEC("?perf_event") 208 SEC("?raw_tp/xyz") 215 SEC("?raw_tp.w/xyz") [all …]
|
| H A D | preempt_lock.c | 12 SEC("?tc") in preempt_lock_missing_1() 20 SEC("?tc") in preempt_lock_missing_2() 29 SEC("?tc") in preempt_lock_missing_3() 39 SEC("?tc") in preempt_lock_missing_3_minus_2() 61 SEC("?tc") in preempt_lock_missing_1_subprog() 69 SEC("?tc") in preempt_lock_missing_2_subprog() 78 SEC("?tc") in preempt_lock_missing_2_minus_1_subprog() 94 SEC("?tc") in preempt_balance() 101 SEC("?tc") in preempt_balance_subprog_test() 108 SEC(" [all...] |
| /linux/net/mac802154/ |
| H A D | llsec.c | 27 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 in mac802154_llsec_init() 41 mac802154_llsec_destroy(struct mac802154_llsec * sec) mac802154_llsec_destroy() argument 73 mac802154_llsec_get_params(struct mac802154_llsec * sec,struct ieee802154_llsec_params * params) mac802154_llsec_get_params() argument 83 mac802154_llsec_set_params(struct mac802154_llsec * sec,const struct ieee802154_llsec_params * params,int changed) mac802154_llsec_set_params() argument 212 mac802154_llsec_key_add(struct mac802154_llsec * sec,const struct ieee802154_llsec_key_id * id,const struct ieee802154_llsec_key * key) mac802154_llsec_key_add() argument 280 mac802154_llsec_key_del(struct mac802154_llsec * sec,const struct ieee802154_llsec_key_id * key) mac802154_llsec_key_del() argument 313 llsec_dev_find_short(struct mac802154_llsec * sec,__le16 short_addr,__le16 pan_id) llsec_dev_find_short() argument 329 llsec_dev_find_long(struct mac802154_llsec * sec,__le64 hwaddr) llsec_dev_find_long() argument 358 mac802154_llsec_dev_add(struct mac802154_llsec * sec,const struct ieee802154_llsec_device * dev) mac802154_llsec_dev_add() argument 396 mac802154_llsec_dev_del(struct mac802154_llsec * sec,__le64 device_addr) mac802154_llsec_dev_del() argument 429 mac802154_llsec_devkey_add(struct mac802154_llsec * sec,__le64 dev_addr,const struct ieee802154_llsec_device_key * key) mac802154_llsec_devkey_add() argument 453 mac802154_llsec_devkey_del(struct mac802154_llsec * sec,__le64 dev_addr,const struct ieee802154_llsec_device_key * key) mac802154_llsec_devkey_del() argument 475 llsec_find_seclevel(const struct mac802154_llsec * sec,const struct ieee802154_llsec_seclevel * sl) llsec_find_seclevel() argument 495 mac802154_llsec_seclevel_add(struct mac802154_llsec * sec,const struct ieee802154_llsec_seclevel * sl) mac802154_llsec_seclevel_add() argument 514 mac802154_llsec_seclevel_del(struct mac802154_llsec * sec,const struct ieee802154_llsec_seclevel * sl) mac802154_llsec_seclevel_del() argument 529 llsec_recover_addr(struct mac802154_llsec * sec,struct ieee802154_addr * addr) llsec_recover_addr() argument 550 llsec_lookup_key(struct mac802154_llsec * sec,const struct ieee802154_hdr * hdr,const struct ieee802154_addr * addr,struct ieee802154_llsec_key_id * key_id) llsec_lookup_key() argument 605 llsec_geniv(u8 iv[16],__le64 addr,const struct ieee802154_sechdr * sec) llsec_geniv() argument 619 llsec_do_encrypt_unauth(struct sk_buff * skb,const struct mac802154_llsec * sec,const struct ieee802154_hdr * hdr,struct mac802154_llsec_key * key) llsec_do_encrypt_unauth() argument 656 llsec_do_encrypt_auth(struct sk_buff * skb,const struct mac802154_llsec * sec,const struct ieee802154_hdr * hdr,struct mac802154_llsec_key * key) llsec_do_encrypt_auth() argument 699 llsec_do_encrypt(struct sk_buff * skb,const struct mac802154_llsec * sec,const struct ieee802154_hdr * hdr,struct mac802154_llsec_key * key) llsec_do_encrypt() argument 709 mac802154_llsec_encrypt(struct mac802154_llsec * sec,struct sk_buff * skb) mac802154_llsec_encrypt() argument 792 llsec_lookup_dev(struct mac802154_llsec * sec,const struct ieee802154_addr * addr) llsec_lookup_dev() argument 826 llsec_lookup_seclevel(const struct mac802154_llsec * sec,u8 frame_type,u8 cmd_frame_id,struct ieee802154_llsec_seclevel * rlevel) llsec_lookup_seclevel() argument 845 llsec_do_decrypt_unauth(struct sk_buff * skb,const struct mac802154_llsec * sec,const struct ieee802154_hdr * hdr,struct mac802154_llsec_key * key,__le64 dev_addr) llsec_do_decrypt_unauth() argument 872 llsec_do_decrypt_auth(struct sk_buff * skb,const struct mac802154_llsec * sec,const struct ieee802154_hdr * hdr,struct mac802154_llsec_key * key,__le64 dev_addr) llsec_do_decrypt_auth() argument 919 llsec_do_decrypt(struct sk_buff * skb,const struct mac802154_llsec * sec,const struct ieee802154_hdr * hdr,struct mac802154_llsec_key * key,__le64 dev_addr) llsec_do_decrypt() argument 1005 mac802154_llsec_decrypt(struct mac802154_llsec * sec,struct sk_buff * skb) mac802154_llsec_decrypt() argument [all...] |
| /linux/drivers/firmware/coreboot/ |
| H A D | vpd.c | 101 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/arch/powerpc/boot/dts/fsl/ |
| H A D | qoriq-sec5.3-0.dtsi | 2 * QorIQ Sec/Crypto 5.3 device tree stub [ controller @ offset 0x300000 ] 36 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", [all …]
|
| H A D | qoriq-sec5.2-0.dtsi | 2 * QorIQ Sec/Crypto 5.2 device tree stub [ controller @ offset 0x300000 ] 36 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", [all …]
|
| H A D | qoriq-sec5.0-0.dtsi | 2 * QorIQ Sec/Crypto 5.0 device tree stub [ controller @ offset 0x300000 ] 36 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", [all …]
|
| H A D | qoriq-sec4.2-0.dtsi | 2 * QorIQ Sec/Crypto 4.2 device tree stub [ controller @ offset 0x300000 ] 36 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", [all …]
|
| /linux/tools/objtool/ |
| H A D | elf.c | 122 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...] |
| /linux/arch/mips/boot/tools/ |
| H A D | relocs.c | 274 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/tools/objtool/include/objtool/ |
| H A D | elf.h | 74 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...] |
| /linux/tools/lib/bpf/ |
| H A D | linker.c | 174 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 363 struct dst_sec *sec; init_output_elf() local 605 is_ignored_sec(struct src_sec * sec) is_ignored_sec() argument 644 struct src_sec *secs = obj->secs, *sec; add_src_sec() local 672 struct src_sec *sec; linker_load_obj_file() local 831 struct src_sec *sec; linker_sanity_check_elf() local 911 linker_sanity_check_elf_symtab(struct src_obj * obj,struct src_sec * sec) linker_sanity_check_elf_symtab() argument 985 linker_sanity_check_elf_relos(struct src_obj * obj,struct src_sec * sec) linker_sanity_check_elf_relos() argument 1198 struct dst_sec *sec; find_dst_sec_by_name() local 1241 is_exec_sec(struct dst_sec * sec) is_exec_sec() argument 1336 is_data_sec(struct src_sec * sec) is_data_sec() argument 1346 is_relo_sec(struct src_sec * sec) is_relo_sec() argument 1913 struct src_sec *sec; find_src_sec_by_name() local 2259 struct src_sec *sec = &obj->secs[src_sym->st_shndx]; linker_append_elf_relos() local 2320 struct src_sec *sec; linker_fixup_btf() local 2754 struct dst_sec *sec; bpf_linker__finalize() local 2874 struct dst_sec *sec = &linker->secs[i]; finalize_btf() local 2981 struct dst_sec *sec = &linker->secs[i]; finalize_btf_ext() local 3059 struct dst_sec *sec = &linker->secs[i]; finalize_btf_ext() local 3076 struct dst_sec *sec = &linker->secs[i]; finalize_btf_ext() local 3093 struct dst_sec *sec = &linker->secs[i]; finalize_btf_ext() local [all...] |
| /linux/drivers/net/wireless/intel/ipw2x00/ |
| H A D | libipw_wx.c | 299 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/fs/hpfs/ |
| H A D | alloc.c | 12 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/nvdimm/ |
| H A D | security.c | 145 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/drivers/misc/mei/ |
| H A D | hw-txe-regs.h | 25 /* SeC FW Status Register 39 #define IPC_BASE_ADDR 0x80400 /* SeC IPC Base Address */ 46 * the most recent command has been completed by the SEC 79 /* SeC Address Translation Table Entry 2 - Ctrl 81 * This register resides also in SeC's PCI-E Memory space. 100 * interrupts from SeC to host, aggregating both interrupts that 112 * This is the top hierarchy for masking interrupts from SeC to host. 121 /* Host Interrupt Cause Register 0 - SeC IPC Readiness 124 * and it is also exposed in the SeC memory space. 125 * This register is used by SeC's IPC driver in order [all …]
|
| /linux/drivers/crypto/caam/ |
| H A D | dpseci.h | 10 * Data Path SEC Interface API 44 * @num_tx_queues: num of queues towards the SEC 45 * @num_rx_queues: num of queues back from the SEC 46 * @priorities: Priorities for the SEC hardware processing; 48 * towards the SEC; 70 * @num_tx_queues: number of queues towards the SEC 71 * @num_rx_queues: number of queues back from the SEC 179 * @fqid: Virtual FQID to be used for sending frames to SEC hardware 180 * @priority: SEC hardware processing priority for the queue 191 * struct dpseci_sec_attr - Structure representing attributes of the SEC [all …]
|