Home
last modified time | relevance | path

Searched refs:ckmalloc (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/char/rio/
Drio_linux.c976 static void * ckmalloc (int size) in ckmalloc() function
1011 if (!(p = ckmalloc ( RI_SZ))) goto free0; in rio_init_datastructures()
1012 if (!(p->RIOHosts = ckmalloc (RIO_HOSTS * HOST_SZ))) goto free1; in rio_init_datastructures()
1013 if (!(p->RIOPortp = ckmalloc (RIO_PORTS * PORT_SZ))) goto free2; in rio_init_datastructures()
1014 if (!(rio_termios = ckmalloc (RIO_PORTS * TMIO_SZ))) goto free3; in rio_init_datastructures()
1015 if (!(rio_termios_locked = ckmalloc (RIO_PORTS * TMIO_SZ))) goto free4; in rio_init_datastructures()
1026 port = p->RIOPortp[i] = ckmalloc (sizeof (struct Port)); in rio_init_datastructures()
/linux-2.4.37.9/drivers/char/
Dsx.c2318 static void * ckmalloc (int size) in ckmalloc() function
2341 sx_ports = ckmalloc(nports * sizeof (struct sx_port)); in sx_init_portstructs()
2345 sx_termios = ckmalloc(nports * sizeof (struct termios *)); in sx_init_portstructs()
2351 sx_termios_locked = ckmalloc(nports * sizeof (struct termios *)); in sx_init_portstructs()