Home
last modified time | relevance | path

Searched refs:l_type (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/filelock/
H A Dofdlocks.c48 fl.l_type = F_RDLCK; in main()
60 fl.l_type = F_RDLCK; in main()
66 if (fl.l_type != F_UNLCK) { in main()
71 fl.l_type = F_WRLCK; in main()
77 if (fl.l_type != F_UNLCK) { in main()
86 fl.l_type = F_UNLCK; in main()
95 if (fl.l_type != F_UNLCK) { in main()
98 fl.l_type, fl.l_pid, fl.l_len); in main()
105 fl2.l_type = F_UNLCK; in main()
122 fl.l_type = F_UNLCK; in main()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/qemu/
H A D0002-linux-user-Replace-use-of-lfs64-related-functions-an.patch88 - int l_type;
94 - __get_user(l_type, &target_fl->l_type);
95 - l_type = target_to_host_flock(l_type);
99 - fl->l_type = l_type;
112 - short l_type;
118 - l_type = host_to_target_flock(fl->l_type);
119 - __put_user(l_type, &target_fl->l_type);
149 int l_type;
163 short l_type;
176 int l_type;
[all …]
/openbmc/libpldm/src/requester/
H A Dinstance-id.c102 .l_type = F_RDLCK,
108 .l_type = F_WRLCK,
114 .l_type = F_UNLCK,
184 if (flop.l_type == F_UNLCK) { in pldm_instance_id_alloc()
191 if (flop.l_type != F_RDLCK) { in pldm_instance_id_alloc()
/openbmc/linux/include/linux/
H A Dfalloc.h13 __s16 l_type; member
38 __s16 l_type; member
H A Dcompat.h267 short l_type; member
281 short l_type; member
/openbmc/qemu/linux-user/generic/
H A Dfcntl.h128 short l_type; member
143 abi_short l_type; member
/openbmc/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h196 short l_type; member
210 short l_type; member
/openbmc/linux/include/uapi/asm-generic/
H A Dfcntl.h196 short l_type; member
210 short l_type; member
/openbmc/linux/arch/arm/kernel/
H A Dsys_oabi-compat.c193 short l_type; member
208 kernel->l_type = user.l_type; in get_oabi_flock()
221 user.l_type = kernel->l_type; in put_oabi_flock()
/openbmc/qemu/util/
H A Dosdep.c204 .l_type = F_WRLCK, in qemu_probe_lock_ops()
249 .l_type = fl_type, in qemu_lock_fcntl()
273 .l_type = exclusive ? F_WRLCK : F_RDLCK, in qemu_lock_fd_test()
280 return fl.l_type == F_UNLCK ? 0 : -EAGAIN; in qemu_lock_fd_test()
H A Doslib-posix.c127 .l_type = F_WRLCK, in qemu_write_pidfile()
/openbmc/qemu/bsd-user/freebsd/
H A Dos-stat.h581 __get_user(fl.l_type, &target_fl->l_type); in do_freebsd_fcntl()
593 __put_user(fl.l_type, &target_fl->l_type); in do_freebsd_fcntl()
608 __get_user(fl.l_type, &target_fl->l_type); in do_freebsd_fcntl()
/openbmc/qemu/linux-user/mips/
H A Dtarget_fcntl.h33 short l_type; member
/openbmc/linux/fs/
H A Dlocks.c499 return assign_type(fl, l->l_type); in flock64_to_posix_lock()
509 .l_type = l->l_type, in flock_to_posix_lock()
2190 flock->l_type = fl->fl_type; in posix_lock_to_flock()
2202 flock->l_type = fl->fl_type; in posix_lock_to_flock64()
2218 if (cmd != F_OFD_GETLK && flock->l_type != F_RDLCK in fcntl_getlk()
2219 && flock->l_type != F_WRLCK) in fcntl_getlk()
2239 flock->l_type = fl->fl_type; in fcntl_getlk()
2425 if (cmd != F_OFD_GETLK && flock->l_type != F_RDLCK in fcntl_getlk64()
2426 && flock->l_type != F_WRLCK) in fcntl_getlk64()
2446 flock->l_type = fl->fl_type; in fcntl_getlk64()
H A Dfcntl.c510 (dst)->l_type = (src)->l_type; \
/openbmc/openbmc/poky/meta/recipes-connectivity/nfs-utils/nfs-utils/
H A D0001-tools-locktest-Use-intmax_t-to-print-off_t.patch41 if (fl.l_type == F_UNLCK) {
/openbmc/linux/fs/ocfs2/
H A Docfs2_ioctl.h21 __s16 l_type; member
H A Ddlmglue.c288 return lockres->l_type == OCFS2_LOCK_TYPE_META || in ocfs2_is_inode_lock()
289 lockres->l_type == OCFS2_LOCK_TYPE_RW || in ocfs2_is_inode_lock()
290 lockres->l_type == OCFS2_LOCK_TYPE_OPEN; in ocfs2_is_inode_lock()
307 BUG_ON(lockres->l_type != OCFS2_LOCK_TYPE_DENTRY); in ocfs2_lock_res_dl()
314 BUG_ON(lockres->l_type != OCFS2_LOCK_TYPE_QINFO); in ocfs2_lock_res_qinfo()
358 if ((_lockres)->l_type != OCFS2_LOCK_TYPE_DENTRY) \
516 res->l_type = type; in ocfs2_lock_res_init_common()
1124 ocfs2_lock_type_string(lockres->l_type)); in ocfs2_blocking_ast()
3172 if (lockres->l_type == OCFS2_LOCK_TYPE_DENTRY) in ocfs2_dlm_seq_show()
3629 list_empty(&lockres->l_mask_waiters), lockres->l_type, in ocfs2_prepare_downconvert()
H A Docfs2.h173 unsigned char l_type; member
/openbmc/qemu/linux-user/
H A Dsyscall.c6851 __get_user(l_type, &target_fl->l_type); in copy_from_user_flock()
6852 l_type = target_to_host_flock(l_type); in copy_from_user_flock()
6856 fl->l_type = l_type; in copy_from_user_flock()
6876 __put_user(l_type, &target_fl->l_type); in copy_to_user_flock()
6907 __get_user(l_type, &target_fl->l_type); in copy_from_user_oabi_flock64()
6908 l_type = target_to_host_flock(l_type); in copy_from_user_oabi_flock64()
6912 fl->l_type = l_type; in copy_from_user_oabi_flock64()
6932 __put_user(l_type, &target_fl->l_type); in copy_to_user_oabi_flock64()
6952 __get_user(l_type, &target_fl->l_type); in copy_from_user_flock64()
6953 l_type = target_to_host_flock(l_type); in copy_from_user_flock64()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_switch.c2854 enum ice_sw_lkup_type l_type; in ice_create_pkt_fwd_rule() local
2895 l_type = fm_entry->fltr_info.lkup_type; in ice_create_pkt_fwd_rule()
2896 recp = &hw->switch_info->recp_list[l_type]; in ice_create_pkt_fwd_rule()
3720 enum ice_sw_lkup_type l_type = in ice_add_eth_mac() local
3723 if (l_type != ICE_SW_LKUP_ETHERTYPE_MAC && in ice_add_eth_mac()
3724 l_type != ICE_SW_LKUP_ETHERTYPE) in ice_add_eth_mac()
3748 enum ice_sw_lkup_type l_type = in ice_remove_eth_mac() local
3751 if (l_type != ICE_SW_LKUP_ETHERTYPE_MAC && in ice_remove_eth_mac()
3752 l_type != ICE_SW_LKUP_ETHERTYPE) in ice_remove_eth_mac()
3934 if (l_type != ICE_SW_LKUP_MAC) in ice_remove_mac()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/util-linux/util-linux/
H A Dfcntl-lock.c266 lock.l_type = type; in main()
/openbmc/qemu/bsd-user/
H A Dsyscall_defs.h423 int16_t l_type; member
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_fs.h100 __s16 l_type; member
/openbmc/linux/arch/um/os-Linux/
H A Dfile.c580 struct flock lock = ((struct flock) { .l_type = type, in os_lock_file()

12