/Linux-v4.19/tools/testing/selftests/net/ |
D | fib_rule_tests.sh | 100 local match="$1" 103 $IP -6 rule add $match table $RTABLE 107 fib_rule6_del_by_pref "$match" 108 log_test $? 0 "rule6 del by pref: $match" 116 match="oif $DEV" 117 fib_rule6_test_match_n_redirect "$match" "$match" "oif redirect to table" 119 match="from $SRC_IP6 iif $DEV" 120 fib_rule6_test_match_n_redirect "$match" "$match" "iif redirect to table" 122 match="tos 0x10" 123 fib_rule6_test_match_n_redirect "$match" "$match" "tos redirect to table" [all …]
|
/Linux-v4.19/drivers/base/ |
D | component.c | 41 struct component_match *match; member 65 struct component_match *match = m->match; in component_devices_show() local 76 for (i = 0; i < match->num; i++) { in component_devices_show() 77 struct device *d = (struct device *)match->compare[i].data; in component_devices_show() 80 match->compare[i].component ? in component_devices_show() 162 struct component_match *match = master->match; in find_components() local 170 for (i = 0; i < match->num; i++) { in find_components() 171 struct component_match_array *mc = &match->compare[i]; in find_components() 176 if (match->compare[i].component) in find_components() 188 match->compare[i].duplicate = !!c->master; in find_components() [all …]
|
/Linux-v4.19/drivers/regulator/ |
D | devres.c | 248 struct regulator_supply_alias_match *match = res; in devm_regulator_match_supply_alias() local 251 return match->dev == target->dev && strcmp(match->id, target->id) == 0; in devm_regulator_match_supply_alias() 256 struct regulator_supply_alias_match *match = res; in devm_regulator_destroy_supply_alias() local 258 regulator_unregister_supply_alias(match->dev, match->id); in devm_regulator_destroy_supply_alias() 278 struct regulator_supply_alias_match *match; in devm_regulator_register_supply_alias() local 281 match = devres_alloc(devm_regulator_destroy_supply_alias, in devm_regulator_register_supply_alias() 284 if (!match) in devm_regulator_register_supply_alias() 287 match->dev = dev; in devm_regulator_register_supply_alias() 288 match->id = id; in devm_regulator_register_supply_alias() 292 devres_free(match); in devm_regulator_register_supply_alias() [all …]
|
/Linux-v4.19/net/sched/ |
D | em_ipt.c | 26 const struct xt_match *match; member 56 mtpar.family = im->match->family; in check_match() 57 mtpar.match = im->match; in check_match() 120 struct xt_match *match; in em_ipt_change() local 132 match = get_xt_match(tb); in em_ipt_change() 133 if (IS_ERR(match)) { in em_ipt_change() 135 return PTR_ERR(match); in em_ipt_change() 145 im->match = match; in em_ipt_change() 159 module_put(match->me); in em_ipt_change() 170 if (im->match->destroy) { in em_ipt_destroy() [all …]
|
/Linux-v4.19/arch/x86/mm/ |
D | pat_rbtree.c | 109 struct memtype *match; in memtype_rb_match() local 111 match = memtype_rb_lowest_match(root, start, end); in memtype_rb_match() 112 while (match != NULL && match->start < end) { in memtype_rb_match() 116 (match->start == start) && (match->end == end)) in memtype_rb_match() 117 return match; in memtype_rb_match() 120 (match->start < start) && (match->end == end)) in memtype_rb_match() 121 return match; in memtype_rb_match() 123 node = rb_next(&match->rb); in memtype_rb_match() 125 match = rb_entry(node, struct memtype, rb); in memtype_rb_match() 127 match = NULL; in memtype_rb_match() [all …]
|
/Linux-v4.19/net/openvswitch/ |
D | flow_netlink.c | 101 static void update_range(struct sw_flow_match *match, in update_range() argument 109 range = &match->range; in update_range() 111 range = &match->mask->range; in update_range() 126 #define SW_FLOW_KEY_PUT(match, field, value, is_mask) \ argument 128 update_range(match, offsetof(struct sw_flow_key, field), \ 129 sizeof((match)->key->field), is_mask); \ 131 (match)->mask->key.field = value; \ 133 (match)->key->field = value; \ 136 #define SW_FLOW_KEY_MEMCPY_OFFSET(match, offset, value_p, len, is_mask) \ argument 138 update_range(match, offset, len, is_mask); \ [all …]
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_dpipe.c | 101 struct devlink_dpipe_match match = {0}; in mlxsw_sp_dpipe_table_erif_matches_dump() local 103 match.type = DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT; in mlxsw_sp_dpipe_table_erif_matches_dump() 104 match.header = &mlxsw_sp_dpipe_header_metadata; in mlxsw_sp_dpipe_table_erif_matches_dump() 105 match.field_id = MLXSW_SP_DPIPE_FIELD_METADATA_ERIF_PORT; in mlxsw_sp_dpipe_table_erif_matches_dump() 107 return devlink_dpipe_match_put(skb, &match); in mlxsw_sp_dpipe_table_erif_matches_dump() 111 mlxsw_sp_erif_match_action_prepare(struct devlink_dpipe_match *match, in mlxsw_sp_erif_match_action_prepare() argument 118 match->type = DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT; in mlxsw_sp_erif_match_action_prepare() 119 match->header = &mlxsw_sp_dpipe_header_metadata; in mlxsw_sp_erif_match_action_prepare() 120 match->field_id = MLXSW_SP_DPIPE_FIELD_METADATA_ERIF_PORT; in mlxsw_sp_erif_match_action_prepare() 125 struct devlink_dpipe_match *match, in mlxsw_sp_erif_entry_prepare() argument [all …]
|
/Linux-v4.19/drivers/staging/erofs/ |
D | unzip_lz4.c | 76 const BYTE *match; in customized_lz4_decompress_safe_partial() local 138 match = op - offset; in customized_lz4_decompress_safe_partial() 140 if (unlikely(match < (const BYTE *)dest)) { in customized_lz4_decompress_safe_partial() 173 *op++ = *match++; in customized_lz4_decompress_safe_partial() 185 op[0] = match[0]; in customized_lz4_decompress_safe_partial() 186 op[1] = match[1]; in customized_lz4_decompress_safe_partial() 187 op[2] = match[2]; in customized_lz4_decompress_safe_partial() 188 op[3] = match[3]; in customized_lz4_decompress_safe_partial() 189 match += dec32table[offset]; in customized_lz4_decompress_safe_partial() 190 memcpy(op + 4, match, 4); in customized_lz4_decompress_safe_partial() [all …]
|
/Linux-v4.19/net/netfilter/ |
D | xt_ipvs.c | 57 bool match = true; in ipvs_mt() local 60 match = skb->ipvs_property ^ in ipvs_mt() 67 match = false; in ipvs_mt() 76 match = false; in ipvs_mt() 82 match = false; in ipvs_mt() 91 match = false; in ipvs_mt() 103 match = false; in ipvs_mt() 111 match = false; in ipvs_mt() 120 match = false; in ipvs_mt() 126 match = false; in ipvs_mt() [all …]
|
D | x_tables.c | 52 struct list_head match; member 123 int xt_register_match(struct xt_match *match) in xt_register_match() argument 125 u_int8_t af = match->family; in xt_register_match() 128 list_add(&match->list, &xt[af].match); in xt_register_match() 135 xt_unregister_match(struct xt_match *match) in xt_unregister_match() argument 137 u_int8_t af = match->family; in xt_unregister_match() 140 list_del(&match->list); in xt_unregister_match() 146 xt_register_matches(struct xt_match *match, unsigned int n) in xt_register_matches() argument 152 err = xt_register_match(&match[i]); in xt_register_matches() 160 xt_unregister_matches(match, i); in xt_register_matches() [all …]
|
D | xt_owner.c | 31 if ((info->match & (XT_OWNER_UID|XT_OWNER_GID)) && in owner_check() 36 if (info->match & XT_OWNER_UID) { in owner_check() 48 if (info->match & XT_OWNER_GID) { in owner_check() 71 return (info->match ^ info->invert) == 0; in owner_mt() 72 else if (info->match & info->invert & XT_OWNER_SOCKET) in owner_mt() 81 return ((info->match ^ info->invert) & in owner_mt() 84 if (info->match & XT_OWNER_UID) { in owner_mt() 93 if (info->match & XT_OWNER_GID) { in owner_mt() 110 .match = owner_mt,
|
D | nft_compat.c | 339 struct xt_match *match = expr->ops->data; in __nft_match_eval() local 343 nft_compat_set_par((struct xt_action_param *)&pkt->xt, match, info); in __nft_match_eval() 345 ret = match->match(skb, (struct xt_action_param *)&pkt->xt); in __nft_match_eval() 387 struct xt_match *match, void *info, in nft_match_set_mtchk_param() argument 412 par->match = match; in nft_match_set_mtchk_param() 442 struct xt_match *match = expr->ops->data; in __nft_match_init() local 451 match_compat_from_user(match, nla_data(tb[NFTA_MATCH_INFO]), info); in __nft_match_init() 459 nft_match_set_mtchk_param(&par, ctx, match, info, &e, proto, inv); in __nft_match_init() 499 struct xt_match *match = expr->ops->data; in __nft_match_destroy() local 503 par.match = match; in __nft_match_destroy() [all …]
|
/Linux-v4.19/sound/soc/intel/common/ |
D | Makefile | 6 snd-soc-acpi-intel-match-objs := soc-acpi-intel-byt-match.o soc-acpi-intel-cht-match.o \ 7 soc-acpi-intel-hsw-bdw-match.o \ 8 soc-acpi-intel-skl-match.o soc-acpi-intel-kbl-match.o \ 9 soc-acpi-intel-bxt-match.o soc-acpi-intel-glk-match.o \ 10 soc-acpi-intel-cnl-match.o 15 obj-$(CONFIG_SND_SOC_ACPI_INTEL_MATCH) += snd-soc-acpi-intel-match.o
|
/Linux-v4.19/tools/objtool/arch/x86/tools/ |
D | gen-insn-attr-x86.awk | 245 if (match(i, imm_expr) == 1) { 254 } else if (match(i, modrm_expr)) 293 if (match($i, opnd_expr)) { 298 if (match($i, ext_expr)) 300 if (match($i, sep_expr)) 306 if (match(opcode, group_expr)) { 314 if (match(ext, force64_expr)) 318 if (match(opcode, rex_expr)) 322 if (match(opcode, fpu_expr)) 326 if (match(ext, evexonly_expr)) [all …]
|
/Linux-v4.19/tools/perf/util/intel-pt-decoder/ |
D | gen-insn-attr-x86.awk | 245 if (match(i, imm_expr) == 1) { 254 } else if (match(i, modrm_expr)) 293 if (match($i, opnd_expr)) { 298 if (match($i, ext_expr)) 300 if (match($i, sep_expr)) 306 if (match(opcode, group_expr)) { 314 if (match(ext, force64_expr)) 318 if (match(opcode, rex_expr)) 322 if (match(opcode, fpu_expr)) 326 if (match(ext, evexonly_expr)) [all …]
|
/Linux-v4.19/arch/x86/tools/ |
D | gen-insn-attr-x86.awk | 245 if (match(i, imm_expr) == 1) { 254 } else if (match(i, modrm_expr)) 293 if (match($i, opnd_expr)) { 298 if (match($i, ext_expr)) 300 if (match($i, sep_expr)) 306 if (match(opcode, group_expr)) { 314 if (match(ext, force64_expr)) 318 if (match(opcode, rex_expr)) 322 if (match(opcode, fpu_expr)) 326 if (match(ext, evexonly_expr)) [all …]
|
/Linux-v4.19/arch/sh/mm/ |
D | tlbflush_64.c | 33 unsigned long long match, pteh=0, lpage; in local_flush_tlb_one() local 40 match = (asid << PTEH_ASID_SHIFT) | PTEH_VALID; in local_flush_tlb_one() 41 match |= lpage; in local_flush_tlb_one() 48 if (pteh == match) { in local_flush_tlb_one() 59 if (pteh == match) { in local_flush_tlb_one() 83 unsigned long long match, pteh=0, pteh_epn, pteh_low; in local_flush_tlb_range() local 97 match = (cpu_asid(cpu, mm) << PTEH_ASID_SHIFT) | PTEH_VALID; in local_flush_tlb_range() 108 if (pteh_low == match && pteh_epn >= start && pteh_epn <= end) in local_flush_tlb_range() 121 if (pteh_low == match && pteh_epn >= start && pteh_epn <= end) in local_flush_tlb_range()
|
/Linux-v4.19/lib/lz4/ |
D | lz4_decompress.c | 109 const BYTE *match; in LZ4_decompress_generic() local 198 match = op - offset; in LZ4_decompress_generic() 200 if ((checkOffset) && (unlikely(match < lowLimit))) { in LZ4_decompress_generic() 233 if ((dict == usingExtDict) && (match < lowPrefix)) { in LZ4_decompress_generic() 239 if (length <= (size_t)(lowPrefix - match)) { in LZ4_decompress_generic() 244 memmove(op, dictEnd - (lowPrefix - match), in LZ4_decompress_generic() 252 size_t const copySize = (size_t)(lowPrefix - match); in LZ4_decompress_generic() 280 op[0] = match[0]; in LZ4_decompress_generic() 281 op[1] = match[1]; in LZ4_decompress_generic() 282 op[2] = match[2]; in LZ4_decompress_generic() [all …]
|
D | lz4_compress.c | 246 const BYTE *match; in LZ4_compress_generic() local 265 match = LZ4_getPositionOnHash(h, in LZ4_compress_generic() 270 if (match < (const BYTE *)source) { in LZ4_compress_generic() 284 ? (match < lowRefLimit) in LZ4_compress_generic() 288 : (match + MAX_DISTANCE < ip)) in LZ4_compress_generic() 289 || (LZ4_read32(match + refDelta) in LZ4_compress_generic() 294 while (((ip > anchor) & (match + refDelta > lowLimit)) in LZ4_compress_generic() 295 && (unlikely(ip[-1] == match[refDelta - 1]))) { in LZ4_compress_generic() 297 match--; in LZ4_compress_generic() 331 LZ4_writeLE16(op, (U16)(ip - match)); in LZ4_compress_generic() [all …]
|
/Linux-v4.19/arch/mips/include/asm/ |
D | machine.h | 50 const struct of_device_id *match; in mips_machine_is_compatible() local 55 for (match = mach->matches; match->compatible[0]; match++) { in mips_machine_is_compatible() 56 if (fdt_node_check_compatible(fdt, 0, match->compatible) == 0) in mips_machine_is_compatible() 57 return match; in mips_machine_is_compatible()
|
/Linux-v4.19/drivers/media/v4l2-core/ |
D | v4l2-async.c | 61 asd->match.i2c.adapter_id == client->adapter->nr && in match_i2c() 62 asd->match.i2c.address == client->addr; in match_i2c() 71 return !strcmp(asd->match.device_name, dev_name(sd->dev)); in match_devname() 76 return sd->fwnode == asd->match.fwnode; in match_fwnode() 81 if (!asd->match.custom.match) in match_custom() 85 return asd->match.custom.match(sd->dev, asd); in match_custom() 95 bool (*match)(struct v4l2_subdev *, struct v4l2_async_subdev *); in v4l2_async_find_match() local 102 match = match_custom; in v4l2_async_find_match() 105 match = match_devname; in v4l2_async_find_match() 108 match = match_i2c; in v4l2_async_find_match() [all …]
|
/Linux-v4.19/drivers/media/rc/ |
D | winbond-cir.c | 683 u8 match[11]; in wbcir_shutdown() local 691 memset(match, 0, sizeof(match)); in wbcir_shutdown() 706 match[1] |= 0x10; in wbcir_shutdown() 708 match[0] = (wake_sc & 0x003F); /* 6 command bits */ in wbcir_shutdown() 709 match[0] |= (wake_sc & 0x0300) >> 2; /* 2 address bits */ in wbcir_shutdown() 710 match[1] = (wake_sc & 0x1c00) >> 10; /* 3 address bits */ in wbcir_shutdown() 712 match[1] |= 0x10; in wbcir_shutdown() 723 match[1] = bitrev8(wake_sc); in wbcir_shutdown() 724 match[0] = ~match[1]; in wbcir_shutdown() 725 match[3] = bitrev8(wake_sc >> 8); in wbcir_shutdown() [all …]
|
/Linux-v4.19/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-tar.h | 36 int match = 1; in validate_tar_registers() local 39 match = 0; in validate_tar_registers() 42 match = 0; in validate_tar_registers() 45 match = 0; in validate_tar_registers() 47 if (!match) in validate_tar_registers()
|
/Linux-v4.19/Documentation/media/uapi/v4l/ |
D | vidioc-dbg-g-chip-info.rst | 50 To query the driver applications must initialize the ``match.type`` and 51 ``match.addr`` or ``match.name`` fields of a struct 57 When ``match.type`` is ``V4L2_CHIP_MATCH_BRIDGE``, ``match.addr`` 59 chips by starting at zero and incrementing ``match.addr`` by one until 65 When ``match.type`` is ``V4L2_CHIP_MATCH_SUBDEV``, ``match.addr`` 82 .. _name-v4l2-dbg-match: 91 - See :ref:`name-chip-match-types` for a list of possible types. 117 - ``match`` 118 - How to match the chip, see :ref:`name-v4l2-dbg-match`. 136 .. _name-chip-match-types: [all …]
|
D | vidioc-dbg-g-register.rst | 55 ``match.type`` and ``match.addr`` or ``match.name`` fields select a chip 59 To read a register applications must initialize the ``match.type``, 60 ``match.addr`` or ``match.name`` and ``reg`` fields, and call 65 When ``match.type`` is ``V4L2_CHIP_MATCH_BRIDGE``, ``match.addr`` 71 When ``match.type`` is ``V4L2_CHIP_MATCH_SUBDEV``, ``match.addr`` 100 - See :ref:`chip-match-types` for a list of possible types. 123 - ``match`` 124 - How to match the chip, see :c:type:`v4l2_dbg_match`. 139 .. _chip-match-types: 149 match sub-devices.
|