STRUCT TTM_OBJECT_FILE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct ttm_object_file(9) β€” Kernel API Manual ✨

okay so bestie, welcome to the struct ttm_object_file(9) page β€” manual-name folded in, vibes immaculate, facts untouched 🫢

🌸 NAME 🌸

struct ttm_object_file β€” the name line is literally just the struct name; the description field is empty in the original, so no invented lore here πŸ™ˆ

✨ SYNOPSIS ✨

Here’s the struct exactly as it appears β€” no edits, no β€œfixing” the spacing, periodt:

       struct ttm_object_file {
           struct ttm_object_device *tdev;
           spinlock_t lock;
           struct list_head ref_list;
           unsigned long ref_hash[1 << (( VMW_TTM_OBJECT_REF_HT_ORDER) - 1)];
           struct kref refcount;
        };

πŸŽ€ Members πŸŽ€

  • tdev β€” pointer to the ttm_object_device. literally its whole job πŸ’–
  • lock β€” the lock that protects the ref_list list and the ref_hash hash tables. bodyguard behavior, no cap πŸ”’
  • ref_list β€” list of ttm_ref_objects to be destroyed at file release. cleanup crew energy 🧹
  • ref_hash β€” hash tables of ref objects, one per ttm_ref_type, for fast lookup of ref objects given a base object. speed-dating but for refs ⚑
  • refcount β€” reference/usage count. keeping tally, slay πŸ“Š

πŸ‘€ SEE ALSO πŸ‘€


mwah πŸ’‹ source/version: ./drivers/gpu/drm/vmwgfx Β· date: October 2026 Β· page: struct ttm_object_file(9) β€” bye bestie 🫢

πŸ“¦ where this page comes from