Home
last modified time | relevance | path

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

/linux-6.15/fs/crypto/
H A Dhooks.c358 struct fscrypt_str cstr, pstr; in fscrypt_get_symlink() local
388 cstr.name = (unsigned char *)sd->encrypted_path; in fscrypt_get_symlink()
389 cstr.len = le16_to_cpu(sd->len); in fscrypt_get_symlink()
391 if (cstr.len == 0) in fscrypt_get_symlink()
394 if (cstr.len + sizeof(*sd) > max_size) in fscrypt_get_symlink()
397 err = fscrypt_fname_alloc_buffer(cstr.len, &pstr); in fscrypt_get_symlink()
401 err = fscrypt_fname_disk_to_usr(inode, 0, 0, &cstr, &pstr); in fscrypt_get_symlink()
/linux-6.15/scripts/gcc-plugins/
H A Dgcc-common.h113 tree cstr, elem, index, type; in build_const_char_string() local
115 cstr = build_string(len, str); in build_const_char_string()
119 TREE_TYPE(cstr) = type; in build_const_char_string()
120 TREE_CONSTANT(cstr) = 1; in build_const_char_string()
121 TREE_READONLY(cstr) = 1; in build_const_char_string()
122 TREE_STATIC(cstr) = 1; in build_const_char_string()
123 return cstr; in build_const_char_string()
/linux-6.15/drivers/net/wireless/realtek/rtw89/
H A Dregd.c808 static void tpe_intersect_constraint(struct rtw89_reg_6ghz_tpe *tpe, s8 cstr) in tpe_intersect_constraint() argument
811 tpe->constraint = min(tpe->constraint, cstr); in tpe_intersect_constraint()
815 tpe->constraint = cstr; in tpe_intersect_constraint()
823 s8 cstr; in tpe_deal_with_eirp() local
829 cstr = tpe_get_constraint(eirp->power[i]); in tpe_deal_with_eirp()
830 tpe_intersect_constraint(tpe, cstr); in tpe_deal_with_eirp()
846 s8 cstr; in tpe_deal_with_psd() local
853 cstr = tpe_convert_psd_to_eirp(cstr_psd); in tpe_deal_with_psd()
854 tpe_intersect_constraint(tpe, cstr); in tpe_deal_with_psd()
H A Dphy.c2186 s8 cstr = S8_MAX; in rtw89_phy_get_tpe_constraint() local
2189 cstr = rtw89_phy_txpwr_dbm_without_tolerance(tpe->constraint); in rtw89_phy_get_tpe_constraint()
2191 return rtw89_phy_txpwr_dbm_to_mac(rtwdev, cstr); in rtw89_phy_get_tpe_constraint()
2268 s8 cstr; in rtw89_phy_read_txpwr_limit() local
2302 cstr = rtw89_phy_get_tpe_constraint(rtwdev, band); in rtw89_phy_read_txpwr_limit()
2304 return min3(lmt, sar, cstr); in rtw89_phy_read_txpwr_limit()
2528 s8 cstr; in rtw89_phy_read_txpwr_limit_ru() local
2562 cstr = rtw89_phy_get_tpe_constraint(rtwdev, band); in rtw89_phy_read_txpwr_limit_ru()
2564 return min3(lmt_ru, sar, cstr); in rtw89_phy_read_txpwr_limit_ru()
/linux-6.15/rust/kernel/
H A Dstr.rs660 let cstr = CStr::from_bytes_with_nul(&bytes).unwrap(); in test_cstr_display_all_bytes() localVariable
927 fn try_from(cstr: &'a CStr) -> Result<CString, AllocError> { in try_from()
930 buf.extend_from_slice(cstr.as_bytes_with_nul(), GFP_KERNEL)?; in try_from()
/linux-6.15/tools/perf/
H A Dbuiltin-diff.c234 char *cstr = (char *) str; in setup_compute() local
259 cstr = buf; in setup_compute()
263 if (!strcmp(cstr, compute_names[i])) { in setup_compute()