Searched refs:gsdev (Results 1 – 6 of 6) sorted by relevance
42 void unregister_group_swap(struct group_swap_device *gsdev) in unregister_group_swap() argument45 list_del(&gsdev->list); in unregister_group_swap()48 kfree(gsdev); in unregister_group_swap()54 struct group_swap_device *gsdev = kzalloc(sizeof(struct group_swap_device), GFP_KERNEL); in register_group_swap() local56 if (!gsdev) in register_group_swap()59 gsdev->priv = priv; in register_group_swap()60 gsdev->ops = ops; in register_group_swap()63 list_add(&gsdev->list, &gs_list); in register_group_swap()66 return gsdev; in register_group_swap()72 struct group_swap_device *gsdev = NULL; in memcg_data_size() local[all …]
43 extern void unregister_group_swap(struct group_swap_device *gsdev);
694 zram->zgrp->gsdev = register_group_swap(&zram_group_ops, zram); in register_zram_group()695 if (!zram->zgrp->gsdev) { in register_zram_group()712 unregister_group_swap(zram->zgrp->gsdev); in unregister_zram_group()713 zram->zgrp->gsdev = NULL; in unregister_zram_group()
64 struct group_swap_device *gsdev; member
88 zgrp->gsdev = NULL; in zram_group_meta_alloc()
246 static int gs_cmd_reset(struct gs_can *gsdev) in gs_cmd_reset() argument249 struct usb_interface *intf = gsdev->iface; in gs_cmd_reset()262 gsdev->channel, in gs_cmd_reset()