oid40_repair.c

来自「reiser4progs ReiserFS V4 ReiserFs官方已经关」· C语言 代码 · 共 38 行

C
38
字号
/* Copyright (C) 2001-2005 by Hans Reiser, licensing governed by   reiser4progs/COPYING.      oid40_repair.c -- reiser4 oid allocator plugin. */#ifndef ENABLE_MINIMAL#include "oid40.h"/* Prints oid allocator data into passed @stream */void oid40_print(reiser4_oid_ent_t *entity, 		 aal_stream_t *stream, 		 uint16_t options){	aal_assert("umka-1303", entity != NULL);	aal_assert("umka-1304", stream != NULL);	aal_stream_format(stream, "Oid allocator:\n");		aal_stream_format(stream, "plugin:\t\t%s\n",			  entity->plug->p.label);	aal_stream_format(stream, "next oid:\t0x%llx\n",			  PLUG_ENT(entity)->next);	aal_stream_format(stream, "used oids:\t%llu\n",			  PLUG_ENT(entity)->used);}oid_t oid40_lost_objectid() {	return OID40_LOST_OBJECTID;}oid_t oid40_slink_locality() {	return OID40_SAFE_LOCALITY;}#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?