Lines Matching refs:lockdata
39 lockdata = struct.pack(off_t + off_t + pid_t + 'hh', 0, 0, 0,
42 lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
44 lockdata = None
46 lockdata = struct.pack('hh'+start_len+'hh', fcntl.F_WRLCK, 0, 0, 0, 0, 0)
47 if lockdata:
49 print 'struct.pack: ', repr(lockdata)
50 return lockdata
52 lockdata = get_lockdata()
72 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata)
82 rv = fcntl.fcntl(self.f, fcntl.F_SETLKW, lockdata)