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