Lines Matching full:pack
40 struct gf100_gr_pack *pack; in gk20a_gr_av_to_init_() local
45 pack = vzalloc((sizeof(*pack) * 2) + (sizeof(*init) * (nent + 1))); in gk20a_gr_av_to_init_()
46 if (!pack) in gk20a_gr_av_to_init_()
49 init = (void *)(pack + 2); in gk20a_gr_av_to_init_()
50 pack[0].init = init; in gk20a_gr_av_to_init_()
62 *ppack = pack; in gk20a_gr_av_to_init_()
83 struct gf100_gr_pack *pack; in gk20a_gr_aiv_to_init() local
88 pack = vzalloc((sizeof(*pack) * 2) + (sizeof(*init) * (nent + 1))); in gk20a_gr_aiv_to_init()
89 if (!pack) in gk20a_gr_aiv_to_init()
92 init = (void *)(pack + 2); in gk20a_gr_aiv_to_init()
93 pack[0].init = init; in gk20a_gr_aiv_to_init()
105 *ppack = pack; in gk20a_gr_aiv_to_init()
113 struct gf100_gr_pack *pack; in gk20a_gr_av_to_method() local
121 pack = vzalloc((sizeof(*pack) * (max_classes + 1)) + in gk20a_gr_av_to_method()
123 if (!pack) in gk20a_gr_av_to_method()
126 init = (void *)(pack + max_classes + 1); in gk20a_gr_av_to_method()
136 pack[classidx].init = init; in gk20a_gr_av_to_method()
137 pack[classidx].type = class; in gk20a_gr_av_to_method()
140 vfree(pack); in gk20a_gr_av_to_method()
151 *ppack = pack; in gk20a_gr_av_to_method()