Home | History | Annotate | Download | only in test

Lines Matching refs:lockdata

42         lockdata = struct.pack(off_t + off_t + pid_t + 'hh', 0, 0, 0,

45 lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
47 lockdata = None
49 lockdata = struct.pack('hh'+start_len+'hh', fcntl.F_WRLCK, 0, 0, 0, 0, 0)
50 if lockdata:
52 print 'struct.pack: ', repr(lockdata)
53 return lockdata
55 lockdata = get_lockdata()
75 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata)
85 rv = fcntl.fcntl(self.f, fcntl.F_SETLKW, lockdata)