Searched refs:dasd_mchunk (Results 1 – 1 of 1) sorted by relevance
546 struct dasd_mchunk struct556 struct dasd_mchunk *chunk; in dasd_init_chunklist() argument559 chunk = (struct dasd_mchunk *) mem; in dasd_init_chunklist()560 chunk->size = size - sizeof(struct dasd_mchunk); in dasd_init_chunklist()567 struct dasd_mchunk *chunk, *tmp; in dasd_alloc_chunk()573 if (chunk->size > size + sizeof(struct dasd_mchunk)) { in dasd_alloc_chunk()575 tmp = (struct dasd_mchunk *) (endaddr - size) - 1; in dasd_alloc_chunk()577 chunk->size -= size + sizeof(struct dasd_mchunk); in dasd_alloc_chunk()589 struct dasd_mchunk *chunk, *tmp; in dasd_free_chunk()592 chunk = (struct dasd_mchunk *) in dasd_free_chunk()[all …]