Motr
M0
|
#include "lib/types.h"
Go to the source code of this file.
Macros | |
#define | __MOTR_IOSERVICE_FID_CONVERT_H__ |
Enumerations | |
enum | { M0_FID_DEVICE_ID_BITS = 24, M0_FID_DEVICE_ID_OFFSET = 32, M0_FID_DEVICE_ID_MASK, M0_FID_DEVICE_ID_MAX = (1ULL << M0_FID_DEVICE_ID_BITS) - 1, M0_FID_GOB_CONTAINER_MASK = (1ULL << M0_FID_DEVICE_ID_OFFSET) - 1, M0_AD_STOB_LINUX_DOM_KEY = 0xadf11e, M0_SDEV_CID_DEFAULT = 1 } |
Functions | |
M0_INTERNAL void | m0_fid_gob_make (struct m0_fid *gob_fid, uint32_t container, uint64_t key) |
M0_INTERNAL void | m0_fid_convert_gob2cob (const struct m0_fid *gob_fid, struct m0_fid *cob_fid, uint32_t device_id) |
M0_INTERNAL void | m0_fid_convert_cob2gob (const struct m0_fid *cob_fid, struct m0_fid *gob_fid) |
M0_INTERNAL void | m0_fid_convert_cob2stob (const struct m0_fid *cob_fid, struct m0_stob_id *stob_id) |
M0_INTERNAL void | m0_fid_convert_cob2adstob (const struct m0_fid *cob_fid, struct m0_stob_id *stob_id) |
M0_INTERNAL void | m0_fid_convert_adstob2cob (const struct m0_stob_id *stob_id, struct m0_fid *cob_fid) |
M0_INTERNAL void | m0_fid_convert_stob2cob (const struct m0_stob_id *stob_id, struct m0_fid *cob_fid) |
M0_INTERNAL void | m0_fid_convert_bstore2adstob (const struct m0_fid *bstore_fid, struct m0_fid *stob_domain_fid) |
M0_INTERNAL void | m0_fid_convert_adstob2bstore (const struct m0_fid *stob_domain_fid, struct m0_fid *bstore_fid) |
M0_INTERNAL uint32_t | m0_fid_cob_device_id (const struct m0_fid *cob_fid) |
M0_INTERNAL uint64_t | m0_fid_conf_sdev_device_id (const struct m0_fid *sdev_fid) |
M0_INTERNAL bool | m0_fid_validate_gob (const struct m0_fid *gob_fid) |
M0_INTERNAL bool | m0_fid_validate_cob (const struct m0_fid *cob_fid) |
M0_INTERNAL bool | m0_fid_validate_adstob (const struct m0_stob_id *stob_id) |
M0_INTERNAL bool | m0_fid_validate_bstore (const struct m0_fid *bstore_fid) |
M0_INTERNAL bool | m0_fid_validate_linuxstob (const struct m0_stob_id *stob_id) |
M0_INTERNAL uint32_t | m0_fid__device_id_extract (const struct m0_fid *fid) |
#define __MOTR_IOSERVICE_FID_CONVERT_H__ |
Definition at line 26 of file fid_convert.h.