Lines Matching refs:_len
4178 u32 _len, j; in handle_session() local
4186 ceph_decode_32_safe(&p, end, _len, bad); in handle_session()
4187 if (_len) { in handle_session()
4188 cap_auths[i].match.gids = kcalloc(_len, sizeof(u32), in handle_session()
4195 cap_auths[i].match.num_gids = _len; in handle_session()
4196 for (j = 0; j < _len; j++) in handle_session()
4202 ceph_decode_32_safe(&p, end, _len, bad); in handle_session()
4203 if (_len) { in handle_session()
4204 cap_auths[i].match.path = kcalloc(_len + 1, sizeof(char), in handle_session()
4210 ceph_decode_copy(&p, cap_auths[i].match.path, _len); in handle_session()
4213 while (_len && cap_auths[i].match.path[_len - 1] == '/') { in handle_session()
4214 cap_auths[i].match.path[_len - 1] = '\0'; in handle_session()
4215 _len -= 1; in handle_session()
4219 ceph_decode_32_safe(&p, end, _len, bad); in handle_session()
4220 if (_len) { in handle_session()
4221 cap_auths[i].match.fs_name = kcalloc(_len + 1, sizeof(char), in handle_session()
4227 ceph_decode_copy(&p, cap_auths[i].match.fs_name, _len); in handle_session()