/kernel/linux/linux-6.6/sound/soc/sof/ |
H A D | ipc3.c | 653 struct sof_ipc_window_elem *elem; in ipc3_get_windows() local 671 elem = &sdev->info_window->window[i]; in ipc3_get_windows() 673 window_offset = snd_sof_dsp_get_window_offset(sdev, elem->id); in ipc3_get_windows() 675 dev_warn(sdev->dev, "No offset for window %d\n", elem->id); in ipc3_get_windows() 679 switch (elem->type) { in ipc3_get_windows() 681 inbox_offset = window_offset + elem->offset; in ipc3_get_windows() 682 inbox_size = elem->size; in ipc3_get_windows() 685 elem->size, "inbox", in ipc3_get_windows() 689 outbox_offset = window_offset + elem->offset; in ipc3_get_windows() 690 outbox_size = elem in ipc3_get_windows() [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | debug_output.c | 264 list_for_each_entry_safe(struct gl_debug_element, elem, &ns->Elements, link) in debug_namespace_clear() 265 free(elem); in debug_namespace_clear() 275 list_for_each_entry(struct gl_debug_element, elem, &src->Elements, link) { in debug_namespace_copy() 284 copy->ID = elem->ID; in debug_namespace_copy() 285 copy->State = elem->State; in debug_namespace_copy() 301 struct gl_debug_element *elem = NULL; in debug_namespace_set() local 306 elem = tmp; in debug_namespace_set() 313 if (elem) { in debug_namespace_set() 314 list_del(&elem->link); in debug_namespace_set() 315 free(elem); in debug_namespace_set() [all...] |
/third_party/python/Lib/collections/ |
H A D | __init__.py | 526 for elem in iterable: 527 mapping[elem] = mapping_get(elem, 0) + 1 552 >>> for elem in 'shazam': # update counts from an iterable 553 ... c[elem] += 1 # by adding 1 to each element's count 682 for elem, count in iterable.items(): 683 self[elem] = count + self_get(elem, 0) 711 for elem, count in iterable.items(): 712 self[elem] [all...] |
/third_party/python/Lib/test/ |
H A D | test_peepholer.py | 109 for func, elem in ((f, None), (g, True), (h, False)): 112 self.assertInBytecode(func, 'LOAD_CONST', elem) 129 for elem in ('LOAD_CONST', 'POP_JUMP_IF_FALSE'): 130 self.assertNotInBytecode(f, elem) 131 for elem in ('JUMP_BACKWARD',): 132 self.assertInBytecode(f, elem) 136 for line, elem in ( 143 self.assertInBytecode(code, elem) 149 for line, elem in ( 158 self.assertInBytecode(code, 'LOAD_CONST', elem) [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | matroskaenc.c | 444 EbmlElement *const elem = ebml_writer_add(writer, id, EBML_MASTER); in ebml_writer_open_master() local 445 EbmlMaster *const master = &elem->priv.master; in ebml_writer_open_master() 455 EbmlElement *elem; in ebml_writer_close_master() local 458 elem = &writer->elements[writer->current_master_element]; in ebml_writer_close_master() 459 av_assert2(elem->type == EBML_MASTER); in ebml_writer_close_master() 460 av_assert2(elem->priv.master.nb_elements < 0); /* means unset */ in ebml_writer_close_master() 461 elem->priv.master.nb_elements = writer->nb_elements - writer->current_master_element - 1; in ebml_writer_close_master() 462 av_assert2(elem->priv.master.containing_master < 0 || in ebml_writer_close_master() 463 elem->priv.master.containing_master < writer->current_master_element); in ebml_writer_close_master() 464 writer->current_master_element = elem in ebml_writer_close_master() 473 const EbmlElement *const elem = &writer->elements[writer->nb_elements - 1]; ebml_writer_close_or_discard_master() local 488 EbmlElement *const elem = ebml_writer_add(writer, id, EBML_STR); ebml_writer_add_string() local 496 EbmlElement *const elem = ebml_writer_add(writer, id, EBML_BIN); ebml_writer_add_bin() local 508 EbmlElement *const elem = ebml_writer_add(writer, id, EBML_FLOAT); ebml_writer_add_float() local 516 EbmlElement *const elem = ebml_writer_add(writer, id, EBML_UID); ebml_writer_add_uid() local 523 EbmlElement *elem = ebml_writer_add(writer, id, EBML_UINT); ebml_writer_add_uint() local 530 EbmlElement *elem = ebml_writer_add(writer, id, EBML_SINT); ebml_writer_add_sint() local 536 EbmlElement *elem = ebml_writer_add(writer, MATROSKA_ID_BLOCK, EBML_BLOCK); ebml_writer_add_block() local 540 ebml_writer_str_len(EbmlElement *elem) ebml_writer_str_len() argument 559 ebml_writer_uint_len(EbmlElement *elem) ebml_writer_uint_len() argument 571 ebml_writer_sint_len(EbmlElement *elem) ebml_writer_sint_len() argument 580 ebml_writer_master_len(EbmlWriter *writer, EbmlElement *elem, int remaining_elems) ebml_writer_master_len() argument 606 ebml_writer_block_len(EbmlElement *elem) ebml_writer_block_len() argument 631 ebml_writer_write_block(const EbmlElement *elem, AVIOContext *pb) ebml_writer_write_block() argument 652 ebml_writer_elem_len(EbmlWriter *writer, EbmlElement *elem, int remaining_elems) ebml_writer_elem_len() argument 686 ebml_writer_elem_write(const EbmlElement *elem, AVIOContext *pb) ebml_writer_elem_write() argument 800 end_ebml_master_crc32_tentatively(AVIOContext *pb, ebml_stored_master *elem, MatroskaMuxContext *mkv, uint32_t id) end_ebml_master_crc32_tentatively() argument [all...] |
/third_party/mesa3d/src/vulkan/util/ |
H A D | gen_enum_to_str.py | 317 def add_value_from_xml(self, elem, extension=None): 319 if 'value' in elem.attrib: 320 self.add_value(elem.attrib['name'], 321 value=int(elem.attrib['value'], base=0)) 322 elif 'bitpos' in elem.attrib: 323 self.add_value(elem.attrib['name'], 324 value=(1 << int(elem.attrib['bitpos'], base=0))) 325 elif 'alias' in elem.attrib: 326 self.add_value(elem.attrib['name'], alias=elem [all...] |
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | docgenerator.py | 333 typeElem = typeinfo.elem 358 for elem in typeElem: 359 if elem.tag == 'apientry': 360 body += self.genOpts.apientry + noneStr(elem.tail) 362 body += noneStr(elem.text) + noneStr(elem.tail) 376 typeElem = typeinfo.elem 411 for elem in groupinfo.elem.findall('enum'): 412 if not elem [all...] |
H A D | scriptgenerator.py | 213 typeElem = typeinfo.elem 237 for elem in typeElem: 238 count += len(noneStr(elem.text)) + len(noneStr(elem.tail)) 281 members = [member.text for member in typeinfo.elem.findall('.//member/name')] 283 memberTypes = [member.text for member in typeinfo.elem.findall('.//member/type')] 297 groupElem = groupinfo.elem 310 enumerants = [elem.get('name') for elem in groupElem.findall('enum')] 360 params = [param.text for param in cmdinfo.elem [all...] |
H A D | json_parser.py | 685 typeElem = typeinfo.elem 698 for elem in typeElem: 699 if elem.tag == 'name': 700 body += self.genBitmaskCode("(", " obj,", elem.text, typeElem.get('requires')) 703 for elem in typeElem: 704 if elem.tag == 'name': 705 body += self.genBasetypeCode("(", " obj,", elem.text) 708 for elem in typeElem: 709 if elem.tag == 'name': 710 body += self.genHandleCode("(", " obj,", elem [all...] |
/third_party/vk-gl-cts/scripts/khr_util/ |
H A D | registry.py | 34 def warnElem(elem, fmt, *args): 35 warning('%s:%d, %s %s: ' + fmt, elem.base, elem.sourceline, elem.tag, elem.get('name') or '', *args) 58 def makeObject(cls, elem, **kwargs): 59 kwargs.setdefault('name', elem.get('name')) 60 kwargs.setdefault('comment', elem.get('comment')) 61 kwargs['location'] = (elem.base, elem [all...] |
/third_party/alsa-utils/amixer/ |
H A D | volume_mapping.h | 6 double get_normalized_playback_volume(snd_mixer_elem_t *elem, 8 double get_normalized_capture_volume(snd_mixer_elem_t *elem, 10 int set_normalized_playback_volume(snd_mixer_elem_t *elem, 14 int set_normalized_capture_volume(snd_mixer_elem_t *elem,
|
/third_party/alsa-utils/alsamixer/ |
H A D | volume_mapping.h | 6 double get_normalized_playback_volume(snd_mixer_elem_t *elem, 8 double get_normalized_capture_volume(snd_mixer_elem_t *elem, 10 int set_normalized_playback_volume(snd_mixer_elem_t *elem, 14 int set_normalized_capture_volume(snd_mixer_elem_t *elem,
|
/third_party/typescript/tests/baselines/reference/ |
H A D | libReferenceNoLibBundle.js | 19 export const elem: HTMLElement = { field: 'a' }; 27 exports.elem = void 0;
28 exports.elem = { field: 'a' };
53 export const elem: HTMLElement;
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_spq.c | 142 le32_to_cpu(p_ent->elem.hdr.cid), in qed_spq_block() 143 p_ent->elem.hdr.cmd_id, in qed_spq_block() 144 p_ent->elem.hdr.protocol_id, in qed_spq_block() 145 le16_to_cpu(p_ent->elem.hdr.echo)); in qed_spq_block() 174 p_ent->elem.hdr.cid, in qed_spq_fill_entry() 175 p_ent->elem.hdr.cmd_id, in qed_spq_fill_entry() 176 p_ent->elem.hdr.protocol_id, in qed_spq_fill_entry() 177 p_ent->elem.data_ptr.hi, in qed_spq_fill_entry() 178 p_ent->elem.data_ptr.lo, in qed_spq_fill_entry() 235 struct slow_path_element *elem; in qed_spq_hw_post() local [all...] |
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | searchndk1.cpp | 267 struct element *elem = new_element(PARAM_0);
in Insque() local 268 insque(elem, PARAM_0);
in Insque() 270 insque(new_element(i), elem);
in Insque() local 271 elem = elem->prev;
in Insque() 273 while (elem) {
in Insque() 274 if (elem->i != --i) {
in Insque() 277 elem = elem->next;
in Insque() 351 struct element *elem in Remque() local 354 insque(new_element(i), elem); Remque() local [all...] |
/third_party/protobuf/ |
H A D | update_version.py | 42 def Find(elem, tagname): 43 for child in elem.childNodes: 49 def FindAndClone(elem, tagname): 50 return Find(elem, tagname).cloneNode(True) 53 def ReplaceText(elem, text): 54 elem.firstChild.replaceWholeText(text) 265 elem = document.createElement(tagname) 268 elem.appendChild(document.createTextNode('\n' + (' ' * indent))) 269 elem.appendChild(child) 271 elem [all...] |
/third_party/mesa3d/src/freedreno/rnn/ |
H A D | rnn.c | 998 static struct rnndelem *copydelem (struct rnndelem *elem, char *file) { in copydelem() argument 1000 res->type = elem->type; in copydelem() 1001 res->name = elem->name; in copydelem() 1002 res->width = elem->width; in copydelem() 1003 res->access = elem->access; in copydelem() 1004 res->offset = elem->offset; in copydelem() 1005 res->length = elem->length; in copydelem() 1006 res->stride = elem->stride; in copydelem() 1007 res->varinfo = elem->varinfo; in copydelem() 1009 copytypeinfo(&res->typeinfo, &elem in copydelem() 1243 prepdelem(struct rnndb *db, struct rnndelem *elem, char *prefix, struct rnnvarinfo *parvi, int width) prepdelem() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sp.c | 82 struct bnx2x_exeq_elem *elem) in bnx2x_exe_queue_free_elem() 85 kfree(elem); in bnx2x_exe_queue_free_elem() 90 struct bnx2x_exeq_elem *elem; in bnx2x_exe_queue_length() local 95 list_for_each_entry(elem, &o->exe_queue, link) in bnx2x_exe_queue_length() 108 * @elem: new command to add 115 struct bnx2x_exeq_elem *elem, in bnx2x_exe_queue_add() 124 rc = o->optimize(bp, o->owner, elem); in bnx2x_exe_queue_add() 129 rc = o->validate(bp, o->owner, elem); in bnx2x_exe_queue_add() 137 list_add_tail(&elem->link, &o->exe_queue); in bnx2x_exe_queue_add() 144 bnx2x_exe_queue_free_elem(bp, elem); in bnx2x_exe_queue_add() 81 bnx2x_exe_queue_free_elem(struct bnx2x *bp, struct bnx2x_exeq_elem *elem) bnx2x_exe_queue_free_elem() argument 113 bnx2x_exe_queue_add(struct bnx2x *bp, struct bnx2x_exe_queue_obj *o, struct bnx2x_exeq_elem *elem, bool restore) bnx2x_exe_queue_add() argument 155 struct bnx2x_exeq_elem *elem; __bnx2x_exe_queue_reset_pending() local 179 struct bnx2x_exeq_elem *elem, spacer; bnx2x_exe_queue_step() local 883 bnx2x_set_one_mac_e2(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *o, struct bnx2x_exeq_elem *elem, int rule_idx, int cam_offset) bnx2x_set_one_mac_e2() argument 1044 bnx2x_set_one_mac_e1x(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *o, struct bnx2x_exeq_elem *elem, int rule_idx, int cam_offset) bnx2x_set_one_mac_e1x() argument 1067 bnx2x_set_one_vlan_e2(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *o, struct bnx2x_exeq_elem *elem, int rule_idx, int cam_offset) bnx2x_set_one_vlan_e2() argument 1117 bnx2x_set_one_vlan_mac_e2(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *o, struct bnx2x_exeq_elem *elem, int rule_idx, int cam_offset) bnx2x_set_one_vlan_mac_e2() argument 1183 bnx2x_set_one_vlan_mac_e1h(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *o, struct bnx2x_exeq_elem *elem, int rule_idx, int cam_offset) bnx2x_set_one_vlan_mac_e1h() argument 1272 bnx2x_exeq_get_mac( struct bnx2x_exe_queue_obj *o, struct bnx2x_exeq_elem *elem) bnx2x_exeq_get_mac() argument 1289 bnx2x_exeq_get_vlan( struct bnx2x_exe_queue_obj *o, struct bnx2x_exeq_elem *elem) bnx2x_exeq_get_vlan() argument 1306 bnx2x_exeq_get_vlan_mac( struct bnx2x_exe_queue_obj *o, struct bnx2x_exeq_elem *elem) bnx2x_exeq_get_vlan_mac() argument 1338 bnx2x_validate_vlan_mac_add(struct bnx2x *bp, union bnx2x_qable_obj *qo, struct bnx2x_exeq_elem *elem) bnx2x_validate_vlan_mac_add() argument 1386 bnx2x_validate_vlan_mac_del(struct bnx2x *bp, union bnx2x_qable_obj *qo, struct bnx2x_exeq_elem *elem) bnx2x_validate_vlan_mac_del() argument 1445 bnx2x_validate_vlan_mac_move(struct bnx2x *bp, union bnx2x_qable_obj *qo, struct bnx2x_exeq_elem *elem) bnx2x_validate_vlan_mac_move() argument 1507 bnx2x_validate_vlan_mac(struct bnx2x *bp, union bnx2x_qable_obj *qo, struct bnx2x_exeq_elem *elem) bnx2x_validate_vlan_mac() argument 1523 bnx2x_remove_vlan_mac(struct bnx2x *bp, union bnx2x_qable_obj *qo, struct bnx2x_exeq_elem *elem) bnx2x_remove_vlan_mac() argument 1664 bnx2x_optimize_vlan_mac(struct bnx2x *bp, union bnx2x_qable_obj *qo, struct bnx2x_exeq_elem *elem) bnx2x_optimize_vlan_mac() argument 1726 bnx2x_vlan_mac_get_registry_elem( struct bnx2x *bp, struct bnx2x_vlan_mac_obj *o, struct bnx2x_exeq_elem *elem, bool restore, struct bnx2x_vlan_mac_registry_elem **re) bnx2x_vlan_mac_get_registry_elem() argument 1784 struct bnx2x_exeq_elem *elem; bnx2x_execute_vlan_mac() local 1906 struct bnx2x_exeq_elem *elem; bnx2x_vlan_mac_push_new_cmd() local 3360 u64 elem; bnx2x_mcast_refresh_registry_e2() local 3729 struct bnx2x_mcast_mac_elem *elem; bnx2x_mcast_handle_restore_cmd_e1() local 3834 struct bnx2x_mcast_mac_elem *elem; bnx2x_mcast_refresh_registry_e1() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sp.c | 82 struct bnx2x_exeq_elem *elem) in bnx2x_exe_queue_free_elem() 85 kfree(elem); in bnx2x_exe_queue_free_elem() 90 struct bnx2x_exeq_elem *elem; in bnx2x_exe_queue_length() local 95 list_for_each_entry(elem, &o->exe_queue, link) in bnx2x_exe_queue_length() 108 * @elem: new command to add 115 struct bnx2x_exeq_elem *elem, in bnx2x_exe_queue_add() 124 rc = o->optimize(bp, o->owner, elem); in bnx2x_exe_queue_add() 129 rc = o->validate(bp, o->owner, elem); in bnx2x_exe_queue_add() 137 list_add_tail(&elem->link, &o->exe_queue); in bnx2x_exe_queue_add() 144 bnx2x_exe_queue_free_elem(bp, elem); in bnx2x_exe_queue_add() 81 bnx2x_exe_queue_free_elem(struct bnx2x *bp, struct bnx2x_exeq_elem *elem) bnx2x_exe_queue_free_elem() argument 113 bnx2x_exe_queue_add(struct bnx2x *bp, struct bnx2x_exe_queue_obj *o, struct bnx2x_exeq_elem *elem, bool restore) bnx2x_exe_queue_add() argument 155 struct bnx2x_exeq_elem *elem; __bnx2x_exe_queue_reset_pending() local 179 struct bnx2x_exeq_elem *elem, spacer; bnx2x_exe_queue_step() local 883 bnx2x_set_one_mac_e2(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *o, struct bnx2x_exeq_elem *elem, int rule_idx, int cam_offset) bnx2x_set_one_mac_e2() argument 1044 bnx2x_set_one_mac_e1x(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *o, struct bnx2x_exeq_elem *elem, int rule_idx, int cam_offset) bnx2x_set_one_mac_e1x() argument 1067 bnx2x_set_one_vlan_e2(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *o, struct bnx2x_exeq_elem *elem, int rule_idx, int cam_offset) bnx2x_set_one_vlan_e2() argument 1117 bnx2x_set_one_vlan_mac_e2(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *o, struct bnx2x_exeq_elem *elem, int rule_idx, int cam_offset) bnx2x_set_one_vlan_mac_e2() argument 1183 bnx2x_set_one_vlan_mac_e1h(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *o, struct bnx2x_exeq_elem *elem, int rule_idx, int cam_offset) bnx2x_set_one_vlan_mac_e1h() argument 1272 bnx2x_exeq_get_mac( struct bnx2x_exe_queue_obj *o, struct bnx2x_exeq_elem *elem) bnx2x_exeq_get_mac() argument 1289 bnx2x_exeq_get_vlan( struct bnx2x_exe_queue_obj *o, struct bnx2x_exeq_elem *elem) bnx2x_exeq_get_vlan() argument 1306 bnx2x_exeq_get_vlan_mac( struct bnx2x_exe_queue_obj *o, struct bnx2x_exeq_elem *elem) bnx2x_exeq_get_vlan_mac() argument 1338 bnx2x_validate_vlan_mac_add(struct bnx2x *bp, union bnx2x_qable_obj *qo, struct bnx2x_exeq_elem *elem) bnx2x_validate_vlan_mac_add() argument 1386 bnx2x_validate_vlan_mac_del(struct bnx2x *bp, union bnx2x_qable_obj *qo, struct bnx2x_exeq_elem *elem) bnx2x_validate_vlan_mac_del() argument 1445 bnx2x_validate_vlan_mac_move(struct bnx2x *bp, union bnx2x_qable_obj *qo, struct bnx2x_exeq_elem *elem) bnx2x_validate_vlan_mac_move() argument 1507 bnx2x_validate_vlan_mac(struct bnx2x *bp, union bnx2x_qable_obj *qo, struct bnx2x_exeq_elem *elem) bnx2x_validate_vlan_mac() argument 1523 bnx2x_remove_vlan_mac(struct bnx2x *bp, union bnx2x_qable_obj *qo, struct bnx2x_exeq_elem *elem) bnx2x_remove_vlan_mac() argument 1664 bnx2x_optimize_vlan_mac(struct bnx2x *bp, union bnx2x_qable_obj *qo, struct bnx2x_exeq_elem *elem) bnx2x_optimize_vlan_mac() argument 1726 bnx2x_vlan_mac_get_registry_elem( struct bnx2x *bp, struct bnx2x_vlan_mac_obj *o, struct bnx2x_exeq_elem *elem, bool restore, struct bnx2x_vlan_mac_registry_elem **re) bnx2x_vlan_mac_get_registry_elem() argument 1784 struct bnx2x_exeq_elem *elem; bnx2x_execute_vlan_mac() local 1906 struct bnx2x_exeq_elem *elem; bnx2x_vlan_mac_push_new_cmd() local 3360 u64 elem; bnx2x_mcast_refresh_registry_e2() local 3729 struct bnx2x_mcast_mac_elem *elem; bnx2x_mcast_handle_restore_cmd_e1() local 3834 struct bnx2x_mcast_mac_elem *elem; bnx2x_mcast_refresh_registry_e1() local [all...] |
/third_party/skia/src/core/ |
H A D | SkTMultiMap.h | 168 void internalRemove(ValueList* prev, ValueList* elem, const Key& key) { in internalRemove() argument 169 if (elem->fNext) { in internalRemove() 170 ValueList* next = elem->fNext; in internalRemove() 171 elem->fValue = next->fValue; in internalRemove() 172 elem->fNext = next->fNext; in internalRemove() 176 delete elem; in internalRemove() 179 delete elem; in internalRemove()
|
/third_party/vk-gl-cts/scripts/log/ |
H A D | log_to_xml.py | 43 def pushElement (self, elem): 45 self.rootElements.append(elem) 47 self.getCurElement().appendChild(elem) 48 self.elementStack.append(elem) 66 elem = self.doc.createElement(name) 69 elem.setAttribute(name, value) 70 self.pushElement(elem)
|
/kernel/linux/linux-5.10/security/integrity/platform_certs/ |
H A D | efi_parser.c | 48 const efi_signature_data_t *elem; in parse_efi_signature_list() local 74 esize < sizeof(*elem) || in parse_efi_signature_list() 94 elem = data; in parse_efi_signature_list() 98 &elem->signature_data, in parse_efi_signature_list() 99 esize - sizeof(*elem)); in parse_efi_signature_list()
|
/kernel/linux/linux-6.6/security/integrity/platform_certs/ |
H A D | efi_parser.c | 48 const efi_signature_data_t *elem; in parse_efi_signature_list() local 74 esize < sizeof(*elem) || in parse_efi_signature_list() 94 elem = data; in parse_efi_signature_list() 98 &elem->signature_data, in parse_efi_signature_list() 99 esize - sizeof(*elem)); in parse_efi_signature_list()
|
/third_party/elfutils/lib/ |
H A D | list.h | 49 #define CDBL_LIST_DEL(first, elem) \ 51 __typeof (elem) _elem = (elem); \ 54 && (first != elem \ 55 || ({ __typeof (elem) _runp = first->next; \
|
/kernel/linux/linux-5.10/net/netfilter/ipset/ |
H A D | ip_set_hash_ipportnet.c | 75 hash_ipportnet4_do_data_match(const struct hash_ipportnet4_elem *elem) in hash_ipportnet4_do_data_match() argument 77 return elem->nomatch ? -ENOTEMPTY : 1; in hash_ipportnet4_do_data_match() 81 hash_ipportnet4_data_set_flags(struct hash_ipportnet4_elem *elem, u32 flags) in hash_ipportnet4_data_set_flags() argument 83 elem->nomatch = !!((flags >> 16) & IPSET_FLAG_NOMATCH); in hash_ipportnet4_data_set_flags() 87 hash_ipportnet4_data_reset_flags(struct hash_ipportnet4_elem *elem, u8 *flags) in hash_ipportnet4_data_reset_flags() argument 89 swap(*flags, elem->nomatch); in hash_ipportnet4_data_reset_flags() 93 hash_ipportnet4_data_netmask(struct hash_ipportnet4_elem *elem, u8 cidr) in hash_ipportnet4_data_netmask() argument 95 elem->ip2 &= ip_set_netmask(cidr); in hash_ipportnet4_data_netmask() 96 elem->cidr = cidr - 1; in hash_ipportnet4_data_netmask() 330 hash_ipportnet6_do_data_match(const struct hash_ipportnet6_elem *elem) in hash_ipportnet6_do_data_match() argument 336 hash_ipportnet6_data_set_flags(struct hash_ipportnet6_elem *elem, u32 flags) hash_ipportnet6_data_set_flags() argument 342 hash_ipportnet6_data_reset_flags(struct hash_ipportnet6_elem *elem, u8 *flags) hash_ipportnet6_data_reset_flags() argument 348 hash_ipportnet6_data_netmask(struct hash_ipportnet6_elem *elem, u8 cidr) hash_ipportnet6_data_netmask() argument [all...] |