Lines Matching refs:__offload
1134 struct __tc_taprio_qopt_offload *__offload; in taprio_offload_alloc() local
1136 __offload = kzalloc(struct_size(__offload, offload.entries, num_entries), in taprio_offload_alloc()
1138 if (!__offload) in taprio_offload_alloc()
1141 refcount_set(&__offload->users, 1); in taprio_offload_alloc()
1143 return &__offload->offload; in taprio_offload_alloc()
1149 struct __tc_taprio_qopt_offload *__offload; in taprio_offload_get() local
1151 __offload = container_of(offload, struct __tc_taprio_qopt_offload, in taprio_offload_get()
1154 refcount_inc(&__offload->users); in taprio_offload_get()
1162 struct __tc_taprio_qopt_offload *__offload; in taprio_offload_free() local
1164 __offload = container_of(offload, struct __tc_taprio_qopt_offload, in taprio_offload_free()
1167 if (!refcount_dec_and_test(&__offload->users)) in taprio_offload_free()
1170 kfree(__offload); in taprio_offload_free()