Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/
Dbitfield_kunit.c13 u##tp _res; \
15 _res = u##tp##_encode_bits(v, field); \
16 KUNIT_ASSERT_FALSE_MSG(context, _res != res, \
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), \
35 le##tp##_get_bits(_res, field) != v);\
[all …]
Dkstrtox.c95 unsigned long long _res; in _kstrtoull() local
99 rv = _parse_integer(s, base, &_res); in _kstrtoull()
109 *res = _res; in _kstrtoull()
/kernel/linux/linux-5.10/include/linux/mfd/
Dcore.h17 #define MFD_CELL_ALL(_name, _res, _pdata, _pdsize, _id, _compat, _of_reg, _use_of_reg, _match) \ argument
20 .resources = (_res), \
21 .num_resources = MFD_RES_SIZE((_res)), \
31 #define OF_MFD_CELL_REG(_name, _res, _pdata, _pdsize, _id, _compat, _of_reg) \ argument
32 MFD_CELL_ALL(_name, _res, _pdata, _pdsize, _id, _compat, _of_reg, true, NULL)
34 #define OF_MFD_CELL(_name, _res, _pdata, _pdsize, _id, _compat) \ argument
35 MFD_CELL_ALL(_name, _res, _pdata, _pdsize, _id, _compat, 0, false, NULL)
37 #define ACPI_MFD_CELL(_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
[all …]
/kernel/linux/linux-5.10/kernel/bpf/
Dhelpers.c464 unsigned long long _res; in __bpf_strtoll() local
468 err = __bpf_strtoull(buf, buf_len, flags, &_res, &is_negative); in __bpf_strtoll()
472 if ((long long)-_res > 0) in __bpf_strtoll()
474 *res = -_res; in __bpf_strtoll()
476 if ((long long)_res < 0) in __bpf_strtoll()
478 *res = _res; in __bpf_strtoll()
486 long long _res; in BPF_CALL_4() local
489 err = __bpf_strtoll(buf, buf_len, flags, &_res); in BPF_CALL_4()
492 if (_res != (long)_res) in BPF_CALL_4()
494 *res = _res; in BPF_CALL_4()
[all …]
/kernel/linux/linux-5.10/security/keys/
Dkeyctl_pkey.c171 struct keyctl_pkey_query __user *_res) in keyctl_pkey_query() argument
188 if (copy_to_user(_res, &res, sizeof(res)) == 0 && in keyctl_pkey_query()
189 clear_user(_res->__spare, sizeof(_res->__spare)) == 0) in keyctl_pkey_query()
Dinternal.h325 struct keyctl_pkey_query __user *_res) in keyctl_pkey_query() argument
/kernel/linux/linux-5.10/tools/bpf/bpftool/
Dmain.h41 bool _res; \
46 _res = false; \
48 _res = true; \
50 _res; \
/kernel/linux/linux-5.10/arch/x86/boot/
Dstring.c297 unsigned long long _res; in _kstrtoull() local
301 rv = _parse_integer(s, base, &_res); in _kstrtoull()
311 *res = _res; in _kstrtoull()
/kernel/linux/linux-5.10/include/linux/
Ddevice-mapper.h600 u64 _res; \
601 (x) = div64_u64_rem(x, y, &_res); \
602 _res; \
/kernel/linux/linux-5.10/arch/nds32/kernel/vdso/
Dgettimeofday.c191 struct __kernel_old_timespec *_res) in clock_getres_fallback() argument
194 register struct __kernel_old_timespec *res asm("$r1") = _res; in clock_getres_fallback()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/prism54/
Doid_mgt.c512 void *cache, *_res = NULL; in mgt_get_request() local
543 _res = response->data; in mgt_get_request()
547 _res = cache; in mgt_get_request()
551 res->u = ret ? 0 : le32_to_cpu(*(u32 *) _res); in mgt_get_request()
558 memcpy(res->ptr, _res, reslen); in mgt_get_request()
/kernel/linux/linux-5.10/drivers/vdpa/mlx5/core/
Dmr.c14 u64 _res; \
15 _res = (((_n) + (1 << (__s)) - 1) >> (__s)); \
16 _res; \
/kernel/linux/linux-5.10/drivers/iio/adc/
Drockchip_saradc.c141 #define SARADC_CHANNEL(_index, _id, _res) { \ argument
151 .realbits = _res, \
/kernel/linux/linux-5.10/drivers/net/
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()
/kernel/linux/linux-5.10/drivers/usb/phy/
Dphy.c302 static void devm_usb_phy_release2(struct device *dev, void *_res) in devm_usb_phy_release2() argument
304 struct phy_devm *res = _res; in devm_usb_phy_release2()
/kernel/linux/linux-5.10/drivers/net/can/mscan/
Dmscan.h131 #define _MSCAN_RESERVED_(n, num) u8 _res##n[num]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c475 u32 _res = MLX5_CAP_ODP_MAX(dev, field); \ in handle_hca_cap_odp()
476 if (_res) { \ in handle_hca_cap_odp()
478 MLX5_SET(odp_cap, set_hca_cap, field, _res); \ in handle_hca_cap_odp()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_super.c1133 int last, shift_left_factor = 0, _res; in suffix_kstrtoint() local
1155 if (kstrtoint(value, base, &_res)) in suffix_kstrtoint()
1158 *res = _res << shift_left_factor; in suffix_kstrtoint()
/kernel/linux/linux-5.10/drivers/acpi/
Dosl.c1512 void *_res, void **return_value) in acpi_deactivate_mem_region() argument
1518 struct resource *res = _res; in acpi_deactivate_mem_region()
/kernel/linux/linux-5.10/net/bluetooth/
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc_hw.h914 u8 _res; member
/kernel/linux/linux-5.10/drivers/nvdimm/
Dnamespace_devs.c818 struct resource *res, *_res; in release_free_pmem() local
820 for_each_dpa_resource_safe(ndd, res, _res) in release_free_pmem()
/kernel/linux/linux-5.10/drivers/net/bonding/
Dbond_main.c3832 static void bond_fold_stats(struct rtnl_link_stats64 *_res, in bond_fold_stats() argument
3838 u64 *res = (u64 *)_res; in bond_fold_stats()
3841 for (i = 0; i < sizeof(*_res) / sizeof(u64); i++) { in bond_fold_stats()