Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/filelock/
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()
117 fl.l_type, fl.l_pid, fl.l_len); in main()
[all …]
/linux-6.6.21/include/linux/
Dfalloc.h13 __s16 l_type; member
38 __s16 l_type; member
Dcompat.h267 short l_type; member
281 short l_type; member
Dnfs_xdr.h40 __u32 l_type; member
/linux-6.6.21/include/uapi/asm-generic/
Dfcntl.h196 short l_type; member
210 short l_type; member
/linux-6.6.21/tools/include/uapi/asm-generic/
Dfcntl.h196 short l_type; member
210 short l_type; member
/linux-6.6.21/arch/arm/kernel/
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()
/linux-6.6.21/fs/
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()
2426 if (cmd != F_OFD_GETLK && flock->l_type != F_RDLCK in fcntl_getlk64()
2427 && flock->l_type != F_WRLCK) in fcntl_getlk64()
2447 flock->l_type = fl->fl_type; in fcntl_getlk64()
Dfcntl.c518 (dst)->l_type = (src)->l_type; \
/linux-6.6.21/fs/ocfs2/
Docfs2_ioctl.h21 __s16 l_type; member
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()
3173 if (lockres->l_type == OCFS2_LOCK_TYPE_DENTRY) in ocfs2_dlm_seq_show()
3630 list_empty(&lockres->l_mask_waiters), lockres->l_type, in ocfs2_prepare_downconvert()
Docfs2.h173 unsigned char l_type; member
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_switch.c2850 enum ice_sw_lkup_type l_type; in ice_create_pkt_fwd_rule() local
2891 l_type = fm_entry->fltr_info.lkup_type; in ice_create_pkt_fwd_rule()
2892 recp = &hw->switch_info->recp_list[l_type]; in ice_create_pkt_fwd_rule()
3716 enum ice_sw_lkup_type l_type = in ice_add_eth_mac() local
3719 if (l_type != ICE_SW_LKUP_ETHERTYPE_MAC && in ice_add_eth_mac()
3720 l_type != ICE_SW_LKUP_ETHERTYPE) in ice_add_eth_mac()
3723 em_list_itr->status = ice_add_rule_internal(hw, l_type, in ice_add_eth_mac()
3744 enum ice_sw_lkup_type l_type = in ice_remove_eth_mac() local
3747 if (l_type != ICE_SW_LKUP_ETHERTYPE_MAC && in ice_remove_eth_mac()
3748 l_type != ICE_SW_LKUP_ETHERTYPE) in ice_remove_eth_mac()
[all …]
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_fs.h100 __s16 l_type; member
/linux-6.6.21/arch/um/os-Linux/
Dfile.c580 struct flock lock = ((struct flock) { .l_type = type, in os_lock_file()
/linux-6.6.21/fs/nfs/
Dpnfs.h622 nfss->pnfs_curr_ld->id == src->l_type); in pnfs_use_threshold()
Dnfs4xdr.c4567 res->l_type = be32_to_cpup(p); in decode_first_threshold_item4()