/linux/fs/nfs/ |
H A D | fscache.c | 29 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 D | smc_stats.h | 92 #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 D | stage4_event_fields.h | 26 #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 D | trace_export.c | 114 #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 D | io.c | 380 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 D | dwc-xlgmac.h | 103 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 D | uaccess.h | 469 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 D | head-64.h | 63 sname##_len = (end) - (start); \ 95 sname##_len = (end) - (start); \ 98 . = sname##_len; 108 . = sname##_len; \
|
/linux/arch/s390/include/asm/ |
H A D | asm-extable.h | 27 #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 D | fw.h | 18 #define pagenum_128(_len) (u32)(((_len)>>7) + ((_len)&0x7F ? 1 : 0)) argument
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
H A D | fw_common.h | 46 #define pagenum_128(_len) (u32)(((_len)>>7) + ((_len)&0x7F ? 1 : 0)) argument
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | mcdi.h | 195 #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 D | a6xx_gpu.h | 201 #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 D | getrandom.h | 13 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 D | fw.h | 82 #define pagenum_128(_len) (u32)(((_len)>>7) + ((_len)&0x7F ? 1 : 0)) argument
|
/linux/arch/arm64/include/asm/vdso/ |
H A D | getrandom.h | 19 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 D | xattr.h | 32 #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 D | fw.h | 110 #define pagenum_128(_len) \ argument 111 (u32)(((_len) >> 7) + ((_len) & 0x7F ? 1 : 0))
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | fw.h | 148 #define pagenum_128(_len) (u32)(((_len)>>7) + ((_len)&0x7F ? 1 : 0)) argument
|
/linux/include/net/ |
H A D | netlink.h | 466 #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 D | adf_tl_debugfs.c | 89 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 D | genl_magic_func.h | 116 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 D | fw.h | 151 #define pagenum_128(_len) (u32)(((_len)>>7) + ((_len)&0x7F ? 1 : 0)) argument
|
/linux/drivers/cdx/controller/ |
H A D | mcdi.h | 207 #define MCDI_DECLARE_BUF(_name, _len) struct cdx_dword _name[DIV_ROUND_UP(_len, 4)] = {{0}} argument
|
/linux/net/rxrpc/ |
H A D | recvmsg.c | 490 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()
|