Lines Matching refs:__offload
1104 struct __tc_taprio_qopt_offload *__offload; in taprio_offload_alloc() local
1106 __offload = kzalloc(size, GFP_KERNEL); in taprio_offload_alloc()
1107 if (!__offload) in taprio_offload_alloc()
1110 refcount_set(&__offload->users, 1); in taprio_offload_alloc()
1112 return &__offload->offload; in taprio_offload_alloc()
1118 struct __tc_taprio_qopt_offload *__offload; in taprio_offload_get() local
1120 __offload = container_of(offload, struct __tc_taprio_qopt_offload, in taprio_offload_get()
1123 refcount_inc(&__offload->users); in taprio_offload_get()
1131 struct __tc_taprio_qopt_offload *__offload; in taprio_offload_free() local
1133 __offload = container_of(offload, struct __tc_taprio_qopt_offload, in taprio_offload_free()
1136 if (!refcount_dec_and_test(&__offload->users)) in taprio_offload_free()
1139 kfree(__offload); in taprio_offload_free()