Searched refs:ss_type (Results 1 – 3 of 3) sorted by relevance
136 static inline uint32_t AUB_TRACE_TYPE(enum aub_state_struct_type ss_type) in AUB_TRACE_TYPE() argument138 return (ss_type & 0xFFFF0000) >> 16; in AUB_TRACE_TYPE()145 static inline uint32_t AUB_TRACE_SUBTYPE(enum aub_state_struct_type ss_type) in AUB_TRACE_SUBTYPE() argument147 return ss_type & 0xFFFF; in AUB_TRACE_SUBTYPE()
247 static inline uint32_t AUB_TRACE_TYPE(enum state_struct_type ss_type) in AUB_TRACE_TYPE() argument249 return (ss_type & 0xFFFF0000) >> 16; in AUB_TRACE_TYPE()256 static inline uint32_t AUB_TRACE_SUBTYPE(enum state_struct_type ss_type) in AUB_TRACE_SUBTYPE() argument258 return ss_type & 0xFFFF; in AUB_TRACE_SUBTYPE()
344 char *ss_type[] = { "", "STREAM", "DGRAM", "RAW", "RDM", "SEQPACKET", "UNKNOWN"}; in show_unix_sockets() local347 int sz = ARRAY_LEN(ss_type);//sizeof(ss_type)/sizeof(ss_type[0]); in show_unix_sockets()348 if ( (type < SOCK_STREAM) || (type > SOCK_SEQPACKET) ) sock_type = ss_type[sz-1]; in show_unix_sockets()349 else sock_type = ss_type[type]; in show_unix_sockets()