[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.20
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
src
/
kernels
/
4.18.0-553.63.1.el8_10.x86_64
/
include
/
linux
/
ceph
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 auth.h
6,750 B
SET
[ EDIT ]
|
[ DEL ]
📄 buffer.h
833 B
SET
[ EDIT ]
|
[ DEL ]
📄 ceph_debug.h
907 B
SET
[ EDIT ]
|
[ DEL ]
📄 ceph_features.h
8,887 B
SET
[ EDIT ]
|
[ DEL ]
📄 ceph_frag.h
2,015 B
SET
[ EDIT ]
|
[ DEL ]
📄 ceph_fs.h
28,384 B
SET
[ EDIT ]
|
[ DEL ]
📄 ceph_hash.h
472 B
SET
[ EDIT ]
|
[ DEL ]
📄 cls_lock_client.h
1,759 B
SET
[ EDIT ]
|
[ DEL ]
📄 debugfs.h
362 B
SET
[ EDIT ]
|
[ DEL ]
📄 decode.h
10,172 B
SET
[ EDIT ]
|
[ DEL ]
📄 libceph.h
10,432 B
SET
[ EDIT ]
|
[ DEL ]
📄 mdsmap.h
1,900 B
SET
[ EDIT ]
|
[ DEL ]
📄 messenger.h
18,489 B
SET
[ EDIT ]
|
[ DEL ]
📄 mon_client.h
3,915 B
SET
[ EDIT ]
|
[ DEL ]
📄 msgpool.h
811 B
SET
[ EDIT ]
|
[ DEL ]
📄 msgr.h
7,333 B
SET
[ EDIT ]
|
[ DEL ]
📄 osd_client.h
15,950 B
SET
[ EDIT ]
|
[ DEL ]
📄 osdmap.h
9,274 B
SET
[ EDIT ]
|
[ DEL ]
📄 pagelist.h
1,971 B
SET
[ EDIT ]
|
[ DEL ]
📄 rados.h
19,214 B
SET
[ EDIT ]
|
[ DEL ]
📄 string_table.h
1,327 B
SET
[ EDIT ]
|
[ DEL ]
📄 striper.h
1,781 B
SET
[ EDIT ]
|
[ DEL ]
📄 types.h
558 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: striper.h
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_CEPH_STRIPER_H #define _LINUX_CEPH_STRIPER_H #include <linux/list.h> #include <linux/types.h> struct ceph_file_layout; void ceph_calc_file_object_mapping(struct ceph_file_layout *l, u64 off, u64 len, u64 *objno, u64 *objoff, u32 *xlen); struct ceph_object_extent { struct list_head oe_item; u64 oe_objno; u64 oe_off; u64 oe_len; }; static inline void ceph_object_extent_init(struct ceph_object_extent *ex) { INIT_LIST_HEAD(&ex->oe_item); } /* * Called for each mapped stripe unit. * * @bytes: number of bytes mapped, i.e. the minimum of the full length * requested (file extent length) or the remainder of the stripe * unit within an object */ typedef void (*ceph_object_extent_fn_t)(struct ceph_object_extent *ex, u32 bytes, void *arg); int ceph_file_to_extents(struct ceph_file_layout *l, u64 off, u64 len, struct list_head *object_extents, struct ceph_object_extent *alloc_fn(void *arg), void *alloc_arg, ceph_object_extent_fn_t action_fn, void *action_arg); int ceph_iterate_extents(struct ceph_file_layout *l, u64 off, u64 len, struct list_head *object_extents, ceph_object_extent_fn_t action_fn, void *action_arg); struct ceph_file_extent { u64 fe_off; u64 fe_len; }; static inline u64 ceph_file_extents_bytes(struct ceph_file_extent *file_extents, u32 num_file_extents) { u64 bytes = 0; u32 i; for (i = 0; i < num_file_extents; i++) bytes += file_extents[i].fe_len; return bytes; } int ceph_extent_to_file(struct ceph_file_layout *l, u64 objno, u64 objoff, u64 objlen, struct ceph_file_extent **file_extents, u32 *num_file_extents); u64 ceph_get_num_objects(struct ceph_file_layout *l, u64 size); #endif