Lines Matching refs:_len
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()
68 !nfs_append_int(key, _len, sin6->sin6_addr.s6_addr32[1]) || in nfs_fscache_get_client_key()
69 !nfs_append_int(key, _len, sin6->sin6_addr.s6_addr32[2]) || in nfs_fscache_get_client_key()
70 !nfs_append_int(key, _len, sin6->sin6_addr.s6_addr32[3])) in nfs_fscache_get_client_key()