Home
last modified time | relevance | path

Searched refs:cstr (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/fs/crypto/
Dhooks.c343 struct fscrypt_str cstr, pstr; in fscrypt_get_symlink() local
373 cstr.name = (unsigned char *)sd->encrypted_path; in fscrypt_get_symlink()
374 cstr.len = le16_to_cpu(sd->len); in fscrypt_get_symlink()
376 if (cstr.len == 0) in fscrypt_get_symlink()
379 if (cstr.len + sizeof(*sd) > max_size) in fscrypt_get_symlink()
382 err = fscrypt_fname_alloc_buffer(cstr.len, &pstr); in fscrypt_get_symlink()
386 err = fscrypt_fname_disk_to_usr(inode, 0, 0, &cstr, &pstr); in fscrypt_get_symlink()
/Linux-v6.6/scripts/gcc-plugins/
Dgcc-common.h118 tree cstr, elem, index, type; in build_const_char_string() local
120 cstr = build_string(len, str); in build_const_char_string()
124 TREE_TYPE(cstr) = type; in build_const_char_string()
125 TREE_CONSTANT(cstr) = 1; in build_const_char_string()
126 TREE_READONLY(cstr) = 1; in build_const_char_string()
127 TREE_STATIC(cstr) = 1; in build_const_char_string()
128 return cstr; in build_const_char_string()
/Linux-v6.6/rust/kernel/
Dstr.rs599 fn try_from(cstr: &'a CStr) -> Result<CString, AllocError> { in try_from()
602 buf.try_extend_from_slice(cstr.as_bytes_with_nul()) in try_from()
/Linux-v6.6/tools/perf/
Dbuiltin-diff.c233 char *cstr = (char *) str; in setup_compute() local
258 cstr = buf; in setup_compute()
262 if (!strcmp(cstr, compute_names[i])) { in setup_compute()