Home
last modified time | relevance | path

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

/linux-6.6.21/include/net/
Dnetdev_queues.h36 int _res; \
48 _res = 0; \
51 _res = -1; \
53 _res; \
77 int _res; \
79 _res = 1; \
81 _res = netif_txq_try_stop(txq, get_desc, start_thrs); \
82 _res; \
121 int _res; \
130 _res = -1; \
[all …]
/linux-6.6.21/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.c98 unsigned long long _res; in _kstrtoull() local
102 rv = _parse_integer(s, base, &_res); in _kstrtoull()
112 *res = _res; in _kstrtoull()
/linux-6.6.21/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 MFD_CELL_OF_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 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
[all …]
/linux-6.6.21/tools/bpf/bpftool/
Dmain.h41 bool _res; \
46 _res = false; \
48 _res = true; \
50 _res; \
/linux-6.6.21/security/keys/
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()
Dinternal.h332 struct keyctl_pkey_query __user *_res) in keyctl_pkey_query() argument
/linux-6.6.21/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()
/linux-6.6.21/kernel/bpf/
Dhelpers.c499 unsigned long long _res; in __bpf_strtoll() local
503 err = __bpf_strtoull(buf, buf_len, flags, &_res, &is_negative); in __bpf_strtoll()
507 if ((long long)-_res > 0) in __bpf_strtoll()
509 *res = -_res; in __bpf_strtoll()
511 if ((long long)_res < 0) in __bpf_strtoll()
513 *res = _res; in __bpf_strtoll()
521 long long _res; in BPF_CALL_4() local
524 err = __bpf_strtoll(buf, buf_len, flags, &_res); in BPF_CALL_4()
527 if (_res != (long)_res) in BPF_CALL_4()
529 *res = _res; in BPF_CALL_4()
[all …]
/linux-6.6.21/include/linux/
Ddevice-mapper.h681 u64 _res; \
682 (x) = div64_u64_rem(x, y, &_res); \
683 _res; \
/linux-6.6.21/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()
/linux-6.6.21/drivers/vdpa/mlx5/core/
Dmr.c15 u64 _res; \
16 _res = (((_n) + (1 << (__s)) - 1) >> (__s)); \
17 _res; \
/linux-6.6.21/drivers/iio/adc/
Drockchip_saradc.c215 #define SARADC_CHANNEL(_index, _id, _res) { \ argument
225 .realbits = _res, \
/linux-6.6.21/drivers/net/can/mscan/
Dmscan.h131 #define _MSCAN_RESERVED_(n, num) u8 _res##n[num]
/linux-6.6.21/drivers/usb/phy/
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.6.21/fs/xfs/
Dxfs_super.c1202 int last, shift_left_factor = 0, _res; in suffix_kstrtoint() local
1224 if (kstrtoint(value, base, &_res)) in suffix_kstrtoint()
1227 *res = _res << shift_left_factor; in suffix_kstrtoint()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c483 u32 _res = MLX5_CAP_ODP_MAX(dev, field); \ in handle_hca_cap_odp()
484 if (_res) { \ in handle_hca_cap_odp()
486 MLX5_SET(odp_cap, set_hca_cap, field, _res); \ in handle_hca_cap_odp()
/linux-6.6.21/tools/testing/cxl/test/
Dcxl.c385 struct cxl_mock_res *res, *_res; in depopulate_all_mock_resources() local
388 list_for_each_entry_safe(res, _res, &mock_res, list) { in depopulate_all_mock_resources()
/linux-6.6.21/net/bluetooth/
Dsmp.c474 u8 _res[16]; in smp_ah() local
478 memcpy(_res, r, 3); in smp_ah()
479 memset(_res + 3, 0, 13); in smp_ah()
481 err = smp_e(irk, _res); in smp_ah()
493 memcpy(res, _res, 3); in smp_ah()
/linux-6.6.21/kernel/
Dresource.c1811 static void remove_free_mem_region(void *_res) in remove_free_mem_region() argument
1813 struct resource *res = _res; in remove_free_mem_region()
/linux-6.6.21/drivers/net/ethernet/freescale/enetc/
Denetc_hw.h956 u8 _res; member
/linux-6.6.21/drivers/nvdimm/
Dnamespace_devs.c646 struct resource *res, *_res; in release_free_pmem() local
648 for_each_dpa_resource_safe(ndd, res, _res) in release_free_pmem()
/linux-6.6.21/drivers/net/bonding/
Dbond_main.c4354 static void bond_fold_stats(struct rtnl_link_stats64 *_res, in bond_fold_stats() argument
4360 u64 *res = (u64 *)_res; in bond_fold_stats()
4363 for (i = 0; i < sizeof(*_res) / sizeof(u64); i++) { in bond_fold_stats()