LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 05-14-2025, 02:21 AM   #1
hackers300112
LQ Newbie
 
Registered: Jan 2025
Location: Australia
Distribution: Kali Linux, Debian
Posts: 20

Rep: Reputation: 2
Lightbulb are the class object within the actual my_device object?


So:

With the management of devices in Linux, is it that the structure on the device in kernel-heap is:

class --> my_device object --> device object?

So we have our class list in RAM saying all the different my_device objects, and when you check the contents of those the device object pointer is there? And what is in the my_device objects and device objects?

Thanks!!!
 
Old 05-15-2025, 02:57 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,476

Rep: Reputation: 8051Reputation: 8051Reputation: 8051Reputation: 8051Reputation: 8051Reputation: 8051Reputation: 8051Reputation: 8051Reputation: 8051Reputation: 8051Reputation: 8051
probably you need to start here: https://linux-kernel-labs.github.io/...ice_model.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Creating a class object inside another class's constuctor retroCheck Programming 24 02-25-2015 12:51 AM
Why can't we access a protected member in a derived class by a base class's object? Aquarius_Girl Programming 5 02-04-2012 10:35 PM
[SOLVED] C++ Class object can't find class methods TheCrow33 Programming 4 01-29-2012 05:04 PM
saving a Serializable object within it's own class (JAVA) knobby67 Programming 1 05-12-2011 02:57 PM
class within a class in C++ knobby67 Programming 1 07-21-2009 05:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration