Home
last modified time | relevance | path

Searched refs:_size (Results 1 – 25 of 54) sorted by relevance

123

/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvif/ !
Dunpack.h6 void **_data = (d); __u32 *_size = (s); int _ret = (r); \
7 if (_ret == -ENOSYS && *_size == sizeof(m)) { \
9 *_size = _ret = 0; \
15 void **_data = (d); __u32 *_size = (s); \
17 if (_ret == -ENOSYS && *_size >= sizeof(m) && \
20 *_size = *_size - sizeof(m); \
22 _ret = *_size ? -E2BIG : 0; \
24 *_size = 0; \
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/ !
Dcore_acl_flex_keys.h54 #define MLXSW_AFK_ELEMENT_INFO(_type, _element, _offset, _shift, _size) \ argument
61 .size = {.bits = _size}, \
66 #define MLXSW_AFK_ELEMENT_INFO_U32(_element, _offset, _shift, _size) \ argument
68 _element, _offset, _shift, _size)
70 #define MLXSW_AFK_ELEMENT_INFO_BUF(_element, _offset, _size) \ argument
72 _element, _offset, 0, _size)
87 _shift, _size, _u32_key_diff, _avoid_size_check) \ argument
94 .size = {.bits = _size}, \
101 #define MLXSW_AFK_ELEMENT_INST_U32(_element, _offset, _shift, _size) \ argument
103 _element, _offset, _shift, _size, 0, false)
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/progs/ !
Dtest_bpf_ma.c26 #define DEFINE_ARRAY_WITH_KPTR(_size) \ argument
27 struct bin_data_##_size { \
28 char data[_size - sizeof(void *)]; \
30 struct map_value_##_size { \
31 struct bin_data_##_size __kptr * data; \
33 struct bin_data_##_size not_used; \
38 __type(value, struct map_value_##_size); \
40 } array_##_size SEC(".maps");
/linux-6.6.21/include/linux/ !
Dsysfs.h201 #define __BIN_ATTR(_name, _mode, _read, _write, _size) { \ argument
205 .size = _size, \
208 #define __BIN_ATTR_RO(_name, _size) { \ argument
211 .size = _size, \
214 #define __BIN_ATTR_WO(_name, _size) { \ argument
217 .size = _size, \
220 #define __BIN_ATTR_RW(_name, _size) \ argument
221 __BIN_ATTR(_name, 0644, _name##_read, _name##_write, _size)
225 #define BIN_ATTR(_name, _mode, _read, _write, _size) \ argument
227 _write, _size)
[all …]
Dioport.h157 #define DEFINE_RES_NAMED(_start, _size, _name, _flags) \ argument
160 .end = (_start) + (_size) - 1, \
166 #define DEFINE_RES_IO_NAMED(_start, _size, _name) \ argument
167 DEFINE_RES_NAMED((_start), (_size), (_name), IORESOURCE_IO)
168 #define DEFINE_RES_IO(_start, _size) \ argument
169 DEFINE_RES_IO_NAMED((_start), (_size), NULL)
171 #define DEFINE_RES_MEM_NAMED(_start, _size, _name) \ argument
172 DEFINE_RES_NAMED((_start), (_size), (_name), IORESOURCE_MEM)
173 #define DEFINE_RES_MEM(_start, _size) \ argument
174 DEFINE_RES_MEM_NAMED((_start), (_size), NULL)
[all …]
/linux-6.6.21/tools/testing/memblock/tests/ !
Dcommon.h87 #define ASSERT_MEM_EQ(_seen, _expected, _size) do { \ argument
88 for (int _i = 0; _i < (_size); _i++) { \
99 #define ASSERT_MEM_NE(_seen, _expected, _size) do { \ argument
100 for (int _i = 0; _i < (_size); _i++) { \
/linux-6.6.21/drivers/staging/nvec/ !
Dnvec_kbd.c60 int _size = (msg[0] & (3 << 5)) >> 5; in nvec_keys_notifier() local
63 if (_size == NVEC_VAR_SIZE) in nvec_keys_notifier()
66 if (_size == NVEC_3BYTES) in nvec_keys_notifier()
72 if (code_tabs[_size][code] == KEY_CAPSLOCK && state) in nvec_keys_notifier()
75 input_report_key(keys_dev.input, code_tabs[_size][code], in nvec_keys_notifier()
/linux-6.6.21/drivers/gpu/drm/msm/adreno/ !
Da5xx_power.c171 #define PAYLOAD_SIZE(_size) ((_size) * sizeof(u32)) argument
375 uint32_t _size = cmds_size > TYPE4_MAX_PAYLOAD ? in a5xx_gpmu_ucode_init() local
379 _size); in a5xx_gpmu_ucode_init()
381 for (i = 0; i < _size; i++) in a5xx_gpmu_ucode_init()
384 offset += _size; in a5xx_gpmu_ucode_init()
385 cmds_size -= _size; in a5xx_gpmu_ucode_init()
Da6xx_gpu_state.h188 #define SHADER(_type, _size) \ argument
189 { .type = _type, .name = #_type, .size = _size }
/linux-6.6.21/include/rdma/ !
Duverbs_types.h171 #define UVERBS_TYPE_ALLOC_IDR_SZ(_size, _destroy_object) \ argument
175 .obj_size = (_size) + \
176 UVERBS_BUILD_BUG_ON((_size) < \
/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvkm/core/ !
Dmemory.h90 u32 _addr = (a), _size = (s) >> 2, *_data = (void *)(p); \
91 while (_size--) { \
98 u32 _addr = (a), _size = (s) >> 2, *_data = (void *)(p); \
99 while (_size--) { \
/linux-6.6.21/include/linux/usb/ !
Drenesas_usbhs.h114 #define RENESAS_USBHS_PIPE(_type, _size, _num, _double_buf) { \ argument
116 .bufsize = (_size), \
/linux-6.6.21/arch/riscv/include/asm/ !
Derrata_list.h125 #define ALT_CMO_OP(_op, _start, _size, _cachesize) \ argument
147 "r"((unsigned long)(_start) + (_size)) \
/linux-6.6.21/lib/zstd/common/ !
Dcompiler.h100 size_t const _size = (size_t)(s); \
102 for (_pos=0; _pos<_size; _pos+=CACHELINE_SIZE) { \
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/ !
Dutil.h27 #define MT76_INCR(_var, _size) \ argument
28 (_var = (((_var) + 1) % (_size)))
/linux-6.6.21/drivers/ufs/core/ !
Dufs-sysfs.c682 #define UFS_DESC_PARAM(_name, _puname, _duname, _size) \ argument
688 0, _duname##_DESC_PARAM##_puname, buf, _size); \
692 #define UFS_DEVICE_DESC_PARAM(_name, _uname, _size) \ argument
693 UFS_DESC_PARAM(_name, _uname, DEVICE, _size)
765 #define UFS_INTERCONNECT_DESC_PARAM(_name, _uname, _size) \ argument
766 UFS_DESC_PARAM(_name, _uname, INTERCONNECT, _size)
782 #define UFS_GEOMETRY_DESC_PARAM(_name, _uname, _size) \ argument
783 UFS_DESC_PARAM(_name, _uname, GEOMETRY, _size)
876 #define UFS_HEALTH_DESC_PARAM(_name, _uname, _size) \ argument
877 UFS_DESC_PARAM(_name, _uname, HEALTH, _size)
[all …]
/linux-6.6.21/drivers/md/bcache/ !
Dutil.h40 #define init_heap(heap, _size, gfp) \ argument
44 (heap)->size = (_size); \
140 #define init_fifo_exact(fifo, _size, gfp) \ argument
142 (fifo)->size = (_size); \
146 #define init_fifo(fifo, _size, gfp) \ argument
148 (fifo)->size = (_size); \
/linux-6.6.21/scripts/ !
Drecordmcount.h56 #undef _size
95 # define _size 8 macro
133 # define _size 4 macro
316 mcsec.sh_addralign = _w(_size); in append_func()
317 mcsec.sh_entsize = _w(_size); in append_func()
331 mcsec.sh_addralign = _w(_size); in append_func()
/linux-6.6.21/drivers/hid/ !
Dhid-uclogic-rdesc.c660 #define UCLOGIC_RDESC_FRAME_BUTTONS_BYTES(_id, _size) \ argument
695 0x95, ((_size) * 8 - 45), \
/linux-6.6.21/kernel/trace/ !
Dtrace_probe.h186 #define __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, str, _fmttype) \ argument
188 .size = _size, \
197 #define _ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument
198 __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, 0, #_fmttype)
/linux-6.6.21/drivers/mfd/ !
Dmt6360-core.c69 #define MT6360_ALLOC_READ_SIZE(_size) (_size + 3) argument
71 #define MT6360_ALLOC_WRITE_SIZE(_size) (_size + 4) argument
/linux-6.6.21/arch/mips/vdso/ !
Dgenvdso.c108 static void *map_vdso(const char *path, size_t *_size) in map_vdso() argument
186 *_size = stat.st_size; in map_vdso()
/linux-6.6.21/fs/ext4/ !
Dsysfs.c158 #define EXT4_ATTR_STRING(_name,_mode,_size,_struct,_elname) \ argument
162 .attr_size = _size, \
178 #define EXT4_RO_ATTR_ES_STRING(_name,_elname,_size) \ argument
179 EXT4_ATTR_STRING(_name, 0444, _size, ext4_super_block, _elname)
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ !
Ddef.h215 #define CLEAR_PCI_TX_DESC_CONTENT(__pdesc, _size) \ argument
216 memset(__pdesc, 0, min_t(size_t, _size, TX_DESC_NEXT_DESC_OFFSET))
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ !
Dtrx.h328 static inline void clear_pci_tx_desc_content(__le32 *__pdesc, u32 _size) in clear_pci_tx_desc_content() argument
330 if (_size > TX_DESC_NEXT_DESC_OFFSET) in clear_pci_tx_desc_content()
333 memset(__pdesc, 0, _size); in clear_pci_tx_desc_content()

123