STRUCT UFS_QUERY_RES(9)
π struct ufs_query_res(9)
okay so real talk, this is a page straight out of the Kernel API Manual (yep, that's the manual name, and yes bestie, that's the whole flex) and it's giving "tiny struct, huge friend group" energy. Let's get into it π«Ά
β¨ NAME β¨
struct ufs_query_res β the UPIU QUERY response, aka the lil container that holds what came back when you asked a UFS device a question π
πΈ SYNOPSIS πΈ
Here's the whole thing, and honestly? She's short and she knows it:
struct ufs_query_res {
struct utp_upiu_query upiu_res;
};
That's it. That's the struct. one (1) member, no cap π
π¦ Members π¦
upiu_resβ the query response data itself, astruct utp_upiu_query. This is the actual payload, the main character of this whole structure, the reason she exists π₯
π SEE ALSO π
ok so this struct does not roll alone β she travels with an entire entourage. All of these live in the kernel file ./include/ufs/ufshcd.h:
struct uic_command(9)struct ufshcd_lrb(9)struct ufs_query_req(9)struct ufs_query(9)struct ufs_dev_cmd(9)struct ufs_clk_info(9)struct tx_eqtr_iter(9)struct ufshcd_tx_eq_settings(9)struct ufshcd_tx_eqtr_data(9)struct ufshcd_tx_eqtr_record(9)struct ufshcd_tx_eq_params(9)struct ufs_hba_variant_ops(9)struct ufs_clk_gating(9)struct ufs_clk_scaling(9)struct ufs_event_hist(9)struct ufs_stats(9)enum ufshcd_state(9)enum ufshcd_pmc_policy(9)struct ufshcd_mcq_opr_info_t(9)struct ufs_hba(9)struct ufs_hw_queue(9)ufshcd_rmwl(9)ufshcd_set_variant(9)ufshcd_get_variant(9)
like, that's a whole group chat right there and she's on every single one of those pages. social butterfly behavior fr fr π¦β¨
go read them if you wanna actually understand the UFS host controller driver, because this page alone is basically just a name tag at the party π
and that's the whole page bestie!! short, sweet, iconique. this gem comes to you from ./include/ufs, dated October 2026 β mwah, sending u a kiss, go write some kernel code ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms