Home
last modified time | relevance | path

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

12345678910>>...24

/linux/crypto/
H A Dtcrypt.c62 static unsigned int sec; variable
1858 test_cipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0, in do_test()
1860 test_cipher_speed("ecb(aes)", DECRYPT, sec, NULL, 0, in do_test()
1862 test_cipher_speed("cbc(aes)", ENCRYPT, sec, NULL, 0, in do_test()
1864 test_cipher_speed("cbc(aes)", DECRYPT, sec, NULL, 0, in do_test()
1866 test_cipher_speed("lrw(aes)", ENCRYPT, sec, NULL, 0, in do_test()
1868 test_cipher_speed("lrw(aes)", DECRYPT, sec, NULL, 0, in do_test()
1870 test_cipher_speed("xts(aes)", ENCRYPT, sec, NULL, 0, in do_test()
1872 test_cipher_speed("xts(aes)", DECRYPT, sec, NULL, 0, in do_test()
1874 test_cipher_speed("cts(cbc(aes))", ENCRYPT, sec, NULL, 0, in do_test()
[all …]
/linux/drivers/firmware/google/
H A Dvpd.c100 struct vpd_section *sec = arg; in vpd_section_attrib_add() local
131 ret = sysfs_create_bin_file(sec->kobj, &info->bin_attr); in vpd_section_attrib_add()
135 list_add_tail(&info->list, &sec->attribs); in vpd_section_attrib_add()
146 static void vpd_section_attrib_destroy(struct vpd_section *sec) in vpd_section_attrib_destroy() argument
151 list_for_each_entry_safe(info, temp, &sec->attribs, list) { in vpd_section_attrib_destroy()
152 sysfs_remove_bin_file(sec->kobj, &info->bin_attr); in vpd_section_attrib_destroy()
162 struct vpd_section *sec = bin_attr->private; in vpd_section_read() local
164 return memory_read_from_buffer(buf, count, &pos, sec->baseaddr, in vpd_section_read()
165 sec->bin_attr.size); in vpd_section_read()
168 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.c132 struct section *sec; in find_section_by_name() local
134 elf_hash_for_each_possible(section_name, sec, name_hash, str_hash(name)) { in find_section_by_name()
135 if (!strcmp(sec->name, name)) in find_section_by_name()
136 return sec; in find_section_by_name()
145 struct section *sec; in find_section_by_index() local
147 elf_hash_for_each_possible(section, sec, hash, idx) { in find_section_by_index()
148 if (sec->idx == idx) in find_section_by_index()
149 return sec; in find_section_by_index()
167 struct symbol *find_symbol_by_offset(struct section *sec, unsigned long offset) in find_symbol_by_offset() argument
169 struct rb_root_cached *tree = (struct rb_root_cached *)&sec->symbol_tree; in find_symbol_by_offset()
[all …]
H A Dspecial.c21 const char *sec; member
31 .sec = ".altinstructions",
41 .sec = "__jump_table",
49 .sec = "__ex_table",
61 static void reloc_to_sec_off(struct reloc *reloc, struct section **sec, in reloc_to_sec_off() argument
64 *sec = reloc->sym->sec; in reloc_to_sec_off()
69 struct section *sec, int idx, in get_alt_entry() argument
81 alt->orig_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry()
83 alt->new_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry()
87 orig_reloc = find_reloc_by_dest(elf, sec, offset + entry->orig); in get_alt_entry()
[all …]
H A Dcheck.c39 struct section *sec, unsigned long offset) in find_insn() argument
43 hash_for_each_possible(file->insn_hash, insn, hash, sec_offset_hash(sec, offset)) { in find_insn()
44 if (insn->sec == sec && insn->offset == offset) in find_insn()
55 return find_insn(file, insn->sec, insn->offset + insn->len); in next_insn_same_sec()
81 return find_insn(file, func->cfunc->sec, func->cfunc->offset); in next_insn_same_func()
89 return find_insn(file, insn->sec, insn->offset - insn->prev_len); in prev_insn_same_sec()
114 for (insn = find_insn(file, func->sec, func->offset); \
119 for (insn = find_insn(file, sym->sec, sym->offset); \
266 insn = find_insn(file, func->sec, fun in __dead_end_function()
329 init_insn_state(struct objtool_file * file,struct insn_state * state,struct section * sec) init_insn_state() argument
421 struct section *sec; decode_instructions() local
618 find_last_insn(struct objtool_file * file,struct section * sec) find_last_insn() argument
722 struct section *sec; create_static_call_sections() local
811 struct section *sec; create_retpoline_sites_sections() local
849 struct section *sec; create_return_sites_sections() local
887 struct section *sec; create_ibt_endbr_seal_sections() local
940 struct section *sec; create_cfi_sections() local
990 struct section *sec; create_mcount_loc_sections() local
1035 struct section *sec; create_direct_call_sections() local
1727 find_call_destination(struct section * sec,unsigned long offset) find_call_destination() argument
2278 struct section *sec; read_unwind_hints() local
2621 struct section *sec; mark_rodata() local
3632 struct section *sec; validate_branch() local
3888 validate_unwind_hints(struct objtool_file * file,struct section * sec) validate_unwind_hints() argument
4250 struct section *sec; add_prefix_symbols() local
4268 validate_symbol(struct objtool_file * file,struct section * sec,struct symbol * sym,struct insn_state * state) validate_symbol() argument
4294 validate_section(struct objtool_file * file,struct section * sec) validate_section() argument
4315 struct section *sec; validate_noinstr_sections() local
4341 struct section *sec; validate_functions() local
4505 struct section *sec; validate_ibt() local
[all...]
H 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()
124 sec = find_section_by_name(file->elf, ".orc_unwind"); in orc_create()
[all …]
/linux/fs/reiserfs/
H A Dxattr_security.c46 struct reiserfs_security_handle *sec = fs_info; in reiserfs_initxattrs() local
48 sec->value = kmemdup(xattr_array->value, xattr_array->value_len, in reiserfs_initxattrs()
50 if (!sec->value) in reiserfs_initxattrs()
53 sec->name = xattr_array->name; in reiserfs_initxattrs()
54 sec->length = xattr_array->value_len; in reiserfs_initxattrs()
63 struct reiserfs_security_handle *sec) in reiserfs_security_init() argument
68 sec->name = NULL; in reiserfs_security_init()
69 sec->value = NULL; in reiserfs_security_init()
70 sec->length = 0; in reiserfs_security_init()
77 &reiserfs_initxattrs, sec); in reiserfs_security_init()
[all …]
/linux/arch/mips/boot/tools/
H A Drelocs.c273 struct section *sec = &secs[i]; in read_shdrs() local
275 sec->shdr_offset = ftell(fp); in read_shdrs()
279 sec->shdr.sh_name = elf_word_to_cpu(shdr.sh_name); in read_shdrs()
280 sec->shdr.sh_type = elf_word_to_cpu(shdr.sh_type); in read_shdrs()
281 sec->shdr.sh_flags = elf_xword_to_cpu(shdr.sh_flags); in read_shdrs()
282 sec->shdr.sh_addr = elf_addr_to_cpu(shdr.sh_addr); in read_shdrs()
283 sec->shdr.sh_offset = elf_off_to_cpu(shdr.sh_offset); in read_shdrs()
284 sec->shdr.sh_size = elf_xword_to_cpu(shdr.sh_size); in read_shdrs()
285 sec->shdr.sh_link = elf_word_to_cpu(shdr.sh_link); in read_shdrs()
286 sec->shdr.sh_info = elf_word_to_cpu(shdr.sh_info); in read_shdrs()
[all …]
/linux/drivers/infiniband/core/
H A Dsecurity.c50 struct ib_device *dev = pp->sec->dev; in get_pkey_idx_qp_list()
68 struct ib_device *dev = pp->sec->dev; in get_pkey_and_subnet_prefix()
112 struct ib_qp_security *sec) in check_qp_port_pkey_settings() argument
130 sec); in check_qp_port_pkey_settings()
144 sec); in check_qp_port_pkey_settings()
153 static void qp_to_error(struct ib_qp_security *sec) in qp_to_error() argument
167 if (sec->destroying) in qp_to_error()
170 ib_modify_qp(sec->qp, in qp_to_error()
174 if (sec->qp->event_handler && sec->qp->qp_context) { in qp_to_error()
175 event.element.qp = sec->qp; in qp_to_error()
[all …]
/linux/tools/lib/bpf/
H A Dlinker.c164 static int linker_sanity_check_elf_symtab(struct src_obj *obj, struct src_sec *sec);
165 static int linker_sanity_check_elf_relos(struct src_obj *obj, struct src_sec *sec);
201 struct dst_sec *sec = &linker->secs[i]; in bpf_linker__free() local
203 free(sec->sec_name); in bpf_linker__free()
204 free(sec->raw_data); in bpf_linker__free()
205 free(sec->sec_vars); in bpf_linker__free()
207 free(sec->func_info.recs); in bpf_linker__free()
208 free(sec->line_info.recs); in bpf_linker__free()
209 free(sec->core_relo_info.recs); in bpf_linker__free()
249 struct dst_sec *secs = linker->secs, *sec; in add_dst_sec() local
299 struct dst_sec *sec; init_output_elf() local
479 is_ignored_sec(struct src_sec * sec) is_ignored_sec() argument
518 struct src_sec *secs = obj->secs, *sec; add_src_sec() local
554 struct src_sec *sec; linker_load_obj_file() local
702 struct src_sec *sec; linker_sanity_check_elf() local
782 linker_sanity_check_elf_symtab(struct src_obj * obj,struct src_sec * sec) linker_sanity_check_elf_symtab() argument
856 linker_sanity_check_elf_relos(struct src_obj * obj,struct src_sec * sec) linker_sanity_check_elf_relos() argument
1069 struct dst_sec *sec; find_dst_sec_by_name() local
1185 is_data_sec(struct src_sec * sec) is_data_sec() argument
1195 is_relo_sec(struct src_sec * sec) is_relo_sec() argument
1762 struct src_sec *sec; find_src_sec_by_name() local
2105 struct src_sec *sec = &obj->secs[src_sym->st_shndx]; linker_append_elf_relos() local
2166 struct src_sec *sec; linker_fixup_btf() local
2596 struct dst_sec *sec; bpf_linker__finalize() local
2710 struct dst_sec *sec = &linker->secs[i]; finalize_btf() local
2810 struct dst_sec *sec = &linker->secs[i]; finalize_btf_ext() local
2888 struct dst_sec *sec = &linker->secs[i]; finalize_btf_ext() local
2905 struct dst_sec *sec = &linker->secs[i]; finalize_btf_ext() local
2922 struct dst_sec *sec = &linker->secs[i]; finalize_btf_ext() local
[all...]
/linux/arch/x86/tools/
H A Drelocs.c292 struct section *sec = &secs[i]; in sym_lookup() local
298 if (sec->shdr.sh_type != SHT_SYMTAB) in sym_lookup()
301 nsyms = sec->shdr.sh_size/sizeof(Elf_Sym); in sym_lookup()
302 symtab = sec->symtab; in sym_lookup()
303 strtab = sec->link->strtab; in sym_lookup()
449 struct section *sec = &secs[i]; in read_shdrs() local
454 sec->shdr.sh_name = elf_word_to_cpu(shdr.sh_name); in read_shdrs()
455 sec->shdr.sh_type = elf_word_to_cpu(shdr.sh_type); in read_shdrs()
456 sec->shdr.sh_flags = elf_xword_to_cpu(shdr.sh_flags); in read_shdrs()
457 sec->shdr.sh_addr = elf_addr_to_cpu(shdr.sh_addr); 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 …]
/linux/tools/objtool/include/objtool/
H A Delf.h55 struct section *sec; member
78 struct section *sec;
119 struct reloc *elf_init_reloc_text_sym(struct elf *elf, struct section *sec,
125 struct reloc *elf_init_reloc_data_sym(struct elf *elf, struct section *sec,
131 int elf_write_insn(struct elf *elf, struct section *sec,
138 struct symbol *find_func_by_offset(struct section *sec, unsigned long offset);
139 struct symbol *find_symbol_by_offset(struct section *sec, unsigned long offset);
141 struct symbol *find_symbol_containing(const struct section *sec, unsigned long offset);
142 int find_symbol_hole_containing(const struct section *sec, unsigned long offset);
143 struct reloc *find_reloc_by_dest(const struct elf *elf, struct section *sec, unsigne
77 struct section *sec; global() member
177 is_reloc_sec(struct section * sec) is_reloc_sec() argument
182 sec_changed(struct section * sec) sec_changed() argument
187 mark_sec_changed(struct elf * elf,struct section * sec,bool changed) mark_sec_changed() argument
194 sec_num_entries(struct section * sec) sec_num_entries() argument
299 for_each_sec(file,sec) global() argument
302 sec_for_each_sym(sec,sym) global() argument
332 sec_offset_hash(struct section * sec,unsigned long offset) sec_offset_hash() argument
[all...]
H A Dwarn.h19 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 …]
/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.c302 struct libipw_security sec = { in libipw_wx_set_encode() local
347 sec.enabled = 0; in libipw_wx_set_encode()
348 sec.encrypt = 0; in libipw_wx_set_encode()
349 sec.level = SEC_LEVEL_0; in libipw_wx_set_encode()
350 sec.flags |= SEC_ENABLED | SEC_LEVEL | SEC_ENCRYPT; in libipw_wx_set_encode()
356 sec.enabled = 1; in libipw_wx_set_encode()
357 sec.encrypt = 1; in libipw_wx_set_encode()
358 sec.flags |= SEC_ENABLED | SEC_ENCRYPT; in libipw_wx_set_encode()
398 memcpy(sec.keys[key], keybuf, erq->length); in libipw_wx_set_encode()
400 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.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 if (!sec->preparse_server_key) in rxrpc_preparse_s()
90 return sec->preparse_server_key(prep); in rxrpc_preparse_s()
95 const struct rxrpc_security *sec = prep->payload.data[1]; in rxrpc_free_preparse_s() local
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()
103 const struct rxrpc_security *sec = key->payload.data[1]; in rxrpc_destroy_s() local
[all …]
/linux/arch/s390/tools/
H A Drelocs.c195 struct section *sec = &secs[i]; in read_shdrs() local
202 sec->shdr.sh_name = elf_word_to_cpu(shdr.sh_name); in read_shdrs()
203 sec->shdr.sh_type = elf_word_to_cpu(shdr.sh_type); in read_shdrs()
204 sec->shdr.sh_flags = elf_xword_to_cpu(shdr.sh_flags); in read_shdrs()
205 sec->shdr.sh_addr = elf_addr_to_cpu(shdr.sh_addr); in read_shdrs()
206 sec->shdr.sh_offset = elf_off_to_cpu(shdr.sh_offset); in read_shdrs()
207 sec->shdr.sh_size = elf_xword_to_cpu(shdr.sh_size); in read_shdrs()
208 sec->shdr.sh_link = elf_word_to_cpu(shdr.sh_link); in read_shdrs()
209 sec->shdr.sh_info = elf_word_to_cpu(shdr.sh_info); in read_shdrs()
210 sec->shdr.sh_addralign = elf_xword_to_cpu(shdr.sh_addralign); in read_shdrs()
[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 …]

12345678910>>...24