Home
last modified time | relevance | path

Searched refs:tlen (Results 1 – 3 of 3) sorted by relevance

/arch/sparc/kernel/
A Dvio.c297 int err, tlen, clen; in vio_create_one() local
300 type = mdesc_get_property(hp, mp, "device-type", &tlen); in vio_create_one()
302 type = mdesc_get_property(hp, mp, "name", &tlen); in vio_create_one()
305 tlen = strlen(type) + 1; in vio_create_one()
308 if (tlen > VIO_MAX_TYPE_LEN || strlen(type) >= VIO_MAX_TYPE_LEN) { in vio_create_one()
334 memcpy(vdev->type, type, tlen); in vio_create_one()
A Dioport.c173 int tlen; in _sparc_alloc_io() local
186 tlen = strlen(name); in _sparc_alloc_io()
187 tack = kmalloc(sizeof (struct resource) + tlen + 1, GFP_KERNEL); in _sparc_alloc_io()
A Dldc.c2088 unsigned long tlen, new = pa + PAGE_SIZE; in fill_cookies() local
2093 tlen = PAGE_SIZE; in fill_cookies()
2095 tlen = PAGE_SIZE - off; in fill_cookies()
2096 if (tlen > len) in fill_cookies()
2097 tlen = len; in fill_cookies()
2105 sp->cookies[sp->nc - 1].cookie_size += tlen; in fill_cookies()
2108 sp->cookies[sp->nc].cookie_size = tlen; in fill_cookies()
2111 sp->prev_cookie = this_cookie + tlen; in fill_cookies()
2115 len -= tlen; in fill_cookies()

Completed in 14 milliseconds