Home
last modified time | relevance | path

Searched refs:_origins (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/
H A Ddm-snap.c342 static struct list_head *_origins; variable
354 _origins = kmalloc_array(ORIGIN_HASH_SIZE, sizeof(struct list_head), in init_origin_hash()
356 if (!_origins) { in init_origin_hash()
357 DMERR("unable to allocate memory for _origins"); in init_origin_hash()
361 INIT_LIST_HEAD(_origins + i); in init_origin_hash()
368 kfree(_origins); in init_origin_hash()
381 kfree(_origins); in exit_origin_hash()
395 ol = &_origins[origin_hash(origin)]; in __lookup_origin()
405 struct list_head *sl = &_origins[origin_hash(o->bdev)]; in __insert_origin()
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-snap.c340 static struct list_head *_origins; variable
352 _origins = kmalloc_array(ORIGIN_HASH_SIZE, sizeof(struct list_head), in init_origin_hash()
354 if (!_origins) { in init_origin_hash()
355 DMERR("unable to allocate memory for _origins"); in init_origin_hash()
359 INIT_LIST_HEAD(_origins + i); in init_origin_hash()
366 kfree(_origins); in init_origin_hash()
379 kfree(_origins); in exit_origin_hash()
393 ol = &_origins[origin_hash(origin)]; in __lookup_origin()
403 struct list_head *sl = &_origins[origin_hash(o->bdev)]; in __insert_origin()

Completed in 8 milliseconds