Lines Matching refs:set_enable
1027 struct set_enable { struct
1034 struct set_enable *set_enable = container_of(work, in do_enable_set() local
1035 struct set_enable, work); in do_enable_set()
1037 if (!set_enable->flag || enable_6lowpan != set_enable->flag) in do_enable_set()
1043 enable_6lowpan = set_enable->flag; in do_enable_set()
1054 kfree(set_enable); in do_enable_set()
1059 struct set_enable *set_enable; in lowpan_enable_set() local
1061 set_enable = kzalloc(sizeof(*set_enable), GFP_KERNEL); in lowpan_enable_set()
1062 if (!set_enable) in lowpan_enable_set()
1065 set_enable->flag = !!val; in lowpan_enable_set()
1066 INIT_WORK(&set_enable->work, do_enable_set); in lowpan_enable_set()
1068 schedule_work(&set_enable->work); in lowpan_enable_set()