/linux-master/tools/testing/selftests/bpf/ |
H A D | test_maps.c | 418 BPF_DECLARE_PERCPU(long, values); 422 sizeof(bpf_percpu(values, 0)), 2, NULL); 429 bpf_percpu(values, i) = i + 100; 433 assert(bpf_map_update_elem(fd, &key, values, BPF_ANY) == 0); 435 bpf_percpu(values, 0) = 0; 436 assert(bpf_map_update_elem(fd, &key, values, BPF_NOEXIST) < 0 && 440 assert(bpf_map_lookup_elem(fd, &key, values) == 0 && 441 bpf_percpu(values, 0) == 100); 445 assert(bpf_map_lookup_elem(fd, &key, values) == 0 && 446 bpf_percpu(values, [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | xdp_synproxy_kern.c | 75 } values SEC(".maps"); 316 value = bpf_map_lookup_elem(&values, &key); 337 value = bpf_map_lookup_elem(&values, &key); 811 * verifier forgets its min and max values checked above in tcp_dissect.
|
H A D | test_spin_lock_fail.c | 24 __array(values, struct array_map); 26 .values = {
|
H A D | test_map_in_map.c | 38 __array(values, struct perf_event_array); 40 .values = {&inner_map0}}; 46 __array(values, struct perf_event_array); 48 .values = {&inner_map0}};
|
H A D | map_ptr_kern.c | 356 __array(values, struct { 363 .values = { (void *)&inner_map, 0, 0, 0, 0, 0, 0, 0, 0 }, 386 __array(values, struct inner_map); 388 .values = {
|
/linux-master/net/netfilter/ |
H A D | nft_ct.c | 908 const unsigned int *values; local 930 values = nf_ct_timeout_data(timeout); 931 if (values) 932 nf_ct_refresh(ct, pkt->skb, values[0]);
|
/linux-master/kernel/ |
H A D | auditfilter.c | 419 /* Check for select valid field values */ 476 f_val = data->values[i]; 665 data->buflen += data->values[i] = 669 data->buflen += data->values[i] = 674 data->buflen += data->values[i] = 679 data->buflen += data->values[i] = 683 data->buflen += data->values[i] = 689 data->values[i] = AUDIT_UID_UNSET; 694 data->values[i] = f->val;
|
/linux-master/include/uapi/linux/ |
H A D | btrfs.h | 166 * expected values, like generation or 257 * changed this value. Older kernel will not touch the values here. 531 * The individual min and max values for objectid, type and offset 532 * define the min_key and max_key values for the search range. All 748 /* out values: */ 749 __u64 values[BTRFS_DEV_STAT_VALUES_MAX]; member in struct:btrfs_ioctl_get_dev_stats
|
/linux-master/include/net/ |
H A D | bond_options.h | 83 /* This structure is used for storing option values and for passing option 84 * values when changing an option. The logic when used as an arg is as follows: 114 /* supported values which this option can have, can be a subset of 117 const struct bond_opt_value *values; member in struct:bond_option
|
/linux-master/fs/btrfs/ |
H A D | qgroup.h | 203 u64 values[BTRFS_QGROUP_RSV_LAST]; member in struct:btrfs_qgroup_rsv
|
/linux-master/drivers/net/wireless/zydas/zd1211rw/ |
H A D | zd_usb.c | 1660 static int get_results(struct zd_usb *usb, u16 *values, argument 1686 values[i] = le16_to_cpu(rd->value); 1695 int zd_usb_ioread16v(struct zd_usb *usb, u16 *values, argument 1760 r = get_results(usb, values, req, count, &retry);
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl.c | 372 mlxsw_afk_values_add_u32(&rulei->values, element, 381 mlxsw_afk_values_add_buf(&rulei->values, element,
|
H A D | spectrum.h | 866 struct mlxsw_afk_element_values values; member in struct:mlxsw_sp_acl_rule_info
|
H A D | core_acl_flex_keys.c | 14 * that will be used to store key/mask values. For each defined element type 435 void mlxsw_afk_values_add_u32(struct mlxsw_afk_element_values *values, argument 447 __mlxsw_item_set32(values->storage.key, storage_item, 0, key_value); 448 __mlxsw_item_set32(values->storage.mask, storage_item, 0, mask_value); 449 mlxsw_afk_element_usage_add(&values->elusage, element); 453 void mlxsw_afk_values_add_buf(struct mlxsw_afk_element_values *values, argument 467 __mlxsw_item_memcpy_to(values->storage.key, key_value, 469 __mlxsw_item_memcpy_to(values->storage.mask, mask_value, 471 mlxsw_afk_element_usage_add(&values->elusage, element); 518 struct mlxsw_afk_element_values *values, 516 mlxsw_afk_encode(struct mlxsw_afk *mlxsw_afk, struct mlxsw_afk_key_info *key_info, struct mlxsw_afk_element_values *values, char *key, char *mask) argument [all...] |
/linux-master/drivers/block/drbd/ |
H A D | drbd_int.h | 557 int total; /* sum of all values */ 558 int values[] __counted_by(size); 894 struct fifo_buffer *rs_plan_s; /* correction values of resync planer (RCU, connection->conn_update) */
|
/linux-master/arch/um/drivers/ |
H A D | vector_user.c | 72 return ifspec->values[i]; 96 result->values[result->numargs] = arg + pos;
|
/linux-master/sound/soc/codecs/ |
H A D | madera.c | 919 } else if (priv->adsp_rate_cache[adsp_num] != e->values[item]) { 921 priv->adsp_rate_cache[adsp_num] = e->values[item]; 4500 /* Calculate N.K values */
|
/linux-master/security/tomoyo/ |
H A D | common.c | 427 unsigned long min = ptr->values[0]; 428 const unsigned long max = ptr->values[1]; 538 * tomoyo_find_yesno - Find values for specified keyword.
|
/linux-master/drivers/gpu/drm/amd/pm/legacy-dpm/ |
H A D | si_dpm.c | 3223 if (clocks->values[i] >= requested_clock) 3224 return (clocks->values[i] < max_clock) ? clocks->values[i] : max_clock; 3227 return (clocks->values[clocks->count - 1] < max_clock) ? 3228 clocks->values[clocks->count - 1] : max_clock; 7496 adev->pm.dpm.dyn_state.valid_sclk_values.values = NULL; 7498 adev->pm.dpm.dyn_state.valid_mclk_values.values = NULL;
|
/linux-master/tools/perf/util/ |
H A D | synthetic-events.c | 1578 struct sample_read_value *v = sample->read.group.values;
|
H A D | stat.c | 275 *ps->aggr[0].counts.values = avg_stats(&ps->res_stats); 335 * not read the values from the second CPU. 500 count = ps->aggr[0].counts.values;
|
H A D | sample.h | 16 /* Cached values/mask filled by first register access. */ 39 struct sample_read_value *values; member in struct:sample_read::__anon331::__anon332
|
H A D | bpf_counter.c | 234 struct bpf_perf_event_value values[num_cpu_bpf]; local 256 err = bpf_map_lookup_elem(reading_map_fd, &key, values); 268 counts->val += values[bpf_cpu].counter; 269 counts->ena += values[bpf_cpu].enabled; 270 counts->run += values[bpf_cpu].running; 617 struct bpf_perf_event_value values[num_cpu_bpf]; local 630 err = bpf_map_lookup_elem(reading_map_fd, &i, values); 639 counts->val = values[entry.cpu].counter; 640 counts->ena = values[entry.cpu].enabled; 641 counts->run = values[entr [all...] |
/linux-master/drivers/gpu/drm/xe/abi/ |
H A D | guc_actions_slpc_abi.h | 40 * the host will not need to modify the default values used by SLPC. 41 * SLPC remembers the default values which allows the host to easily restore 186 u32 values[SLPC_MAX_OVERRIDE_PARAMETERS]; member in struct:slpc_override_params
|
/linux-master/tools/testing/selftests/hid/tests/ |
H A D | test_wacom_generic.py | 63 """Fill a report with approrpiate HID properties/values.""" 73 Placeholder for HID report values. 99 """Fill a report with approrpiate HID properties/values.""" 110 Contains values used to identify a specific stylus, e.g. its serial 124 """Fill a report with approrpiate HID properties/values.""" 133 Range of HID physical values, with units. 301 for v in self.parsed_rdesc.feature_reports.values(): 514 *desc.input_reports.values(), 515 *desc.feature_reports.values(), 516 *desc.output_reports.values(), [all...] |