Lines Matching refs:__offload
1123 struct __tc_taprio_qopt_offload *__offload; in taprio_offload_alloc() local
1125 __offload = kzalloc(struct_size(__offload, offload.entries, num_entries), in taprio_offload_alloc()
1127 if (!__offload) in taprio_offload_alloc()
1130 refcount_set(&__offload->users, 1); in taprio_offload_alloc()
1132 return &__offload->offload; in taprio_offload_alloc()
1138 struct __tc_taprio_qopt_offload *__offload; in taprio_offload_get() local
1140 __offload = container_of(offload, struct __tc_taprio_qopt_offload, in taprio_offload_get()
1143 refcount_inc(&__offload->users); in taprio_offload_get()
1151 struct __tc_taprio_qopt_offload *__offload; in taprio_offload_free() local
1153 __offload = container_of(offload, struct __tc_taprio_qopt_offload, in taprio_offload_free()
1156 if (!refcount_dec_and_test(&__offload->users)) in taprio_offload_free()
1159 kfree(__offload); in taprio_offload_free()