mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
![Boaz Harrosh](/assets/img/avatar_default.png)
I no longer have access to the Panasas email. So change to an email that can always reach me. Signed-off-by: Boaz Harrosh <ooo@electrozaur.com>
45 lines
1,020 B
C
45 lines
1,020 B
C
/*
|
|
* osd_types.h - Types and constants which are not part of the protocol.
|
|
*
|
|
* Copyright (C) 2008 Panasas Inc. All rights reserved.
|
|
*
|
|
* Authors:
|
|
* Boaz Harrosh <ooo@electrozaur.com>
|
|
* Benny Halevy <bhalevy@panasas.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2
|
|
*
|
|
* Contains types and constants that are implementation specific and are
|
|
* used by more than one part of the osd library.
|
|
* (Eg initiator/target/security_manager/...)
|
|
*/
|
|
#ifndef __OSD_TYPES_H__
|
|
#define __OSD_TYPES_H__
|
|
|
|
struct osd_systemid {
|
|
u8 data[OSD_SYSTEMID_LEN];
|
|
};
|
|
|
|
typedef u64 __bitwise osd_id;
|
|
|
|
struct osd_obj_id {
|
|
osd_id partition;
|
|
osd_id id;
|
|
};
|
|
|
|
static const struct __weak osd_obj_id osd_root_object = {0, 0};
|
|
|
|
struct osd_attr {
|
|
u32 attr_page;
|
|
u32 attr_id;
|
|
u16 len; /* byte count of operand */
|
|
void *val_ptr; /* in network order */
|
|
};
|
|
|
|
struct osd_sg_entry {
|
|
u64 offset;
|
|
u64 len;
|
|
};
|
|
|
|
#endif /* ndef __OSD_TYPES_H__ */
|