Home
last modified time | relevance | path

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

/arch/sparc/kernel/
Dvio.c299 int err, tlen, clen; in vio_create_one() local
302 type = mdesc_get_property(hp, mp, "device-type", &tlen); in vio_create_one()
304 type = mdesc_get_property(hp, mp, "name", &tlen); in vio_create_one()
307 tlen = strlen(type) + 1; in vio_create_one()
310 if (tlen > VIO_MAX_TYPE_LEN || strlen(type) >= VIO_MAX_TYPE_LEN) { in vio_create_one()
336 memcpy(vdev->type, type, tlen); in vio_create_one()
Dioport.c184 int tlen; in _sparc_alloc_io() local
197 tlen = strlen(name); in _sparc_alloc_io()
198 tack = kmalloc(sizeof (struct resource) + tlen + 1, GFP_KERNEL); in _sparc_alloc_io()
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()