Searched refs:l_type (Results 1 - 25 of 87) sorted by relevance

1234

/external/ltp/testcases/network/nfs/nfslock01/
H A Dnfs_flock_func.c10 lock.l_type = type;
22 lock.l_type = type;
32 if (lock.l_type == F_UNLCK)
/external/ltp/testcases/kernel/fs/doio/
H A Dfile_lock.c78 flocks.l_type = F_UNLCK;
80 flocks.l_type = F_WRLCK;
82 flocks.l_type = F_RDLCK;
95 fd, cmd, flocks.l_type, flocks.l_whence,
150 flocks.l_type = F_UNLCK;
152 flocks.l_type = F_WRLCK;
154 flocks.l_type = F_RDLCK;
167 fd, cmd, flocks.l_type, flocks.l_whence,
/external/ppp/pppd/plugins/radius/
H A Dlock.c23 fl.l_type = F_WRLCK;
41 fl.l_type = F_UNLCK;
/external/libffi/testsuite/libffi.call/
H A Dva_struct3.c60 ffi_type l_type; local
79 l_type.size = 0;
80 l_type.alignment = 0;
81 l_type.type = FFI_TYPE_STRUCT;
82 l_type.elements = l_type_elements;
93 arg_types[2] = &l_type;
97 CHECK(ffi_prep_cif_var(&cif, FFI_DEFAULT_ABI, 1, 4, &l_type, arg_types) == FFI_OK);
H A Dcls_struct_va1.c54 ffi_type l_type; local
72 l_type.size = 0;
73 l_type.alignment = 0;
74 l_type.type = FFI_TYPE_STRUCT;
75 l_type.elements = l_type_elements;
86 arg_types[2] = &l_type;
H A Dva_struct1.c56 ffi_type l_type; local
75 l_type.size = 0;
76 l_type.alignment = 0;
77 l_type.type = FFI_TYPE_STRUCT;
78 l_type.elements = l_type_elements;
89 arg_types[2] = &l_type;
H A Dva_struct2.c58 ffi_type l_type; local
77 l_type.size = 0;
78 l_type.alignment = 0;
79 l_type.type = FFI_TYPE_STRUCT;
80 l_type.elements = l_type_elements;
91 arg_types[2] = &l_type;
H A Dva_1.c89 ffi_type l_type; local
119 l_type.size = 0;
120 l_type.alignment = 0;
121 l_type.type = FFI_TYPE_STRUCT;
122 l_type.elements = l_type_elements;
133 arg_types[2] = &l_type;
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/
H A Dva_struct3.c60 ffi_type l_type; local
79 l_type.size = 0;
80 l_type.alignment = 0;
81 l_type.type = FFI_TYPE_STRUCT;
82 l_type.elements = l_type_elements;
93 arg_types[2] = &l_type;
97 CHECK(ffi_prep_cif_var(&cif, FFI_DEFAULT_ABI, 1, 4, &l_type, arg_types) == FFI_OK);
H A Dcls_struct_va1.c54 ffi_type l_type; local
72 l_type.size = 0;
73 l_type.alignment = 0;
74 l_type.type = FFI_TYPE_STRUCT;
75 l_type.elements = l_type_elements;
86 arg_types[2] = &l_type;
H A Dva_struct1.c56 ffi_type l_type; local
75 l_type.size = 0;
76 l_type.alignment = 0;
77 l_type.type = FFI_TYPE_STRUCT;
78 l_type.elements = l_type_elements;
89 arg_types[2] = &l_type;
H A Dva_struct2.c58 ffi_type l_type; local
77 l_type.size = 0;
78 l_type.alignment = 0;
79 l_type.type = FFI_TYPE_STRUCT;
80 l_type.elements = l_type_elements;
91 arg_types[2] = &l_type;
H A Dva_1.c89 ffi_type l_type; local
119 l_type.size = 0;
120 l_type.alignment = 0;
121 l_type.type = FFI_TYPE_STRUCT;
122 l_type.elements = l_type_elements;
133 arg_types[2] = &l_type;
/external/python/cpython3/Modules/_ctypes/libffi/testsuite/libffi.call/
H A Dva_struct3.c60 ffi_type l_type; local
79 l_type.size = 0;
80 l_type.alignment = 0;
81 l_type.type = FFI_TYPE_STRUCT;
82 l_type.elements = l_type_elements;
93 arg_types[2] = &l_type;
97 CHECK(ffi_prep_cif_var(&cif, FFI_DEFAULT_ABI, 1, 4, &l_type, arg_types) == FFI_OK);
H A Dcls_struct_va1.c54 ffi_type l_type; local
72 l_type.size = 0;
73 l_type.alignment = 0;
74 l_type.type = FFI_TYPE_STRUCT;
75 l_type.elements = l_type_elements;
86 arg_types[2] = &l_type;
H A Dva_struct1.c56 ffi_type l_type; local
75 l_type.size = 0;
76 l_type.alignment = 0;
77 l_type.type = FFI_TYPE_STRUCT;
78 l_type.elements = l_type_elements;
89 arg_types[2] = &l_type;
H A Dva_struct2.c58 ffi_type l_type; local
77 l_type.size = 0;
78 l_type.alignment = 0;
79 l_type.type = FFI_TYPE_STRUCT;
80 l_type.elements = l_type_elements;
91 arg_types[2] = &l_type;
H A Dva_1.c89 ffi_type l_type; local
119 l_type.size = 0;
120 l_type.alignment = 0;
121 l_type.type = FFI_TYPE_STRUCT;
122 l_type.elements = l_type_elements;
133 arg_types[2] = &l_type;
/external/strace/
H A Dfetch_struct_flock.c49 && FLOCK_MEMBERS_EQ(type, l_type) \
67 pfl->l_type = mfl.l_type;
87 pfl->l_type = mfl.l_type;
/external/strace/tests/
H A Dfcntl64.c44 .l_type = F_RDLCK,
49 printf("%s(0, %s, {l_type=F_RDLCK, l_whence=SEEK_SET"
65 .l_type = F_RDLCK,
69 printf("%s(0, F_SETLK64, {l_type=F_RDLCK, l_whence=SEEK_SET"
77 printf("%s(0, F_GETLK64, {l_type=F_UNLCK, l_whence=SEEK_SET"
82 printf("%s(0, F_SETLK64, {l_type=F_UNLCK, l_whence=SEEK_SET"
H A Dfcntl.c44 .l_type = F_RDLCK,
/external/strace/tests-m32/
H A Dfcntl64.c44 .l_type = F_RDLCK,
49 printf("%s(0, %s, {l_type=F_RDLCK, l_whence=SEEK_SET"
65 .l_type = F_RDLCK,
69 printf("%s(0, F_SETLK64, {l_type=F_RDLCK, l_whence=SEEK_SET"
77 printf("%s(0, F_GETLK64, {l_type=F_UNLCK, l_whence=SEEK_SET"
82 printf("%s(0, F_SETLK64, {l_type=F_UNLCK, l_whence=SEEK_SET"
/external/strace/tests-mx32/
H A Dfcntl64.c44 .l_type = F_RDLCK,
49 printf("%s(0, %s, {l_type=F_RDLCK, l_whence=SEEK_SET"
65 .l_type = F_RDLCK,
69 printf("%s(0, F_SETLK64, {l_type=F_RDLCK, l_whence=SEEK_SET"
77 printf("%s(0, F_GETLK64, {l_type=F_UNLCK, l_whence=SEEK_SET"
82 printf("%s(0, F_SETLK64, {l_type=F_UNLCK, l_whence=SEEK_SET"
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
H A D11-1.c31 .l_type = F_WRLCK,
43 if (fl.l_type == F_UNLCK) {
69 .l_type = F_WRLCK,
/external/python/cpython2/Lib/
H A Dposixfile.py156 if 'w' in how: l_type = fcntl.F_WRLCK
157 elif 'r' in how: l_type = fcntl.F_RDLCK
158 elif 'u' in how: l_type = fcntl.F_UNLCK
187 l_start, l_len, os.getpid(), l_type, l_whence)
190 l_type, l_whence, l_start, l_len, 0, 0, 0)
193 l_type, l_whence, l_start, l_len, 0, 0)
202 l_start, l_len, l_pid, l_type, l_whence = \
205 l_type, l_whence, l_start, l_len, l_sysid, l_pid, l_vfs = \
208 l_type, l_whence, l_start, l_len, l_pid, l_sysid = \
211 l_type, l_whenc
[all...]

Completed in 1942 milliseconds

1234