p!ranha?
Server IP : 103.169.32.36  /  Your IP : 216.73.217.13
Web Server : Apache
System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/modules/3.10.0-1160.105.1.el7.x86_64/build/include/linux/ceph/

Upload File :
Curr3nt_D!r [ Writeable ] D0cum3nt_r0Ot [ Writeable ]

 
Command :
Current File : /usr/lib/modules/3.10.0-1160.105.1.el7.x86_64/build/include/linux/ceph/cls_lock_client.h
#ifndef _LINUX_CEPH_CLS_LOCK_CLIENT_H
#define _LINUX_CEPH_CLS_LOCK_CLIENT_H

#include <linux/ceph/osd_client.h>

enum ceph_cls_lock_type {
	CEPH_CLS_LOCK_NONE = 0,
	CEPH_CLS_LOCK_EXCLUSIVE = 1,
	CEPH_CLS_LOCK_SHARED = 2,
};

struct ceph_locker_id {
	struct ceph_entity_name name;	/* locker's client name */
	char *cookie;			/* locker's cookie */
};

struct ceph_locker_info {
	struct ceph_entity_addr addr;	/* locker's address */
};

struct ceph_locker {
	struct ceph_locker_id id;
	struct ceph_locker_info info;
};

int ceph_cls_lock(struct ceph_osd_client *osdc,
		  struct ceph_object_id *oid,
		  struct ceph_object_locator *oloc,
		  char *lock_name, u8 type, char *cookie,
		  char *tag, char *desc, u8 flags);
int ceph_cls_unlock(struct ceph_osd_client *osdc,
		    struct ceph_object_id *oid,
		    struct ceph_object_locator *oloc,
		    char *lock_name, char *cookie);
int ceph_cls_break_lock(struct ceph_osd_client *osdc,
			struct ceph_object_id *oid,
			struct ceph_object_locator *oloc,
			char *lock_name, char *cookie,
			struct ceph_entity_name *locker);
int ceph_cls_set_cookie(struct ceph_osd_client *osdc,
			struct ceph_object_id *oid,
			struct ceph_object_locator *oloc,
			char *lock_name, u8 type, char *old_cookie,
			char *tag, char *new_cookie);

void ceph_free_lockers(struct ceph_locker *lockers, u32 num_lockers);

int ceph_cls_lock_info(struct ceph_osd_client *osdc,
		       struct ceph_object_id *oid,
		       struct ceph_object_locator *oloc,
		       char *lock_name, u8 *type, char **tag,
		       struct ceph_locker **lockers, u32 *num_lockers);

#endif
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
January 19 2024 08:12:51
0 / 0
0755
auth.h
4.808 KB
November 06 2023 09:15:52
0 / 0
0644
buffer.h
0.767 KB
November 06 2023 09:15:52
0 / 0
0644
ceph_debug.h
0.848 KB
November 06 2023 09:15:52
0 / 0
0644
ceph_features.h
8.487 KB
November 06 2023 09:15:52
0 / 0
0644
ceph_frag.h
1.93 KB
November 06 2023 09:15:52
0 / 0
0644
ceph_fs.h
25.326 KB
November 06 2023 09:15:52
0 / 0
0644
ceph_hash.h
0.423 KB
November 06 2023 09:15:52
0 / 0
0644
cls_lock_client.h
1.556 KB
November 06 2023 09:15:52
0 / 0
0644
debugfs.h
0.713 KB
November 06 2023 09:15:52
0 / 0
0644
decode.h
9.018 KB
November 06 2023 09:15:52
0 / 0
0644
libceph.h
9.368 KB
November 06 2023 09:15:52
0 / 0
0644
mdsmap.h
1.579 KB
November 06 2023 09:15:52
0 / 0
0644
messenger.h
9.058 KB
November 06 2023 09:15:52
0 / 0
0644
mon_client.h
3.785 KB
November 06 2023 09:15:52
0 / 0
0644
msgpool.h
0.719 KB
November 06 2023 09:15:52
0 / 0
0644
msgr.h
5.608 KB
November 06 2023 09:15:52
0 / 0
0644
osd_client.h
14.354 KB
November 06 2023 09:15:52
0 / 0
0644
osdmap.h
8.243 KB
November 06 2023 09:15:52
0 / 0
0644
pagelist.h
2.062 KB
November 06 2023 09:15:52
0 / 0
0644
rados.h
16.904 KB
November 06 2023 09:15:52
0 / 0
0644
string_table.h
1.258 KB
November 06 2023 09:15:52
0 / 0
0644
types.h
0.496 KB
November 06 2023 09:15:52
0 / 0
0644