Lines Matching refs:__offload
1117 struct __tc_taprio_qopt_offload *__offload; in taprio_offload_alloc() local
1119 __offload = kzalloc(struct_size(__offload, offload.entries, num_entries), in taprio_offload_alloc()
1121 if (!__offload) in taprio_offload_alloc()
1124 refcount_set(&__offload->users, 1); in taprio_offload_alloc()
1126 return &__offload->offload; in taprio_offload_alloc()
1132 struct __tc_taprio_qopt_offload *__offload; in taprio_offload_get() local
1134 __offload = container_of(offload, struct __tc_taprio_qopt_offload, in taprio_offload_get()
1137 refcount_inc(&__offload->users); in taprio_offload_get()
1145 struct __tc_taprio_qopt_offload *__offload; in taprio_offload_free() local
1147 __offload = container_of(offload, struct __tc_taprio_qopt_offload, in taprio_offload_free()
1150 if (!refcount_dec_and_test(&__offload->users)) in taprio_offload_free()
1153 kfree(__offload); in taprio_offload_free()