Home
last modified time | relevance | path

Searched refs:gsdev (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/mm/
Dzswapd.c42 void unregister_group_swap(struct group_swap_device *gsdev) in unregister_group_swap() argument
45 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() local
56 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 …]
/kernel/linux/linux-5.10/include/linux/
Dzswapd.h43 extern void unregister_group_swap(struct group_swap_device *gsdev);
/kernel/linux/linux-5.10/drivers/block/zram/zram_group/
Dgroup_writeback.c694 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()
Dzram_group.h64 struct group_swap_device *gsdev; member
Dzram_group.c88 zgrp->gsdev = NULL; in zram_group_meta_alloc()
/kernel/linux/linux-5.10/drivers/net/can/usb/
Dgs_usb.c246 static int gs_cmd_reset(struct gs_can *gsdev) in gs_cmd_reset() argument
249 struct usb_interface *intf = gsdev->iface; in gs_cmd_reset()
262 gsdev->channel, in gs_cmd_reset()