File: lock.h

package info (click to toggle)
mergerfs 2.40.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,000 kB
  • sloc: cpp: 58,559; ansic: 17,241; makefile: 348; python: 156; sh: 119
file content (13 lines) | stat: -rw-r--r-- 180 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdint.h>
#include <sys/types.h>

typedef struct lock_s lock_t;
struct lock_s
{
  int type;
  off_t start;
  off_t end;
  pid_t pid;
  uint64_t owner;
  lock_t *next;
};