Lines Matching refs:__offload
1129 struct __tc_taprio_qopt_offload *__offload; in taprio_offload_alloc() local
1131 __offload = kzalloc(struct_size(__offload, offload.entries, num_entries), in taprio_offload_alloc()
1133 if (!__offload) in taprio_offload_alloc()
1136 refcount_set(&__offload->users, 1); in taprio_offload_alloc()
1138 return &__offload->offload; in taprio_offload_alloc()
1144 struct __tc_taprio_qopt_offload *__offload; in taprio_offload_get() local
1146 __offload = container_of(offload, struct __tc_taprio_qopt_offload, in taprio_offload_get()
1149 refcount_inc(&__offload->users); in taprio_offload_get()
1157 struct __tc_taprio_qopt_offload *__offload; in taprio_offload_free() local
1159 __offload = container_of(offload, struct __tc_taprio_qopt_offload, in taprio_offload_free()
1162 if (!refcount_dec_and_test(&__offload->users)) in taprio_offload_free()
1165 kfree(__offload); in taprio_offload_free()