Home
last modified time | relevance | path

Searched refs:new_obj (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.5.0/subsys/net/lib/sockets/
Dsocket_dispatcher.c144 void *new_obj; in sock_dispatch_read_vmeth() local
151 new_obj = z_get_fd_obj_and_vtable(fd, &vtable, NULL); in sock_dispatch_read_vmeth()
152 if (new_obj == NULL) { in sock_dispatch_read_vmeth()
156 return vtable->read(new_obj, buffer, count); in sock_dispatch_read_vmeth()
164 void *new_obj; in sock_dispatch_write_vmeth() local
171 new_obj = z_get_fd_obj_and_vtable(fd, &vtable, NULL); in sock_dispatch_write_vmeth()
172 if (new_obj == NULL) { in sock_dispatch_write_vmeth()
176 return vtable->write(new_obj, buffer, count); in sock_dispatch_write_vmeth()
184 void *new_obj; in sock_dispatch_ioctl_vmeth() local
196 new_obj = z_get_fd_obj_and_vtable(fd, &vtable, NULL); in sock_dispatch_ioctl_vmeth()
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/services/ots/
Dots.c303 struct bt_gatt_ots_object *new_obj; in bt_ots_obj_add_internal() local
312 err = bt_gatt_ots_obj_manager_obj_add(ots->obj_manager, &new_obj); in bt_ots_obj_add_internal()
321 err = ots->cb->obj_created(ots, NULL, new_obj->id, param, &created_desc); in bt_ots_obj_add_internal()
324 (void)bt_gatt_ots_obj_manager_obj_delete(new_obj); in bt_ots_obj_add_internal()
333 (void)bt_ots_obj_delete(ots, new_obj->id); in bt_ots_obj_add_internal()
340 (void)bt_ots_obj_delete(ots, new_obj->id); in bt_ots_obj_add_internal()
347 (void)bt_ots_obj_delete(ots, new_obj->id); in bt_ots_obj_add_internal()
352 new_obj->metadata.type = param->type; in bt_ots_obj_add_internal()
353 new_obj->metadata.name = created_desc.name; in bt_ots_obj_add_internal()
354 new_obj->metadata.size = created_desc.size; in bt_ots_obj_add_internal()
[all …]
/Zephyr-Core-3.5.0/doc/kernel/object_cores/
Dindex.rst127 void my_new_obj_init(struct my_new_obj *new_obj)
130 k_obj_core_init(K_OBJ_CORE(new_obj), &my_obj_type);
131 k_obj_core_link(K_OBJ_CORE(new_obj));
132 k_obj_core_stats_register(K_OBJ_CORE(new_obj), &new_obj->raw_stats,