Searched refs:chlist (Results 1 – 2 of 2) sorted by relevance
16 int host1x_channel_list_init(struct host1x_channel_list *chlist, in host1x_channel_list_init() argument19 chlist->channels = kcalloc(num_channels, sizeof(struct host1x_channel), in host1x_channel_list_init()21 if (!chlist->channels) in host1x_channel_list_init()24 chlist->allocated_channels = in host1x_channel_list_init()27 if (!chlist->allocated_channels) { in host1x_channel_list_init()28 kfree(chlist->channels); in host1x_channel_list_init()32 bitmap_zero(chlist->allocated_channels, num_channels); in host1x_channel_list_init()37 void host1x_channel_list_free(struct host1x_channel_list *chlist) in host1x_channel_list_free() argument39 kfree(chlist->allocated_channels); in host1x_channel_list_free()40 kfree(chlist->channels); in host1x_channel_list_free()[all …]
35 int host1x_channel_list_init(struct host1x_channel_list *chlist,37 void host1x_channel_list_free(struct host1x_channel_list *chlist);