Lines Matching refs:vtable

36 	const struct fd_op_vtable *vtable;  in ZTEST()  local
42 obj = zvfs_get_fd_obj_and_vtable(fd, &vtable, in ZTEST()
56 const struct fd_op_vtable *vtable = 0; in ZTEST() local
57 const struct fd_op_vtable *vtable2 = vtable+1; in ZTEST()
59 int *obj = zvfs_get_fd_obj(fd, vtable, err); /* function being tested */ in ZTEST()
65 vtable = NULL; in ZTEST()
68 zvfs_finalize_fd(fd, obj, vtable); in ZTEST()
70 obj = zvfs_get_fd_obj(-1, vtable, err); /* function being tested */ in ZTEST()
86 const struct fd_op_vtable *vtable; in ZTEST() local
91 int *obj = zvfs_get_fd_obj_and_vtable(fd, &vtable, NULL); in ZTEST()
93 const struct fd_op_vtable *original_vtable = vtable; in ZTEST()
96 zvfs_finalize_fd(fd, obj, vtable); /* function being tested */ in ZTEST()
98 obj = zvfs_get_fd_obj_and_vtable(fd, &vtable, NULL); in ZTEST()
101 zassert_equal_ptr(vtable, original_vtable, "vtable is different after finalizing"); in ZTEST()
108 const struct fd_op_vtable *vtable = NULL; in ZTEST() local
111 int fd = zvfs_alloc_fd(obj, vtable); /* function being tested */ in ZTEST()
114 obj = zvfs_get_fd_obj_and_vtable(fd, &vtable, NULL); in ZTEST()
117 zassert_equal_ptr(vtable, NULL, "vtable is different after allocating"); in ZTEST()
124 const struct fd_op_vtable *vtable = NULL; in ZTEST() local
131 int *obj = zvfs_get_fd_obj_and_vtable(fd, &vtable, NULL); in ZTEST()
142 const struct fd_op_vtable *vtable; in test_cb() local
145 obj = zvfs_get_fd_obj_and_vtable(fd, &vtable, NULL); in test_cb()
148 zassert_not_null(vtable, "vtable is null"); in test_cb()
152 obj = zvfs_get_fd_obj_and_vtable(fd, &vtable, NULL); in test_cb()
159 const struct fd_op_vtable *vtable = VTABLE_INIT; in ZTEST() local
160 void *obj = (void *)vtable; in ZTEST()
165 zvfs_finalize_fd(shared_fd, obj, vtable); in ZTEST()
176 obj = zvfs_get_fd_obj_and_vtable(shared_fd, &vtable, NULL); in ZTEST()