Home
last modified time | relevance | path

Searched refs:_res (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.15/lib/tests/
H A Dbitfield_kunit.c13 u##tp _res; \
15 _res = u##tp##_encode_bits(v, field); \
18 (u64)_res); \
20 u##tp##_get_bits(_res, field) != v); \
26 __le##tp _res; \
28 _res = le##tp##_encode_bits(v, field); \
30 _res != cpu_to_le##tp(res), \
32 (u64)le##tp##_to_cpu(_res), \
41 __be##tp _res; \
45 _res != cpu_to_be##tp(res), \
[all …]
/linux-6.15/include/linux/mfd/
H A Dcore.h20 .resources = (_res), \
21 .num_resources = MFD_RES_SIZE((_res)), \
31 #define MFD_CELL_OF_REG(_name, _res, _pdata, _pdsize, _id, _compat, _of_reg) \ argument
34 #define MFD_CELL_OF(_name, _res, _pdata, _pdsize, _id, _compat) \ argument
35 MFD_CELL_ALL(_name, _res, _pdata, _pdsize, _id, _compat, 0, false, NULL)
37 #define MFD_CELL_ACPI(_name, _res, _pdata, _pdsize, _id, _match) \ argument
38 MFD_CELL_ALL(_name, _res, _pdata, _pdsize, _id, NULL, 0, false, _match)
40 #define MFD_CELL_BASIC(_name, _res, _pdata, _pdsize, _id) \ argument
41 MFD_CELL_ALL(_name, _res, _pdata, _pdsize, _id, NULL, 0, false, NULL)
43 #define MFD_CELL_RES(_name, _res) \ argument
[all …]
/linux-6.15/include/net/
H A Dnetdev_queues.h176 int _res; \
188 _res = 0; \
191 _res = -1; \
193 _res; \
217 int _res; \
219 _res = 1; \
222 _res; \
261 int _res; \
272 _res = 1; \
276 _res = 0; \
[all …]
/linux-6.15/arch/riscv/include/asm/
H A Dvector.h26 typeof(_val) _res = _val; \
28 _res = (_res & ~SR_VS_THEAD) | SR_VS_##TYPE##_THEAD; \
30 _res = (_res & ~SR_VS) | SR_VS_##TYPE; \
31 _res; \
35 bool _res; \
37 _res = ((_val) & SR_VS_THEAD) == SR_VS_##TYPE##_THEAD; \
39 _res = ((_val) & SR_VS) == SR_VS_##TYPE; \
40 _res; \
/linux-6.15/include/linux/
H A Dalloc_tag.h239 typeof(_do_alloc) _res; \
243 _res = _do_alloc; \
246 _res = _do_alloc; \
247 _res; \
H A Ddevice-mapper.h705 u64 _res; \
706 (x) = div64_u64_rem(x, y, &_res); \
707 _res; \
/linux-6.15/security/keys/
H A Dkeyctl_pkey.c171 struct keyctl_pkey_query __user *_res) in keyctl_pkey_query() argument
186 if (copy_to_user(_res, &res, sizeof(res)) == 0 && in keyctl_pkey_query()
187 clear_user(_res->__spare, sizeof(_res->__spare)) == 0) in keyctl_pkey_query()
H A Dinternal.h325 struct keyctl_pkey_query __user *_res) in keyctl_pkey_query() argument
/linux-6.15/tools/bpf/bpftool/
H A Dmain.h41 bool _res; \
46 _res = false; \
48 _res = true; \
50 _res; \
/linux-6.15/arch/x86/boot/
H A Dstring.c289 unsigned long long _res; in _kstrtoull() local
293 rv = _parse_integer(s, base, &_res); in _kstrtoull()
303 *res = _res; in _kstrtoull()
/linux-6.15/fs/bcachefs/
H A Deytzinger.h288 int _res; \
291 (_res = _cmp(_search, _base1 + _i * _size))) \
292 _i = eytzinger1_child(_i, _res > 0); \
/linux-6.15/lib/
H A Dkstrtox.c98 unsigned long long _res; in _kstrtoull() local
102 rv = _parse_integer(s, base, &_res); in _kstrtoull()
112 *res = _res; in _kstrtoull()
/linux-6.15/kernel/bpf/
H A Dhelpers.c501 unsigned long long _res; in __bpf_strtoll() local
505 err = __bpf_strtoull(buf, buf_len, flags, &_res, &is_negative); in __bpf_strtoll()
509 if ((long long)-_res > 0) in __bpf_strtoll()
511 *res = -_res; in __bpf_strtoll()
513 if ((long long)_res < 0) in __bpf_strtoll()
515 *res = _res; in __bpf_strtoll()
523 long long _res; in BPF_CALL_4() local
527 err = __bpf_strtoll(buf, buf_len, flags, &_res); in BPF_CALL_4()
530 *res = _res; in BPF_CALL_4()
548 unsigned long long _res; in BPF_CALL_4() local
[all …]
/linux-6.15/drivers/net/
H A Dnet_failover.c152 static void net_failover_fold_stats(struct rtnl_link_stats64 *_res, in net_failover_fold_stats() argument
158 u64 *res = (u64 *)_res; in net_failover_fold_stats()
161 for (i = 0; i < sizeof(*_res) / sizeof(u64); i++) { in net_failover_fold_stats()
/linux-6.15/drivers/iio/adc/
H A Drockchip_saradc.c215 #define SARADC_CHANNEL(_index, _id, _res) { \ argument
225 .realbits = _res, \
/linux-6.15/drivers/usb/phy/
H A Dphy.c340 static void devm_usb_phy_release2(struct device *dev, void *_res) in devm_usb_phy_release2() argument
342 struct phy_devm *res = _res; in devm_usb_phy_release2()
/linux-6.15/drivers/net/can/mscan/
H A Dmscan.h131 #define _MSCAN_RESERVED_(n, num) u8 _res##n[num]
/linux-6.15/drivers/vdpa/mlx5/core/
H A Dmr.c15 u64 _res; \
16 _res = (((_n) + (1 << (__s)) - 1) >> (__s)); \
17 _res; \
/linux-6.15/fs/xfs/
H A Dxfs_super.c1308 int last, shift_left_factor = 0, _res; in suffix_kstrtoint() local
1330 if (kstrtoint(value, base, &_res)) in suffix_kstrtoint()
1333 *res = _res << shift_left_factor; in suffix_kstrtoint()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c490 u32 _res = MLX5_CAP_ODP_MAX(dev, field); \ in handle_hca_cap_odp()
491 if (_res) { \ in handle_hca_cap_odp()
493 MLX5_SET(odp_cap, set_hca_cap, field, _res); \ in handle_hca_cap_odp()
/linux-6.15/tools/testing/cxl/test/
H A Dcxl.c391 struct cxl_mock_res *res, *_res; in depopulate_all_mock_resources() local
394 list_for_each_entry_safe(res, _res, &mock_res, list) { in depopulate_all_mock_resources()
/linux-6.15/net/bluetooth/
H A Dsmp.c473 u8 _res[16]; in smp_ah() local
477 memcpy(_res, r, 3); in smp_ah()
478 memset(_res + 3, 0, 13); in smp_ah()
480 err = smp_e(irk, _res); in smp_ah()
492 memcpy(res, _res, 3); in smp_ah()
/linux-6.15/kernel/
H A Dresource.c1905 static void remove_free_mem_region(void *_res) in remove_free_mem_region() argument
1907 struct resource *res = _res; in remove_free_mem_region()
/linux-6.15/drivers/net/ethernet/freescale/enetc/
H A Denetc_hw.h996 u8 _res; member
/linux-6.15/drivers/nvdimm/
H A Dnamespace_devs.c650 struct resource *res, *_res; in release_free_pmem() local
652 for_each_dpa_resource_safe(ndd, res, _res) in release_free_pmem()

12