Lines Matching refs:obj
33 struct sock_obj *obj; in walk_sockets() local
37 obj = CONTAINER_OF(obj_core, struct sock_obj, obj_core); in walk_sockets()
39 if (k_thread_name_copy(obj->creator, thread_name, in walk_sockets()
42 obj->creator); in walk_sockets()
47 ret = k_obj_core_stats_raw(K_OBJ_CORE(obj), in walk_sockets()
53 if (obj->fd < 0) { in walk_sockets()
57 lifetime = obj->create_time; in walk_sockets()
63 obj->create_time); in walk_sockets()
64 snprintk(fd, sizeof(fd), "%d", obj->fd); in walk_sockets()
69 thread_name, obj->reg->name, in walk_sockets()
70 obj->socket_family == AF_INET6 ? '6' : in walk_sockets()
71 (obj->socket_family == AF_INET ? '4' : in walk_sockets()
72 (obj->socket_family == AF_NET_MGMT ? 'M' : ' ')), in walk_sockets()
73 obj->socket_type == SOCK_DGRAM ? 'D' : in walk_sockets()
74 (obj->socket_type == SOCK_STREAM ? 'S' : in walk_sockets()
75 (obj->socket_type == SOCK_RAW ? 'R' : ' ')), in walk_sockets()
76 obj->socket_proto == IPPROTO_UDP ? 'U' : in walk_sockets()
77 (obj->socket_proto == IPPROTO_TCP ? 'T' : ' '), in walk_sockets()