Searched refs:privsize (Results 1 – 2 of 2) sorted by relevance
818 unsigned int privsize, char *ifname, in hdlcdrv_register_hdlcdrv() argument826 if (privsize < sizeof(struct hdlcdrv_state)) in hdlcdrv_register_hdlcdrv()827 privsize = sizeof(struct hdlcdrv_state); in hdlcdrv_register_hdlcdrv()829 if (!(s = dev->priv = kmalloc(privsize, GFP_KERNEL))) in hdlcdrv_register_hdlcdrv()834 memset(s, 0, privsize); in hdlcdrv_register_hdlcdrv()
362 unsigned int privsize, char *ifname,