Searched refs:container_of (Results 1 – 1 of 1) sorted by relevance
57 #define container_of(inner, outer_t, elem) ((outer_t*)((char*)(inner)-offsetof(outer_t, elem))) macro93 #define to_output_file_gz(_o) container_of((_o), struct output_file_gz, out)100 #define to_output_file_normal(_o) container_of((_o), struct output_file_normal, out)108 #define to_output_file_callback(_o) container_of((_o), struct output_file_callback, out)