Home
last modified time | relevance | path

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

123

/linux/fs/nfs/
H A Dfscache.c29 static bool nfs_append_int(char *key, int *_len, unsigned long long x) in nfs_append_int() argument
31 if (*_len > NFS_MAX_KEY_LEN) in nfs_append_int()
34 key[(*_len)++] = ','; in nfs_append_int()
36 *_len += sprintf(key + *_len, ",%llx", x); in nfs_append_int()
47 char *key, int *_len) in nfs_fscache_get_client_key() argument
52 *_len += snprintf(key + *_len, NFS_MAX_KEY_LEN - *_len, in nfs_fscache_get_client_key()
60 if (!nfs_append_int(key, _len, sin->sin_port) || in nfs_fscache_get_client_key()
61 !nfs_append_int(key, _len, sin->sin_addr.s_addr)) in nfs_fscache_get_client_key()
66 if (!nfs_append_int(key, _len, sin6->sin6_port) || in nfs_fscache_get_client_key()
67 !nfs_append_int(key, _len, sin6->sin6_addr.s6_addr32[0]) || in nfs_fscache_get_client_key()
[all …]
/linux/net/smc/
H A Dsmc_stats.h92 #define SMC_STAT_PAYLOAD_SUB(_smc_stats, _tech, key, _len, _rc) \ argument
96 typeof(_len) l = (_len); \
115 typeof(length) _len = (length); \
119 SMC_STAT_PAYLOAD_SUB(_smc_stats, SMC_TYPE_D, tx, _len, _rc); \
121 SMC_STAT_PAYLOAD_SUB(_smc_stats, SMC_TYPE_R, tx, _len, _rc); \
130 typeof(length) _len = (length); \
134 SMC_STAT_PAYLOAD_SUB(_smc_stats, SMC_TYPE_D, rx, _len, _rc); \
136 SMC_STAT_PAYLOAD_SUB(_smc_stats, SMC_TYPE_R, rx, _len, _rc); \
140 #define SMC_STAT_RMB_SIZE_SUB(_smc_stats, _tech, k, _is_add, _len) \ argument
144 typeof(_len) _l = (_len); \
[all …]
/linux/include/trace/stages/
H A 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), \
30 .len = _len },
33 #define __dynamic_array(_type, _item, _len) { \ argument
60 #define __rel_dynamic_array(_type, _item, _len) { \ argument
/linux/kernel/trace/
H A Dtrace_export.c114 #define __array(_type, _item, _len) { \ argument
115 .type = #_type"["__stringify(_len)"]", .name = #_item, \
116 .size = sizeof(_type[_len]), .align = __alignof__(_type), \
118 .len = _len },
121 #define __stack_array(_type, _item, _len, _field) __array(_type, _item, _len) argument
124 #define __array_desc(_type, _container, _item, _len) __array(_type, _item, _len) argument
/linux/fs/cachefiles/
H A Dio.c380 loff_t start, size_t *_len, loff_t i_size, in cachefiles_do_prepare_read() argument
390 size_t len = *_len; in cachefiles_do_prepare_read()
447 *_len = len; in cachefiles_do_prepare_read()
468 *_len = len; in cachefiles_do_prepare_read()
510 loff_t start, size_t *_len, loff_t i_size, in cachefiles_prepare_ondemand_read() argument
513 return cachefiles_do_prepare_read(cres, start, _len, i_size, _flags, ino); in cachefiles_prepare_ondemand_read()
521 loff_t *_start, size_t *_len, size_t upper_len, in __cachefiles_prepare_write() argument
526 size_t len = *_len; in __cachefiles_prepare_write()
531 if (start != *_start || *_len > upper_len) { in __cachefiles_prepare_write()
540 *_len = round_up(len, PAGE_SIZE); in __cachefiles_prepare_write()
[all …]
/linux/drivers/net/ethernet/synopsys/
H A 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/arch/powerpc/include/asm/
H A Duaccess.h469 size_t _len = (l); \
472 for (_i = 0; _i < (_len & ~(sizeof(u64) - 1)); _i += sizeof(u64)) \
474 if (_len & 4) { \
478 if (_len & 2) { \
482 if (_len & 1) \
490 size_t _len = (l); \
493 for (_i = 0; _i < (_len & ~(sizeof(u64) - 1)); _i += sizeof(u64)) \
495 if (_len & 4) { \
499 if (_len & 2) { \
503 if (_len & 1) \
H A Dhead-64.h63 sname##_len = (end) - (start); \
95 sname##_len = (end) - (start); \
98 . = sname##_len;
108 . = sname##_len; \
/linux/arch/s390/include/asm/
H A Dasm-extable.h27 #define __EX_TABLE(_section, _fault, _target, _type, _regerr, _regaddr, _len) \ argument
60 _len << EX_DATA_LEN_SHIFT;) \
75 #define EX_TABLE_UA_LOAD_MEM(_fault, _target, _regerr, _regmem, _len) \ argument
76 __EX_TABLE(__ex_table, _fault, _target, EX_TYPE_UA_LOAD_MEM, _regerr, _regmem, _len)
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dfw.h18 #define pagenum_128(_len) (u32)(((_len)>>7) + ((_len)&0x7F ? 1 : 0)) argument
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
H A Dfw_common.h46 #define pagenum_128(_len) (u32)(((_len)>>7) + ((_len)&0x7F ? 1 : 0)) argument
/linux/drivers/net/ethernet/sfc/siena/
H A 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/drivers/gpu/drm/msm/adreno/
H A Da6xx_gpu.h201 #define A6XX_PROTECT_NORDWR(_reg, _len) \ argument
203 (((_len) & 0x3FFF) << 18) | ((_reg) & 0x3FFFF))
210 #define A6XX_PROTECT_RDONLY(_reg, _len) \ argument
211 ((((_len) & 0x3FFF) << 18) | ((_reg) & 0x3FFFF))
/linux/arch/loongarch/include/asm/vdso/
H A Dgetrandom.h13 static __always_inline ssize_t getrandom_syscall(void *_buffer, size_t _len, unsigned int _flags) in getrandom_syscall() argument
18 register size_t len asm("a1") = _len; in getrandom_syscall()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Dfw.h82 #define pagenum_128(_len) (u32)(((_len)>>7) + ((_len)&0x7F ? 1 : 0)) argument
/linux/arch/arm64/include/asm/vdso/
H A Dgetrandom.h19 static __always_inline ssize_t getrandom_syscall(void *_buffer, size_t _len, unsigned int _flags) in getrandom_syscall() argument
22 register size_t len asm ("x1") = _len; in getrandom_syscall()
/linux/fs/bcachefs/
H A Dxattr.h32 #define X_SEARCH(_type, _name, _len) ((struct xattr_search_key) \ argument
33 { .type = _type, .name = QSTR_INIT(_name, _len) })
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Dfw.h110 #define pagenum_128(_len) \ argument
111 (u32)(((_len) >> 7) + ((_len) & 0x7F ? 1 : 0))
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A Dfw.h148 #define pagenum_128(_len) (u32)(((_len)>>7) + ((_len)&0x7F ? 1 : 0)) argument
/linux/include/net/
H A Dnetlink.h466 #define NLA_POLICY_EXACT_LEN(_len) NLA_POLICY_RANGE(NLA_BINARY, _len, _len) argument
467 #define NLA_POLICY_EXACT_LEN_WARN(_len) { \ argument
470 .min = _len, \
471 .max = _len \
473 #define NLA_POLICY_MIN_LEN(_len) NLA_POLICY_MIN(NLA_BINARY, _len) argument
474 #define NLA_POLICY_MAX_LEN(_len) NLA_POLICY_MAX(NLA_BINARY, _len) argument
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_tl_debugfs.c89 typeof(len) _len = (len); \
92 for (_i = 0; _i < _len; _i++) { \
94 _b = do_div(_a, _len); \
96 if (_y >= _len - _b) { \
98 _y -= _len - _b; \
103 do_div(_y, _len); \
/linux/include/linux/
H A Dgenl_magic_func.h116 s->name, s->name ## _len); \
200 s->name ## _len = \
367 s->name ## _len + (nla_type == NLA_NUL_STRING)),\
395 x->name ## _len = 0;
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dfw.h151 #define pagenum_128(_len) (u32)(((_len)>>7) + ((_len)&0x7F ? 1 : 0)) argument
/linux/drivers/cdx/controller/
H A Dmcdi.h207 #define MCDI_DECLARE_BUF(_name, _len) struct cdx_dword _name[DIV_ROUND_UP(_len, 4)] = {{0}} argument
/linux/net/rxrpc/
H A Drecvmsg.c490 struct iov_iter *iter, size_t *_len, in rxrpc_kernel_recv_data() argument
496 _enter("{%d},%zu,%d", call->debug_id, *_len, want_more); in rxrpc_kernel_recv_data()
500 ret = rxrpc_recvmsg_data(sock, call, NULL, iter, *_len, 0, &offset); in rxrpc_kernel_recv_data()
501 *_len -= offset; in rxrpc_kernel_recv_data()

123