| /components/finsh/ |
| A D | cmd.c | 125 struct rt_object *obj; in list_get_next() local 198 struct rt_object *obj; in list_thread() local 302 struct rt_object *obj; in list_sem() local 370 struct rt_object *obj; in list_event() local 436 struct rt_object *obj; in list_mutex() local 511 struct rt_object *obj; in list_mailbox() local 582 struct rt_object *obj; in list_msgqueue() local 650 struct rt_object *obj; in list_memheap() local 708 struct rt_object *obj; in list_mempool() local 788 struct rt_object *obj; in list_timer() local [all …]
|
| /components/dfs/dfs_v1/filesystems/elmfat/ |
| A D | ff.c | 1383 res = put_fat(obj->fs, lcl - obj->n_frag + 1, (obj->n_frag > 1) ? lcl - obj->n_frag + 2 : term); in fill_last_frag() 1536 if (obj->n_frag == 0) obj->n_frag = 1; in create_chain() 2176 dp->obj.fs = obj->fs; 2177 dp->obj.sclust = obj->c_scl; 2178 dp->obj.stat = (BYTE)obj->c_size; 3068 dp->obj.c_scl = dp->obj.sclust; 3069 dp->obj.c_size = ((DWORD)dp->obj.objsize & 0xFFFFFF00) | dp->obj.stat; 3569 …if (obj && obj->fs && obj->fs->fs_type && obj->id == obj->fs->id) { /* Test if the object is valid… 3785 fp->obj.c_size = ((DWORD)dj.obj.objsize & 0xFFFFFF00) | dj.obj.stat; 4965 sdj.obj.objsize = obj.objsize; [all …]
|
| A D | ff.h | 207 FFOBJID obj; /* Object identifier (must be the 1st member to detect invalid object pointer) */ member 230 FFOBJID obj; /* Object identifier */ member 341 #define f_eof(fp) ((int)((fp)->fptr == (fp)->obj.objsize)) 344 #define f_size(fp) ((fp)->obj.objsize)
|
| A D | dfs_elm.c | 516 if (length <= fd->obj.objsize) in dfs_elm_ioctl()
|
| /components/dfs/dfs_v2/filesystems/elmfat/ |
| A D | ff.c | 1413 res = put_fat(obj->fs, lcl - obj->n_frag + 1, (obj->n_frag > 1) ? lcl - obj->n_frag + 2 : term); in fill_last_frag() 1566 if (obj->n_frag == 0) obj->n_frag = 1; in create_chain() 2207 dp->obj.fs = obj->fs; 2208 dp->obj.sclust = obj->c_scl; 2209 dp->obj.stat = (BYTE)obj->c_size; 3116 dp->obj.c_scl = dp->obj.sclust; 3117 dp->obj.c_size = ((DWORD)dp->obj.objsize & 0xFFFFFF00) | dp->obj.stat; 3621 …if (obj && obj->fs && obj->fs->fs_type && obj->id == obj->fs->id) { /* Test if the object is valid… 3849 fp->obj.c_size = ((DWORD)dj.obj.objsize & 0xFFFFFF00) | dj.obj.stat; 5035 sdj.obj.objsize = obj.objsize; [all …]
|
| A D | ff.h | 205 FFOBJID obj; /* Object identifier (must be the 1st member to detect invalid object pointer) */ member 228 FFOBJID obj; /* Object identifier */ member 343 #define f_eof(fp) ((int)((fp)->fptr == (fp)->obj.objsize)) 346 #define f_size(fp) ((fp)->obj.objsize)
|
| /components/libc/cplusplus/cpp11/ |
| A D | thread_local_impl.cpp | 17 int __cxa_thread_atexit_impl(destructor dtor, void* obj, void* dso_symbol) in __cxa_thread_atexit_impl() argument 22 pthread_setspecific(key_tmp, obj); in __cxa_thread_atexit_impl() 30 int __cxxabiv1::__cxa_thread_atexit(destructor dtor, void *obj, void *dso_handle) in __cxa_thread_atexit() argument 32 return __cxa_thread_atexit_impl(dtor, obj, dso_handle); in __cxa_thread_atexit()
|
| A D | atomic_8.c | 132 bool __atomic_compare_exchange(size_t size, void *obj, void *expected, void *desired, int success, … in __atomic_compare_exchange() argument 137 if (rt_memcmp(obj, expected, size) == 0) in __atomic_compare_exchange() 139 rt_memcpy(obj, desired, size); in __atomic_compare_exchange() 144 rt_memcpy(expected, obj, size); in __atomic_compare_exchange()
|
| /components/drivers/i2c/ |
| A D | dev_soft_i2c.c | 233 struct rt_soft_i2c *obj; in rt_soft_i2c_init() local 242 obj = &i2c_bus_obj[i]; in rt_soft_i2c_init() 243 obj->ops = soft_i2c_ops; in rt_soft_i2c_init() 244 obj->ops.data = cfg; in rt_soft_i2c_init() 245 obj->i2c_bus.priv = &obj->ops; in rt_soft_i2c_init() 246 obj->ops.delay_us = cfg->timing_delay; in rt_soft_i2c_init() 247 obj->ops.timeout = cfg->timing_timeout; in rt_soft_i2c_init() 248 if(rt_i2c_bit_add_bus(&obj->i2c_bus, cfg->bus_name) == RT_EOK) in rt_soft_i2c_init()
|
| /components/dfs/dfs_v2/filesystems/procfs/ |
| A D | proc_partitions.c | 84 struct rt_object *obj; in list_get_next() local 86 obj = rt_list_entry(node, struct rt_object, list); in list_get_next() 87 if ((obj->type & ~RT_Object_Class_Static) != arg->type) in list_get_next() 136 struct rt_object *obj; in show_info() local 139 obj = rt_list_entry(obj_list[i], struct rt_object, list); in show_info() 141 if ((obj->type & ~RT_Object_Class_Static) != find_arg.type) in show_info() 149 device = (struct rt_device *)obj; in show_info()
|
| A D | proc_devices.c | 92 struct rt_object *obj; in list_get_next() local 94 obj = rt_list_entry(node, struct rt_object, list); in list_get_next() 95 if ((obj->type & ~RT_Object_Class_Static) != arg->type) in list_get_next() 214 struct rt_object *obj; in list_device() local 217 obj = rt_list_entry(obj_list[i], struct rt_object, list); in list_device() 219 if ((obj->type & ~RT_Object_Class_Static) != find_arg.type) in list_device() 227 device = (struct rt_device *)obj; in list_device()
|
| /components/drivers/core/ |
| A D | power_domain.c | 271 struct rt_object *obj; in ofw_find_power_domain() local 281 if (power_domain_np && (obj = rt_ofw_data(power_domain_np))) in ofw_find_power_domain() 283 if (!rt_strcmp(obj->name, RT_POWER_DOMAIN_OBJ_NAME)) in ofw_find_power_domain() 285 proxy = rt_container_of(obj, struct rt_dm_power_domain_proxy, parent); in ofw_find_power_domain() 288 else if (!rt_strcmp(obj->name, RT_POWER_DOMAIN_OBJ_NAME)) in ofw_find_power_domain() 290 domain = rt_container_of(obj, struct rt_dm_power_domain, parent); in ofw_find_power_domain() 292 else if ((obj = rt_ofw_parse_object(power_domain_np, in ofw_find_power_domain() 295 proxy = rt_container_of(obj, struct rt_dm_power_domain_proxy, parent); in ofw_find_power_domain() 298 else if ((obj = rt_ofw_parse_object(power_domain_np, in ofw_find_power_domain() 301 domain = rt_container_of(obj, struct rt_dm_power_domain, parent); in ofw_find_power_domain()
|
| /components/drivers/spi/ |
| A D | dev_spi_bit_ops.c | 429 struct rt_spi_bit_obj *obj = rt_container_of(device->bus, struct rt_spi_bit_obj, bus); in spi_bit_configure() local 430 struct rt_spi_bit_ops *ops = obj->ops; in spi_bit_configure() 463 rt_memcpy(&obj->config, configuration, sizeof(struct rt_spi_configuration)); in spi_bit_configure() 471 struct rt_spi_bit_ops *ops = obj->ops; in spi_bit_xfer() 472 struct rt_spi_configuration *config = &obj->config; in spi_bit_xfer() 568 rt_err_t rt_spi_bit_add_bus(struct rt_spi_bit_obj *obj, in rt_spi_bit_add_bus() argument 572 obj->ops = ops; in rt_spi_bit_add_bus() 573 obj->config.data_width = 8; in rt_spi_bit_add_bus() 574 obj->config.max_hz = 1 * 1000 * 1000; in rt_spi_bit_add_bus() 575 obj->config.mode = RT_SPI_MASTER | RT_SPI_MSB | RT_SPI_MODE_0; in rt_spi_bit_add_bus() [all …]
|
| A D | dev_spi_bit_ops.h | 47 rt_err_t rt_spi_bit_add_bus(struct rt_spi_bit_obj *obj,
|
| /components/drivers/ofw/ |
| A D | ofw.c | 86 struct rt_object *obj = rt_ofw_data(np), *ret_obj = RT_NULL; in ofw_parse_object() local 104 if (!((rt_uint32_t)(obj->name[0] - 0x20) < 0x5f)) in ofw_parse_object() 113 if (!rt_strncmp(item->obj_name, obj->name, RT_NAME_MAX)) in ofw_parse_object() 117 ret_obj = obj; in ofw_parse_object() 121 obj = (struct rt_object *)((rt_ubase_t)obj + item->obj_size); in ofw_parse_object() 128 LOG_E("Invalid rt_object = %s", obj->name); in ofw_parse_object() 139 struct rt_object *obj = RT_NULL, *test_obj; in rt_ofw_parse_object() local 146 obj = test_obj; in rt_ofw_parse_object() 150 obj = ofw_parse_object(np, cells_name); in rt_ofw_parse_object() 154 return obj; in rt_ofw_parse_object()
|
| /components/lwp/ |
| A D | lwp_futex.c | 107 struct rt_object *obj = RT_NULL; in _pftx_create_locked() local 121 obj = rt_custom_object_create("pftx", (void *)futex, in _pftx_create_locked() 123 if (!obj) in _pftx_create_locked() 140 if (lwp_user_object_add(lwp, obj)) in _pftx_create_locked() 143 rt_object_delete(obj); in _pftx_create_locked() 151 futex->custom_obj = obj; in _pftx_create_locked() 237 struct rt_object *obj = RT_NULL; in _sftx_create() local 245 obj = rt_custom_object_create("sftx", (void *)futex, _sftx_destroy); in _sftx_create() 246 if (!obj) in _sftx_create() 255 rt_object_delete(obj); in _sftx_create() [all …]
|
| /components/drivers/block/ |
| A D | blk.c | 430 struct rt_object *obj; in blk_dfs_mnt_table() local 438 rt_list_for_each_entry(obj, &info->object_list, list) in blk_dfs_mnt_table() 440 dev = rt_container_of(obj, struct rt_device, parent); in blk_dfs_mnt_table() 506 struct rt_object *obj; in list_blk() local 517 rt_list_for_each_entry(obj, &info->object_list, list) in list_blk() 519 dev = rt_container_of(obj, struct rt_device, parent); in list_blk()
|
| /components/drivers/usb/cherryusb/ |
| A D | .gitignore | 5 **/obj/**
|
| /components/drivers/reset/ |
| A D | reset.c | 337 struct rt_object *obj; in ofw_get_reset_control() local 347 if (rt_data && (obj = rt_ofw_parse_object(reset_args.data, in ofw_get_reset_control() 350 rstcer = rt_container_of(obj, struct rt_reset_controller, parent); in ofw_get_reset_control()
|
| /components/drivers/serial/ |
| A D | serial_tty.c | 382 static rt_err_t _match_tty_iter(struct rt_object *obj, void *data) in _match_tty_iter() argument 385 rt_device_t device = rt_container_of(obj, struct rt_device, parent); in _match_tty_iter() 389 if (rt_strncmp(obj->name, "tty"TTY_NAME_PREFIX, in _match_tty_iter()
|
| /components/dfs/dfs_v1/filesystems/nfs/ |
| A D | nfs.x | 388 post_op_fh3 obj; member 410 post_op_fh3 obj; member 437 post_op_fh3 obj; member 475 post_op_fh3 obj; member
|
| A D | nfs.h | 489 post_op_fh3 obj; member 516 post_op_fh3 obj; member 549 post_op_fh3 obj; member 591 post_op_fh3 obj; member
|
| A D | nfs_xdr.c | 847 if (!xdr_post_op_fh3(xdrs, &objp->obj)) in xdr_CREATE3resok() 895 if (!xdr_post_op_fh3(xdrs, &objp->obj)) in xdr_MKDIR3resok() 953 if (!xdr_post_op_fh3(xdrs, &objp->obj)) in xdr_SYMLINK3resok() 1031 if (!xdr_post_op_fh3(xdrs, &objp->obj)) in xdr_MKNOD3resok()
|
| /components/drivers/pic/ |
| A D | pic.c | 103 struct rt_object *obj = ptr; in rt_pic_dynamic_cast() local 105 if (obj->type == RT_Object_Class_Unknown) in rt_pic_dynamic_cast() 107 tmp = (void *)obj; in rt_pic_dynamic_cast() 109 else if (obj->type == RT_Object_Class_Device) in rt_pic_dynamic_cast() 111 tmp = (void *)obj + sizeof(struct rt_device); in rt_pic_dynamic_cast() 115 tmp = (void *)obj + sizeof(struct rt_object); in rt_pic_dynamic_cast()
|
| /components/drivers/clk/ |
| A D | clk.c | 1199 struct rt_object *obj; in ofw_get_clk_no_lock() local 1218 if (rt_ofw_data(clk_ofw_np) && (obj = rt_ofw_parse_object(clk_ofw_np, in ofw_get_clk_no_lock() 1221 clk_np = rt_container_of(obj, struct rt_clk_node, rt_parent); in ofw_get_clk_no_lock()
|