/linux-master/drivers/power/supply/ |
H A D | power_supply_sysfs.c | 247 bool match = false; local 256 match = true; 263 if (!match) { 341 * If no match was found, then check to see if it is an integer. 527 bool match = false, available, active; local 538 match = true; 545 if (!match) {
|
/linux-master/kernel/ |
H A D | seccomp.c | 400 * @match: stores struct seccomp_filter that resulted in the return value, 407 struct seccomp_filter **match) 430 *match = f; 1099 static bool should_sleep_killable(struct seccomp_filter *match, argument 1102 return match->wait_killable_recv && n->state == SECCOMP_NOTIFY_SENT; 1106 struct seccomp_filter *match, 1115 mutex_lock(&match->notify_lock); 1117 if (!match->notif) 1123 n.id = seccomp_next_notify_id(match); 1125 list_add_tail(&n.list, &match 406 seccomp_run_filters(const struct seccomp_data *sd, struct seccomp_filter **match) argument 1105 seccomp_do_user_notification(int this_syscall, struct seccomp_filter *match, const struct seccomp_data *sd) argument 1207 struct seccomp_filter *match = NULL; local [all...] |
/linux-master/drivers/iommu/arm/arm-smmu/ |
H A D | arm-smmu-qcom.c | 376 const struct of_device_id *match = local 379 return match ? IOMMU_DOMAIN_IDENTITY : 0; 567 const struct of_device_id *match; local 577 match = of_match_node(qcom_smmu_impl_of_match, np); 578 if (match) 579 return qcom_smmu_create(smmu, match->data);
|
/linux-master/drivers/net/ethernet/rocker/ |
H A D | rocker_ofdpa.c | 218 * priority match takes precedence over lower priority match. 742 const struct ofdpa_flow_tbl_entry *match) 745 size_t key_len = match->key_len ? match->key_len : sizeof(found->key); 748 entry, match->key_crc32) { 749 if (memcmp(&found->key, &match->key, key_len) == 0) 757 int flags, struct ofdpa_flow_tbl_entry *match) 761 size_t key_len = match->key_len ? match 741 ofdpa_flow_tbl_find(const struct ofdpa *ofdpa, const struct ofdpa_flow_tbl_entry *match) argument 756 ofdpa_flow_tbl_add(struct ofdpa_port *ofdpa_port, int flags, struct ofdpa_flow_tbl_entry *match) argument 791 ofdpa_flow_tbl_del(struct ofdpa_port *ofdpa_port, int flags, struct ofdpa_flow_tbl_entry *match) argument 1048 ofdpa_group_tbl_find(const struct ofdpa *ofdpa, const struct ofdpa_group_tbl_entry *match) argument 1075 ofdpa_group_tbl_add(struct ofdpa_port *ofdpa_port, int flags, struct ofdpa_group_tbl_entry *match) argument 1106 ofdpa_group_tbl_del(struct ofdpa_port *ofdpa_port, int flags, struct ofdpa_group_tbl_entry *match) argument 1885 ofdpa_fdb_tbl_find(const struct ofdpa *ofdpa, const struct ofdpa_fdb_tbl_entry *match) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | bridge.c | 96 u32 *in, *match; local 104 match = MLX5_ADDR_OF(create_flow_group_in, in, match_criteria); 106 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.smac_47_16); 107 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.smac_15_0); 109 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.cvlan_tag); 111 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.svlan_tag); 112 MLX5_SET_TO_ONES(fte_match_param, match, outer_headers.first_vid); 114 MLX5_SET(fte_match_param, match, misc_parameters_2.metadata_reg_c_0, 158 u32 *in, *match; local 166 match 216 u32 *in, *match; local 254 u32 *in, *match; local 307 u32 *in, *match; local 338 u32 *in, *match; local [all...] |
/linux-master/tools/power/pm-graph/ |
H A D | sleepgraph.py | 423 m = re.match('(?P<name>.*)_dmesg\.txt.*', self.dmesgfile) 427 m = re.match('(?P<name>.*)_ftrace\.txt.*', self.ftracefile) 467 if re.match('^processor[ \t]*:[ \t]*[0-9]*', line): 472 m = re.match('^MemTotal:[ \t]*(?P<sz>[0-9]*) *kB', line) 475 m = re.match('^MemFree:[ \t]*(?P<sz>[0-9]*) *kB', line) 542 m = re.match('[ \t]*(\[ *)(?P<ktime>[0-9\.]*)(\]) (?P<msg>.*)', line) 556 m = re.match('[ \t]*(\[ *)(?P<ktime>[0-9\.]*)(\]) (?P<msg>.*)', line) 639 m = re.match('.* '+arg+'=(?P<arg>.*) ', data); 643 m = re.match('.* '+arg+'=(?P<arg>.*)', data); 989 m = re.match(t [all...] |
/linux-master/lib/zstd/compress/ |
H A D | zstd_fast.c | 79 * like a CPU, we have to dump the pipeline when we find a match (i.e., take a 124 U32 idx; /* match idx for ip0 */ 125 U32 mval; /* src value at match idx */ 169 /* load repcode match for ip[2]*/ 188 /* load match for ip[0] */ 192 mval = MEM_read32(ip0) ^ 1; /* guaranteed to not match. */ 195 /* check match at ip[0] */ 197 /* found a match! */ 217 /* load match for ip[0] */ 221 mval = MEM_read32(ip0) ^ 1; /* guaranteed to not match 430 const BYTE* match = base + matchIndex; local 587 const BYTE* match = matchBase + matchIndex; local [all...] |
/linux-master/scripts/mod/ |
H A D | modpost.c | 709 * Return true is there is a match. 711 static bool match(const char *string, const char *const patterns[]) function 723 /* useful to pass patterns to match() directly */ 767 !match(sec, section_white_list)) { 814 * Describe how to match sections on different criteria: 883 * handling relocations to un-resolved symbols, trying to match it 893 if (match(fromsec, check->fromsec)) { 894 if (check->bad_tosec[0] && match(tosec, check->bad_tosec)) 896 if (check->good_tosec[0] && !match(tosec, check->good_tosec)) 951 if (match(tose [all...] |
/linux-master/drivers/net/dsa/sja1105/ |
H A D | sja1105_main.c | 126 int match, rc; local 148 match = sja1105_is_vlan_configured(priv, pvid); 150 if (match < 0 || !(vlan[match].vmemb_port & BIT(port))) 1479 int rc, match; local 1483 match = sja1105_find_static_fdb_entry(priv, port, requested); 1484 if (match < 0) { 1489 /* No match => new entry */ 1494 match = table->entry_count - 1; 1500 /* We have a match 1529 sja1105et_is_fdb_entry_in_bin(struct sja1105_private *priv, int bin, const u8 *addr, u16 vid, struct sja1105_l2_lookup_entry *match, int *last_unused) argument 2499 int match, rc; local 2537 int match, rc; local 2995 int match, rc; local 3271 const struct of_device_id *match; local [all...] |
/linux-master/net/netfilter/ |
H A D | xt_multiport.c | 2 /* Kernel module to match one of a list of TCP/UDP(-Lite)/SCTP/DCCP ports: 149 .match = multiport_mt, 158 .match = multiport_mt,
|
H A D | xt_dccp.c | 23 MODULE_DESCRIPTION("Xtables: DCCP protocol packet match"); 142 .match = dccp_mt, 151 .match = dccp_mt,
|
H A D | xt_ecn.c | 22 MODULE_DESCRIPTION("Xtables: Explicit Congestion Notification (ECN) flag match"); 33 /* In practice, TCP match does this, so can't fail. But let's 97 pr_info_ratelimited("cannot match TCP bits for non-tcp packets\n"); 139 pr_info_ratelimited("cannot match TCP bits for non-tcp packets\n"); 150 .match = ecn_mt4, 158 .match = ecn_mt6,
|
H A D | xt_iprange.c | 3 * xt_iprange - Netfilter module to match IP address ranges 106 .match = iprange_mt4, 114 .match = iprange_mt6,
|
H A D | xt_bpf.c | 2 /* Xtables module to match packets using a BPF filter. 19 MODULE_DESCRIPTION("Xtables: BPF filter match"); 123 .match = bpf_mt, 134 .match = bpf_mt_v1,
|
/linux-master/drivers/usb/phy/ |
H A D | phy-am335x-control.c | 121 static int match(struct device *dev, const void *data) function 137 dev = bus_find_device(&platform_bus_type, NULL, node, match);
|
/linux-master/drivers/scsi/ |
H A D | fdomain_isa.c | 189 .match = fdomain_isa_match, 202 fdomain_isa_driver.match = fdomain_isa_param_match;
|
/linux-master/drivers/base/ |
H A D | driver.c | 38 * @s: NUL-terminated string, new driver name to force a match, pass empty 140 * @data: Data to pass to match function 141 * @match: Callback function to check device 145 * determined by the @match callback. 147 * The callback should return 0 if the device doesn't match and non-zero 153 int (*match)(struct device *dev, const void *data)) 164 if (match(dev, data) && get_device(dev))
|
/linux-master/lib/kunit/ |
H A D | resource.c | 63 int kunit_destroy_resource(struct kunit *test, kunit_resource_match_t match, argument 66 struct kunit_resource *res = kunit_find_resource(test, match, 137 /* Both the function and context data should match. */
|
/linux-master/drivers/net/ethernet/ti/ |
H A D | cpsw-phy-sel.c | 153 static int match(struct device *dev, const void *data) function 174 dev = bus_find_device(&platform_bus_type, NULL, node, match);
|
/linux-master/arch/alpha/lib/ |
H A D | strchr.S | 37 or t2, t3, t0 # e1 : bits set iff char match or zero match
|
/linux-master/arch/arm/kernel/ |
H A D | devtree.c | 172 static const void * __init arch_get_next_mach(const char *const **match) argument 181 *match = m->dt_compat; 234 /* Change machine number to match the mdesc we're using */
|
/linux-master/drivers/cpufreq/ |
H A D | qcom-cpufreq-nvmem.c | 463 const struct of_device_id *match; local 486 match = pdev->dev.platform_data; 487 drv->data = match->data; 642 const struct of_device_id *match; local 648 match = of_match_node(qcom_cpufreq_match_list, np); 650 if (!match) 658 -1, match, sizeof(*match));
|
/linux-master/arch/hexagon/kernel/ |
H A D | time.c | 63 u32 match; /* Match value */ member in struct:adsp_hw_timer_struct 92 iowrite32(delta, &rtos_timer->match);
|
/linux-master/drivers/pmdomain/amlogic/ |
H A D | meson-ee-pwrc.c | 502 const struct meson_ee_pwrc_domain_data *match; local 508 match = of_device_get_match_data(&pdev->dev); 509 if (!match) { 510 dev_err(&pdev->dev, "failed to get match data\n"); 518 pwrc->xlate.domains = devm_kcalloc(&pdev->dev, match->count, 524 pwrc->domains = devm_kcalloc(&pdev->dev, match->count, 529 pwrc->xlate.num_domains = match->count; 551 for (i = 0 ; i < match->count ; ++i) { 554 memcpy(&dom->desc, &match->domains[i], sizeof(dom->desc));
|
/linux-master/include/linux/device/ |
H A D | bus.h | 32 * @match: Called, perhaps multiple times, whenever a new device or driver 84 int (*match)(struct device *dev, struct device_driver *drv); member in struct:bus_type 129 /* Generic device matching functions that all busses can use to match with */ 143 int (*match)(struct device *dev, const void *data)); 149 * @name: name of the device to match 162 * @np: of_node of the device to match. 174 * @fwnode: fwnode of the device to match. 186 * @devt: device type of the device to match. 213 * @adev: ACPI COMPANION device to match.
|