Lines Matching defs:lockdata
35 lockdata = struct.pack(off_t + off_t + pid_t + 'hh', 0, 0, 0,
38 lockdata = struct.pack('qqihhi', 0, 0, 0, fcntl.F_WRLCK, 0, 0)
40 lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
42 lockdata = struct.pack('hh'+start_len+'hh', fcntl.F_WRLCK, 0, 0, 0, 0, 0)
43 if lockdata:
45 print('struct.pack: ', repr(lockdata))
46 return lockdata
48 lockdata = get_lockdata()
87 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata)
98 rv = fcntl.fcntl(self.f, fcntl.F_SETLKW, lockdata)