Home
last modified time | relevance | path

Searched refs:_len (Results 1 – 25 of 59) sorted by relevance

123

/linux-6.1.9/fs/nfs/
Dfscache.c26 static bool nfs_append_int(char *key, int *_len, unsigned long long x) in nfs_append_int() argument
28 if (*_len > NFS_MAX_KEY_LEN) in nfs_append_int()
31 key[(*_len)++] = ','; in nfs_append_int()
33 *_len += sprintf(key + *_len, ",%llx", x); in nfs_append_int()
44 char *key, int *_len) in nfs_fscache_get_client_key() argument
49 *_len += snprintf(key + *_len, NFS_MAX_KEY_LEN - *_len, in nfs_fscache_get_client_key()
57 if (!nfs_append_int(key, _len, sin->sin_port) || in nfs_fscache_get_client_key()
58 !nfs_append_int(key, _len, sin->sin_addr.s_addr)) in nfs_fscache_get_client_key()
63 if (!nfs_append_int(key, _len, sin6->sin6_port) || in nfs_fscache_get_client_key()
64 !nfs_append_int(key, _len, sin6->sin6_addr.s6_addr32[0]) || in nfs_fscache_get_client_key()
[all …]
/linux-6.1.9/net/smc/
Dsmc_stats.h91 #define SMC_STAT_PAYLOAD_SUB(_smc_stats, _tech, key, _len, _rc) \ argument
95 typeof(_len) l = (_len); \
113 typeof(length) _len = (length); \
117 SMC_STAT_PAYLOAD_SUB(_smc_stats, SMC_TYPE_D, tx, _len, _rc); \
119 SMC_STAT_PAYLOAD_SUB(_smc_stats, SMC_TYPE_R, tx, _len, _rc); \
128 typeof(length) _len = (length); \
132 SMC_STAT_PAYLOAD_SUB(_smc_stats, SMC_TYPE_D, rx, _len, _rc); \
134 SMC_STAT_PAYLOAD_SUB(_smc_stats, SMC_TYPE_R, rx, _len, _rc); \
138 #define SMC_STAT_RMB_SIZE_SUB(_smc_stats, _tech, k, _len) \ argument
140 typeof(_len) _l = (_len); \
[all …]
/linux-6.1.9/include/trace/stages/
Dstage4_event_fields.h26 #define __array(_type, _item, _len) { \ argument
27 .type = #_type"["__stringify(_len)"]", .name = #_item, \
28 .size = sizeof(_type[_len]), .align = ALIGN_STRUCTFIELD(_type), \
32 #define __dynamic_array(_type, _item, _len) { \ argument
53 #define __rel_dynamic_array(_type, _item, _len) { \ argument
/linux-6.1.9/drivers/gpu/drm/msm/adreno/
Da6xx_gpu.h45 #define A6XX_PROTECT_NORDWR(_reg, _len) \ argument
47 (((_len) & 0x3FFF) << 18) | ((_reg) & 0x3FFFF))
54 #define A6XX_PROTECT_RDONLY(_reg, _len) \ argument
55 ((((_len) & 0x3FFF) << 18) | ((_reg) & 0x3FFFF))
Dadreno_gpu.h425 #define ADRENO_PROTECT_RW(_reg, _len) \ argument
427 ((ilog2((_len)) & 0x1F) << 24) | (((_reg) << 2) & 0xFFFFF))
434 #define ADRENO_PROTECT_RDONLY(_reg, _len) \ argument
436 ((ilog2((_len)) & 0x1F) << 24) | (((_reg) << 2) & 0xFFFFF))
/linux-6.1.9/drivers/net/ethernet/synopsys/
Ddwc-xlgmac.h103 typeof(len) _len = (len); \
104 ((var) & GENMASK(_pos + _len - 1, _pos)) >> (_pos); \
109 typeof(len) _len = (len); \
111 ((_var) & GENMASK(_pos + _len - 1, _pos)) >> (_pos); \
117 typeof(len) _len = (len); \
119 _val = (_val << _pos) & GENMASK(_pos + _len - 1, _pos); \
120 _var = (_var & ~GENMASK(_pos + _len - 1, _pos)) | _val; \
126 typeof(len) _len = (len); \
128 _val = (_val << _pos) & GENMASK(_pos + _len - 1, _pos); \
129 _var = (_var & ~GENMASK(_pos + _len - 1, _pos)) | _val; \
/linux-6.1.9/arch/powerpc/include/asm/
Dhead-64.h63 sname##_len = (end) - (start); \
95 sname##_len = (end) - (start); \
98 . = sname##_len;
108 . = sname##_len; \
Duaccess.h425 size_t _len = (l); \
428 for (_i = 0; _i < (_len & ~(sizeof(u64) - 1)); _i += sizeof(u64)) \
430 if (_len & 4) { \
434 if (_len & 2) { \
438 if (_len & 1) \
446 size_t _len = (l); \
449 for (_i = 0; _i < (_len & ~(sizeof(u64) - 1)); _i += sizeof(u64)) \
451 if (_len & 4) { \
455 if (_len & 2) { \
459 if (_len & 1) \
/linux-6.1.9/arch/s390/include/asm/
Dasm-extable.h34 #define __EX_TABLE_UA(_section, _fault, _target, _type, _regerr, _regaddr, _len)\ argument
67 _len << EX_DATA_LEN_SHIFT;) \
82 #define EX_TABLE_UA_LOAD_MEM(_fault, _target, _regerr, _regmem, _len) \ argument
83 __EX_TABLE_UA(__ex_table, _fault, _target, EX_TYPE_UA_LOAD_MEM, _regerr, _regmem, _len)
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dfw.h18 #define pagenum_128(_len) (u32)(((_len)>>7) + ((_len)&0x7F ? 1 : 0)) argument
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dfw.h28 #define pagenum_128(_len) \ argument
29 (u32)(((_len) >> 7) + ((_len) & 0x7F ? 1 : 0))
/linux-6.1.9/kernel/trace/
Dtrace_export.c111 #define __array(_type, _item, _len) { \ argument
112 .type = #_type"["__stringify(_len)"]", .name = #_item, \
113 .size = sizeof(_type[_len]), .align = __alignof__(_type), \
117 #define __array_desc(_type, _container, _item, _len) __array(_type, _item, _len) argument
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dfw_common.h46 #define pagenum_128(_len) (u32)(((_len)>>7) + ((_len)&0x7F ? 1 : 0)) argument
/linux-6.1.9/fs/cachefiles/
Dio.c509 loff_t *_start, size_t *_len, in __cachefiles_prepare_write() argument
514 size_t len = *_len, down; in __cachefiles_prepare_write()
520 *_len = round_up(down + len, PAGE_SIZE); in __cachefiles_prepare_write()
539 if ((u64)pos >= (u64)*_start + *_len) in __cachefiles_prepare_write()
546 if (cachefiles_has_space(cache, 0, *_len / PAGE_SIZE, in __cachefiles_prepare_write()
558 if ((u64)pos >= (u64)*_start + *_len) in __cachefiles_prepare_write()
566 *_start, *_len); in __cachefiles_prepare_write()
578 return cachefiles_has_space(cache, 0, *_len / PAGE_SIZE, in __cachefiles_prepare_write()
583 loff_t *_start, size_t *_len, loff_t i_size, in cachefiles_prepare_write() argument
600 _start, _len, in cachefiles_prepare_write()
/linux-6.1.9/drivers/net/ethernet/sfc/siena/
Dmcdi.h195 #define MCDI_TX_BUF_LEN(_len) DIV_ROUND_UP((_len), 4) argument
196 #define _MCDI_DECLARE_BUF(_name, _len) \ argument
197 efx_dword_t _name[DIV_ROUND_UP(_len, 4)]
198 #define MCDI_DECLARE_BUF(_name, _len) \ argument
199 _MCDI_DECLARE_BUF(_name, _len) = {{{0}}}
300 #define MCDI_VAR_ARRAY_LEN(_len, _field) \ argument
302 ((_len) - MC_CMD_ ## _field ## _OFST) / MC_CMD_ ## _field ## _LEN)
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dfw.h82 #define pagenum_128(_len) (u32)(((_len)>>7) + ((_len)&0x7F ? 1 : 0)) argument
/linux-6.1.9/drivers/net/ethernet/sfc/
Dmcdi.h193 #define MCDI_TX_BUF_LEN(_len) DIV_ROUND_UP((_len), 4) argument
194 #define _MCDI_DECLARE_BUF(_name, _len) \ argument
195 efx_dword_t _name[DIV_ROUND_UP(_len, 4)]
196 #define MCDI_DECLARE_BUF(_name, _len) \ argument
197 _MCDI_DECLARE_BUF(_name, _len) = {{{0}}}
312 #define MCDI_VAR_ARRAY_LEN(_len, _field) \ argument
314 ((_len) - MC_CMD_ ## _field ## _OFST) / MC_CMD_ ## _field ## _LEN)
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dfw.h110 #define pagenum_128(_len) \ argument
111 (u32)(((_len) >> 7) + ((_len) & 0x7F ? 1 : 0))
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dfw.h148 #define pagenum_128(_len) (u32)(((_len)>>7) + ((_len)&0x7F ? 1 : 0)) argument
/linux-6.1.9/net/rxrpc/
Drecvmsg.c316 unsigned int *_offset, unsigned int *_len, in rxrpc_locate_data() argument
343 *_len = len; in rxrpc_locate_data()
345 call->security->locate_data(call, skb, _offset, _len); in rxrpc_locate_data()
686 struct iov_iter *iter, size_t *_len, in rxrpc_kernel_recv_data() argument
694 *_len, want_more); in rxrpc_kernel_recv_data()
705 *_len, 0, &offset); in rxrpc_kernel_recv_data()
706 *_len -= offset; in rxrpc_kernel_recv_data()
/linux-6.1.9/drivers/misc/eeprom/
Dat24.c126 #define AT24_CHIP_DATA(_name, _len, _flags) \ argument
128 .byte_len = _len, .flags = _flags, \
131 #define AT24_CHIP_DATA_CB(_name, _len, _flags, _read_post) \ argument
133 .byte_len = _len, .flags = _flags, \
137 #define AT24_CHIP_DATA_BS(_name, _len, _flags, _bank_addr_shift) \ argument
139 .byte_len = _len, .flags = _flags, \
/linux-6.1.9/include/linux/
Dgenl_magic_func.h115 s->name, s->name ## _len); \
199 s->name ## _len = \
366 s->name ## _len + (nla_type == NLA_NUL_STRING)),\
394 x->name ## _len = 0;
Dnetfs.h255 loff_t *_start, size_t *_len, loff_t i_size);
267 loff_t *_start, size_t *_len, loff_t i_size,
/linux-6.1.9/include/net/
Dnetlink.h451 #define NLA_POLICY_EXACT_LEN(_len) NLA_POLICY_RANGE(NLA_BINARY, _len, _len) argument
452 #define NLA_POLICY_EXACT_LEN_WARN(_len) { \ argument
455 .min = _len, \
456 .max = _len \
458 #define NLA_POLICY_MIN_LEN(_len) NLA_POLICY_MIN(NLA_BINARY, _len) argument
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dfw.h151 #define pagenum_128(_len) (u32)(((_len)>>7) + ((_len)&0x7F ? 1 : 0)) argument

123