Lines Matching refs:__offload
1371 struct __tc_taprio_qopt_offload *__offload; in taprio_offload_alloc() local
1373 __offload = kzalloc(struct_size(__offload, offload.entries, num_entries), in taprio_offload_alloc()
1375 if (!__offload) in taprio_offload_alloc()
1378 refcount_set(&__offload->users, 1); in taprio_offload_alloc()
1380 return &__offload->offload; in taprio_offload_alloc()
1386 struct __tc_taprio_qopt_offload *__offload; in taprio_offload_get() local
1388 __offload = container_of(offload, struct __tc_taprio_qopt_offload, in taprio_offload_get()
1391 refcount_inc(&__offload->users); in taprio_offload_get()
1399 struct __tc_taprio_qopt_offload *__offload; in taprio_offload_free() local
1401 __offload = container_of(offload, struct __tc_taprio_qopt_offload, in taprio_offload_free()
1404 if (!refcount_dec_and_test(&__offload->users)) in taprio_offload_free()
1407 kfree(__offload); in taprio_offload_free()