Searched refs:os_malloc (Results 1 – 6 of 6) sorted by relevance
140 *bufp = os_malloc(size); in os_read_file()210 void *os_malloc(size_t length) in os_malloc() function246 buf = os_malloc(length); in os_realloc()305 short_opts = os_malloc(sizeof(*short_opts) * num_options * 2 + 1); in os_parse_args()306 long_opts = os_malloc(sizeof(*long_opts) * num_options); in os_parse_args()409 fname = os_malloc(len); in os_dirent_ls()422 next = os_malloc(sizeof(*node) + strlen(entry->d_name) + 1); in os_dirent_ls()585 argv = os_malloc((argc + count + 1) * sizeof(char *)); in add_args()
30 buf = os_malloc(size); in state_ensure_space()56 state->state_fdt = os_malloc(size); in state_read_file()245 state->state_fdt = os_malloc(size); in sandbox_write_state()377 state->ram_buf = os_malloc(state->ram_size); in state_init()
77 priv->device = os_malloc(sizeof(struct sockaddr_ll)); in _raw_packet_start()150 priv->device = os_malloc(sizeof(struct sockaddr_in)); in _local_inet_start()
139 fname = os_malloc(len); in sandbox_cmdline_cb_default_fdt()
119 void *os_malloc(size_t length);
118 ec->flash_data = os_malloc(len); in cros_ec_read_state()555 ec->flash_data = os_malloc(ec->flash_data_len); in cros_ec_probe()