/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | conntrack.c | 217 /* Note entry1 and entry2 are not swappable. only skip ip and 220 static bool nfp_ct_merge_check_cannot_skip(struct nfp_fl_ct_flow_entry *entry1, in nfp_ct_merge_check_cannot_skip() argument 224 if ((entry1->flags & NFP_FL_ACTION_DO_NAT) && in nfp_ct_merge_check_cannot_skip() 231 /* Note entry1 and entry2 are not swappable, entry1 should be 236 static int nfp_ct_merge_check(struct nfp_fl_ct_flow_entry *entry1, in nfp_ct_merge_check() argument 242 ovlp_keys = entry1->rule->match.dissector->used_keys & in nfp_ct_merge_check() 254 if (entry1->netdev && entry2->netdev && in nfp_ct_merge_check() 255 entry1->netdev != entry2->netdev) in nfp_ct_merge_check() 264 flow_rule_match_control(entry1 in nfp_ct_merge_check() [all...] |
/kernel/linux/linux-5.10/fs/ext2/ |
H A D | xattr.c | 900 struct ext2_xattr_entry *entry1, *entry2; in ext2_xattr_cmp() local 902 entry1 = ENTRY(header1+1); in ext2_xattr_cmp() 904 while (!IS_LAST_ENTRY(entry1)) { in ext2_xattr_cmp() 907 if (entry1->e_hash != entry2->e_hash || in ext2_xattr_cmp() 908 entry1->e_name_index != entry2->e_name_index || in ext2_xattr_cmp() 909 entry1->e_name_len != entry2->e_name_len || in ext2_xattr_cmp() 910 entry1->e_value_size != entry2->e_value_size || in ext2_xattr_cmp() 911 memcmp(entry1->e_name, entry2->e_name, entry1->e_name_len)) in ext2_xattr_cmp() 913 if (entry1 in ext2_xattr_cmp() [all...] |
/kernel/linux/linux-6.6/fs/ext2/ |
H A D | xattr.c | 901 struct ext2_xattr_entry *entry1, *entry2; in ext2_xattr_cmp() local 903 entry1 = ENTRY(header1+1); in ext2_xattr_cmp() 905 while (!IS_LAST_ENTRY(entry1)) { in ext2_xattr_cmp() 908 if (entry1->e_hash != entry2->e_hash || in ext2_xattr_cmp() 909 entry1->e_name_index != entry2->e_name_index || in ext2_xattr_cmp() 910 entry1->e_name_len != entry2->e_name_len || in ext2_xattr_cmp() 911 entry1->e_value_size != entry2->e_value_size || in ext2_xattr_cmp() 912 memcmp(entry1->e_name, entry2->e_name, entry1->e_name_len)) in ext2_xattr_cmp() 914 if (entry1 in ext2_xattr_cmp() [all...] |
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | block_validity.c | 46 static inline int can_merge(struct ext4_system_zone *entry1, in can_merge() argument 49 if ((entry1->start_blk + entry1->count) == entry2->start_blk && in can_merge() 50 entry1->ino == entry2->ino) in can_merge()
|
H A D | xattr.c | 3015 struct ext4_xattr_entry *entry1, *entry2; in ext4_xattr_cmp() local 3017 entry1 = ENTRY(header1+1); in ext4_xattr_cmp() 3019 while (!IS_LAST_ENTRY(entry1)) { in ext4_xattr_cmp() 3022 if (entry1->e_hash != entry2->e_hash || in ext4_xattr_cmp() 3023 entry1->e_name_index != entry2->e_name_index || in ext4_xattr_cmp() 3024 entry1->e_name_len != entry2->e_name_len || in ext4_xattr_cmp() 3025 entry1->e_value_size != entry2->e_value_size || in ext4_xattr_cmp() 3026 entry1->e_value_inum != entry2->e_value_inum || in ext4_xattr_cmp() 3027 memcmp(entry1->e_name, entry2->e_name, entry1 in ext4_xattr_cmp() [all...] |
/kernel/linux/linux-6.6/fs/ext4/ |
H A D | block_validity.c | 46 static inline int can_merge(struct ext4_system_zone *entry1, in can_merge() argument 49 if ((entry1->start_blk + entry1->count) == entry2->start_blk && in can_merge() 50 entry1->ino == entry2->ino) in can_merge()
|
H A D | xattr.c | 3073 struct ext4_xattr_entry *entry1, *entry2; in ext4_xattr_cmp() local 3075 entry1 = ENTRY(header1+1); in ext4_xattr_cmp() 3077 while (!IS_LAST_ENTRY(entry1)) { in ext4_xattr_cmp() 3080 if (entry1->e_hash != entry2->e_hash || in ext4_xattr_cmp() 3081 entry1->e_name_index != entry2->e_name_index || in ext4_xattr_cmp() 3082 entry1->e_name_len != entry2->e_name_len || in ext4_xattr_cmp() 3083 entry1->e_value_size != entry2->e_value_size || in ext4_xattr_cmp() 3084 entry1->e_value_inum != entry2->e_value_inum || in ext4_xattr_cmp() 3085 memcmp(entry1->e_name, entry2->e_name, entry1 in ext4_xattr_cmp() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/ |
H A D | uda.c | 175 * @entry1: Multcast group info 178 static bool irdma_compare_mgs(struct irdma_mcast_grp_ctx_entry_info *entry1, in irdma_compare_mgs() argument 181 if (entry1->dest_port == entry2->dest_port && in irdma_compare_mgs() 182 entry1->qp_id == entry2->qp_id) in irdma_compare_mgs()
|
/kernel/linux/linux-6.6/arch/x86/kernel/apic/ |
H A D | io_apic.c | 491 struct IO_APIC_route_entry entry, entry1; in __eoi_ioapic_pin() local 493 entry = entry1 = __ioapic_read_entry(apic, pin); in __eoi_ioapic_pin() 498 entry1.masked = true; in __eoi_ioapic_pin() 499 entry1.is_level = false; in __eoi_ioapic_pin() 501 __ioapic_write_entry(apic, pin, entry1); in __eoi_ioapic_pin() 2076 struct IO_APIC_route_entry entry0, entry1; in unlock_ExtINT_logic() local 2095 memset(&entry1, 0, sizeof(entry1)); in unlock_ExtINT_logic() 2097 entry1.dest_mode_logical = true; in unlock_ExtINT_logic() 2098 entry1 in unlock_ExtINT_logic() [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/apic/ |
H A D | io_apic.c | 502 struct IO_APIC_route_entry entry, entry1; in __eoi_ioapic_pin() local 504 entry = entry1 = __ioapic_read_entry(apic, pin); in __eoi_ioapic_pin() 509 entry1.mask = IOAPIC_MASKED; in __eoi_ioapic_pin() 510 entry1.trigger = IOAPIC_EDGE; in __eoi_ioapic_pin() 512 __ioapic_write_entry(apic, pin, entry1); in __eoi_ioapic_pin() 2040 struct IO_APIC_route_entry entry0, entry1; in unlock_ExtINT_logic() local 2057 memset(&entry1, 0, sizeof(entry1)); in unlock_ExtINT_logic() 2059 entry1.dest_mode = IOAPIC_DEST_MODE_PHYSICAL; in unlock_ExtINT_logic() 2060 entry1 in unlock_ExtINT_logic() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | list.h | 182 * list_swap - replace entry1 with entry2 and re-add entry1 at entry2's position 183 * @entry1: the location to place entry2 184 * @entry2: the location to place entry1 186 static inline void list_swap(struct list_head *entry1, in list_swap() argument 192 list_replace(entry1, entry2); in list_swap() 193 if (pos == entry1) in list_swap() 195 list_add(entry1, pos); in list_swap()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | list.h | 265 * list_swap - replace entry1 with entry2 and re-add entry1 at entry2's position 266 * @entry1: the location to place entry2 267 * @entry2: the location to place entry1 269 static inline void list_swap(struct list_head *entry1, in list_swap() argument 275 list_replace(entry1, entry2); in list_swap() 276 if (pos == entry1) in list_swap() 278 list_add(entry1, pos); in list_swap()
|
/kernel/linux/linux-5.10/drivers/pci/controller/cadence/ |
H A D | pcie-cadence-host.c | 378 struct resource_entry *entry1, *entry2; in cdns_pcie_host_dma_ranges_cmp() local 380 entry1 = container_of(a, struct resource_entry, node); in cdns_pcie_host_dma_ranges_cmp() 383 return resource_size(entry2->res) - resource_size(entry1->res); in cdns_pcie_host_dma_ranges_cmp()
|
/kernel/linux/linux-6.6/drivers/pci/controller/cadence/ |
H A D | pcie-cadence-host.c | 386 struct resource_entry *entry1, *entry2; in cdns_pcie_host_dma_ranges_cmp() local 388 entry1 = container_of(a, struct resource_entry, node); in cdns_pcie_host_dma_ranges_cmp() 391 return resource_size(entry2->res) - resource_size(entry1->res); in cdns_pcie_host_dma_ranges_cmp()
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_attr_leaf.c | 2856 struct xfs_attr_leaf_entry *entry1; in xfs_attr3_leaf_flipflags() local 2892 entry1 = &xfs_attr3_leaf_entryp(leaf1)[args->index]; in xfs_attr3_leaf_flipflags() 2906 if (entry1->flags & XFS_ATTR_LOCAL) { in xfs_attr3_leaf_flipflags() 2924 ASSERT(be32_to_cpu(entry1->hashval) == be32_to_cpu(entry2->hashval)); in xfs_attr3_leaf_flipflags() 2929 ASSERT(entry1->flags & XFS_ATTR_INCOMPLETE); in xfs_attr3_leaf_flipflags() 2932 entry1->flags &= ~XFS_ATTR_INCOMPLETE; in xfs_attr3_leaf_flipflags() 2934 XFS_DA_LOGRANGE(leaf1, entry1, sizeof(*entry1))); in xfs_attr3_leaf_flipflags() 2936 ASSERT((entry1->flags & XFS_ATTR_LOCAL) == 0); in xfs_attr3_leaf_flipflags()
|
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_attr_leaf.c | 2900 struct xfs_attr_leaf_entry *entry1; in xfs_attr3_leaf_flipflags() local 2936 entry1 = &xfs_attr3_leaf_entryp(leaf1)[args->index]; in xfs_attr3_leaf_flipflags() 2950 if (entry1->flags & XFS_ATTR_LOCAL) { in xfs_attr3_leaf_flipflags() 2968 ASSERT(be32_to_cpu(entry1->hashval) == be32_to_cpu(entry2->hashval)); in xfs_attr3_leaf_flipflags() 2973 ASSERT(entry1->flags & XFS_ATTR_INCOMPLETE); in xfs_attr3_leaf_flipflags() 2976 entry1->flags &= ~XFS_ATTR_INCOMPLETE; in xfs_attr3_leaf_flipflags() 2978 XFS_DA_LOGRANGE(leaf1, entry1, sizeof(*entry1))); in xfs_attr3_leaf_flipflags() 2980 ASSERT((entry1->flags & XFS_ATTR_LOCAL) == 0); in xfs_attr3_leaf_flipflags()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nf_flow_table_offload.c | 180 struct flow_action_entry *entry1 = flow_action_entry_next(flow_rule); in flow_offload_eth_src() local 197 flow_offload_mangle(entry1, FLOW_ACT_MANGLE_HDR_TYPE_ETH, 8, in flow_offload_eth_src() 210 struct flow_action_entry *entry1 = flow_action_entry_next(flow_rule); in flow_offload_eth_dst() local 242 flow_offload_mangle(entry1, FLOW_ACT_MANGLE_HDR_TYPE_ETH, 4, in flow_offload_eth_dst()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_flow_table_offload.c | 229 struct flow_action_entry *entry1 = flow_action_entry_next(flow_rule); in flow_offload_eth_src() local 262 flow_offload_mangle(entry1, FLOW_ACT_MANGLE_HDR_TYPE_ETH, 8, in flow_offload_eth_src() 276 struct flow_action_entry *entry1 = flow_action_entry_next(flow_rule); in flow_offload_eth_dst() local 321 flow_offload_mangle(entry1, FLOW_ACT_MANGLE_HDR_TYPE_ETH, 4, in flow_offload_eth_dst()
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
H A D | ip_tables.c | 1399 void *pos, *entry0, *entry1; in translate_compat_table() local 1441 entry1 = newinfo->entries; in translate_compat_table() 1442 pos = entry1; in translate_compat_table() 1446 newinfo, entry1); in translate_compat_table() 1449 * entry1/newinfo contains a 64bit ruleset that looks exactly as in translate_compat_table() 1468 ret = translate_table(net, newinfo, entry1, &repl); in translate_compat_table() 1473 *pentry0 = entry1; in translate_compat_table()
|
H A D | arp_tables.c | 1165 void *pos, *entry0, *entry1; in translate_compat_table() local 1207 entry1 = newinfo->entries; in translate_compat_table() 1208 pos = entry1; in translate_compat_table() 1212 newinfo, entry1); in translate_compat_table() 1229 ret = translate_table(net, newinfo, entry1, &repl); in translate_compat_table() 1234 *pentry0 = entry1; in translate_compat_table()
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
H A D | ip6_tables.c | 1415 void *pos, *entry0, *entry1; in translate_compat_table() local 1457 entry1 = newinfo->entries; in translate_compat_table() 1458 pos = entry1; in translate_compat_table() 1462 newinfo, entry1); in translate_compat_table() 1478 ret = translate_table(net, newinfo, entry1, &repl); in translate_compat_table() 1483 *pentry0 = entry1; in translate_compat_table()
|
/kernel/linux/linux-6.6/net/ipv4/netfilter/ |
H A D | ip_tables.c | 1394 void *pos, *entry0, *entry1; in translate_compat_table() local 1436 entry1 = newinfo->entries; in translate_compat_table() 1437 pos = entry1; in translate_compat_table() 1441 newinfo, entry1); in translate_compat_table() 1444 * entry1/newinfo contains a 64bit ruleset that looks exactly as in translate_compat_table() 1463 ret = translate_table(net, newinfo, entry1, &repl); in translate_compat_table() 1468 *pentry0 = entry1; in translate_compat_table()
|
H A D | arp_tables.c | 1162 void *pos, *entry0, *entry1; in translate_compat_table() local 1204 entry1 = newinfo->entries; in translate_compat_table() 1205 pos = entry1; in translate_compat_table() 1209 newinfo, entry1); in translate_compat_table() 1226 ret = translate_table(net, newinfo, entry1, &repl); in translate_compat_table() 1231 *pentry0 = entry1; in translate_compat_table()
|
/kernel/linux/linux-6.6/net/ipv6/netfilter/ |
H A D | ip6_tables.c | 1409 void *pos, *entry0, *entry1; in translate_compat_table() local 1451 entry1 = newinfo->entries; in translate_compat_table() 1452 pos = entry1; in translate_compat_table() 1456 newinfo, entry1); in translate_compat_table() 1472 ret = translate_table(net, newinfo, entry1, &repl); in translate_compat_table() 1477 *pentry0 = entry1; in translate_compat_table()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | dir.c | 3496 const struct ocfs2_dx_entry *entry1 = a; in dx_leaf_sort_cmp() local 3498 u32 major_hash1 = le32_to_cpu(entry1->dx_major_hash); in dx_leaf_sort_cmp() 3500 u32 minor_hash1 = le32_to_cpu(entry1->dx_minor_hash); in dx_leaf_sort_cmp() 3520 struct ocfs2_dx_entry *entry1 = a; in dx_leaf_sort_swap() local 3523 BUG_ON(size != sizeof(*entry1)); in dx_leaf_sort_swap() 3525 swap(*entry1, *entry2); in dx_leaf_sort_swap()
|