/linux-master/tools/testing/selftests/filelock/ |
H A D | ofdlocks.c | 11 static int lock_set(int fd, struct flock *fl) argument 15 fl->l_pid = 0; // needed for OFD locks 16 fl->l_whence = SEEK_SET; 17 ret = fcntl(fd, F_OFD_SETLK, fl); 23 static int lock_get(int fd, struct flock *fl) argument 27 fl->l_pid = 0; // needed for OFD locks 28 fl->l_whence = SEEK_SET; 29 ret = fcntl(fd, F_OFD_GETLK, fl); 38 struct flock fl, fl2; local 48 fl [all...] |
/linux-master/fs/ocfs2/ |
H A D | locks.h | 13 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl); 14 int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl);
|
H A D | locks.c | 24 int cmd, struct file_lock *fl) 30 if (lock_is_write(fl)) 72 ret = locks_lock_file_wait(file, fl); 82 static int ocfs2_do_funlock(struct file *file, int cmd, struct file_lock *fl) argument 89 ret = locks_lock_file_wait(file, fl); 98 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl) argument 103 if (!(fl->c.flc_flags & FL_FLOCK)) 108 return locks_lock_file_wait(file, fl); 110 if (lock_is_unlock(fl)) 111 return ocfs2_do_funlock(file, cmd, fl); 23 ocfs2_do_flock(struct file *file, struct inode *inode, int cmd, struct file_lock *fl) argument 116 ocfs2_lock(struct file *file, int cmd, struct file_lock *fl) argument [all...] |
/linux-master/net/ipv6/ |
H A D | ip6_flowlabel.c | 60 #define for_each_fl_rcu(hash, fl) \ 61 for (fl = rcu_dereference(fl_ht[(hash)]); \ 62 fl != NULL; \ 63 fl = rcu_dereference(fl->next)) 64 #define for_each_fl_continue_rcu(fl) \ 65 for (fl = rcu_dereference(fl->next); \ 66 fl != NULL; \ 67 fl 76 struct ip6_flowlabel *fl; local 87 struct ip6_flowlabel *fl; local 97 fl_shared_exclusive(struct ip6_flowlabel *fl) argument 106 struct ip6_flowlabel *fl = container_of(head, struct ip6_flowlabel, rcu); local 115 fl_free(struct ip6_flowlabel *fl) argument 126 fl_release(struct ip6_flowlabel *fl) argument 157 struct ip6_flowlabel *fl; local 194 struct ip6_flowlabel *fl; local 213 fl_intern(struct net *net, struct ip6_flowlabel *fl, __be32 label) argument 271 struct ip6_flowlabel *fl = sfl->fl; local 315 fl6_merge_options(struct ipv6_txoptions *opt_space, struct ip6_flowlabel *fl, struct ipv6_txoptions *fopt) argument 353 fl6_renew(struct ip6_flowlabel *fl, unsigned long linger, unsigned long expires) argument 379 struct ip6_flowlabel *fl = NULL; local 495 fl_link(struct ipv6_pinfo *np, struct ipv6_fl_socklist *sfl, struct ip6_flowlabel *fl) argument 600 struct ip6_flowlabel *fl = fl_lookup(net, freq->flr_label); local 616 struct ip6_flowlabel *fl, *fl1 = NULL; local 760 struct ip6_flowlabel *fl = NULL; local 775 ip6fl_get_next(struct seq_file *seq, struct ip6_flowlabel *fl) argument 801 struct ip6_flowlabel *fl = ip6fl_get_first(seq); local 821 struct ip6_flowlabel *fl; local 843 struct ip6_flowlabel *fl = v; local [all...] |
/linux-master/fs/ceph/ |
H A D | util.c | 31 void ceph_file_layout_from_legacy(struct ceph_file_layout *fl, argument 34 fl->stripe_unit = le32_to_cpu(legacy->fl_stripe_unit); 35 fl->stripe_count = le32_to_cpu(legacy->fl_stripe_count); 36 fl->object_size = le32_to_cpu(legacy->fl_object_size); 37 fl->pool_id = le32_to_cpu(legacy->fl_pg_pool); 38 if (fl->pool_id == 0 && fl->stripe_unit == 0 && 39 fl->stripe_count == 0 && fl->object_size == 0) 40 fl 43 ceph_file_layout_to_legacy(struct ceph_file_layout *fl, struct ceph_file_layout_legacy *legacy) argument [all...] |
H A D | locks.c | 42 * Do not use the 'fl->fl_file' in release function, which 45 static void ceph_fl_release_lock(struct file_lock *fl) argument 47 struct inode *inode = fl->fl_u.ceph.inode; 64 fl->fl_u.ceph.inode = NULL; 77 int cmd, u8 wait, struct file_lock *fl) 93 fl->fl_ops = &ceph_fl_lock_ops; 94 fl->fl_ops->fl_copy_lock(fl, NULL); 108 if (LLONG_MAX == fl->fl_end) 111 length = fl 76 ceph_lock_message(u8 lock_type, u16 operation, struct inode *inode, int cmd, u8 wait, struct file_lock *fl) argument 228 try_unlock_file(struct file *file, struct file_lock *fl) argument 247 ceph_lock(struct file *file, int cmd, struct file_lock *fl) argument 314 ceph_flock(struct file *file, int cmd, struct file_lock *fl) argument [all...] |
/linux-master/include/trace/events/ |
H A D | filelock.h | 63 TP_PROTO(struct inode *inode, struct file_lock *fl, int ret), 65 TP_ARGS(inode, fl, ret), 68 __field(struct file_lock *, fl) 82 __entry->fl = fl ? fl : NULL; 85 __entry->blocker = fl ? fl->c.flc_blocker : NULL; 86 __entry->owner = fl ? fl [all...] |
/linux-master/include/linux/ |
H A D | dlm_plock.h | 11 int cmd, struct file_lock *fl); 13 struct file_lock *fl); 15 struct file_lock *fl); 17 struct file_lock *fl);
|
H A D | thread_info.h | 149 #define set_syscall_work(fl) \ 150 set_bit(SYSCALL_WORK_BIT_##fl, ¤t_thread_info()->syscall_work) 151 #define test_syscall_work(fl) \ 152 test_bit(SYSCALL_WORK_BIT_##fl, ¤t_thread_info()->syscall_work) 153 #define clear_syscall_work(fl) \ 154 clear_bit(SYSCALL_WORK_BIT_##fl, ¤t_thread_info()->syscall_work) 156 #define set_task_syscall_work(t, fl) \ 157 set_bit(SYSCALL_WORK_BIT_##fl, &task_thread_info(t)->syscall_work) 158 #define test_task_syscall_work(t, fl) \ 159 test_bit(SYSCALL_WORK_BIT_##fl, [all...] |
H A D | filelock.h | 163 static inline bool lock_is_unlock(struct file_lock *fl) argument 165 return fl->c.flc_type == F_UNLCK; 168 static inline bool lock_is_read(struct file_lock *fl) argument 170 return fl->c.flc_type == F_RDLCK; 173 static inline bool lock_is_write(struct file_lock *fl) argument 175 return fl->c.flc_type == F_WRLCK; 178 static inline void locks_wake_up(struct file_lock *fl) argument 180 wake_up(&fl->c.flc_wait); 185 void locks_free_lock(struct file_lock *fl); 198 int vfs_cancel_lock(struct file *filp, struct file_lock *fl); 264 lock_is_unlock(struct file_lock *fl) argument 269 lock_is_read(struct file_lock *fl) argument 274 lock_is_write(struct file_lock *fl) argument 279 locks_wake_up(struct file_lock *fl) argument 288 locks_init_lock(struct file_lock *fl) argument 293 locks_init_lease(struct file_lease *fl) argument 298 locks_copy_conflock(struct file_lock *new, struct file_lock *fl) argument 303 locks_copy_lock(struct file_lock *new, struct file_lock *fl) argument 318 posix_test_lock(struct file *filp, struct file_lock *fl) argument 323 posix_lock_file(struct file *filp, struct file_lock *fl, struct file_lock *conflock) argument 334 vfs_test_lock(struct file *filp, struct file_lock *fl) argument 339 vfs_lock_file(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf) argument 345 vfs_cancel_lock(struct file *filp, struct file_lock *fl) argument 355 locks_lock_inode_wait(struct inode *inode, struct file_lock *fl) argument 389 lease_modify(struct file_lease *fl, int arg, struct list_head *dispose) argument 415 locks_lock_file_wait(struct file *filp, struct file_lock *fl) argument [all...] |
/linux-master/fs/ |
H A D | locks.c | 82 static bool lease_breaking(struct file_lease *fl) argument 84 return fl->c.flc_flags & (FL_UNLOCK_PENDING | FL_DOWNGRADE_PENDING); 87 static int target_leasetype(struct file_lease *fl) argument 89 if (fl->c.flc_flags & FL_UNLOCK_PENDING) 91 if (fl->c.flc_flags & FL_DOWNGRADE_PENDING) 93 return fl->c.flc_type; 161 * In addition, it also protects the fl->fl_blocked_requests list, and the 162 * fl->fl_blocker pointer for file_lock structures that are acting as lock 275 struct file_lock *fl = kmem_cache_zalloc(filelock_cache, GFP_KERNEL); local 277 if (fl) 287 struct file_lease *fl = kmem_cache_zalloc(filelease_cache, GFP_KERNEL); local 296 locks_release_private(struct file_lock *fl) argument 350 locks_free_lock(struct file_lock *fl) argument 358 locks_free_lease(struct file_lease *fl) argument 379 locks_init_lock(struct file_lock *fl) argument 386 locks_init_lease(struct file_lease *fl) argument 396 locks_copy_conflock(struct file_lock *new, struct file_lock *fl) argument 415 locks_copy_lock(struct file_lock *new, struct file_lock *fl) argument 432 locks_move_blocks(struct file_lock *new, struct file_lock *fl) argument 465 flock_make_lock(struct file *filp, struct file_lock *fl, int type) argument 491 flock64_to_posix_lock(struct file *filp, struct file_lock *fl, struct flock64 *l) argument 541 flock_to_posix_lock(struct file *filp, struct file_lock *fl, struct flock *l) argument 556 lease_break_callback(struct file_lease *fl) argument 563 lease_setup(struct file_lease *fl, void **priv) argument 588 lease_init(struct file *filp, int type, struct file_lease *fl) argument 605 struct file_lease *fl = locks_alloc_lease(); local 704 struct file_lock *fl; local 859 locks_insert_lock_ctx(struct file_lock_core *fl, struct list_head *before) argument 866 locks_unlink_lock_ctx(struct file_lock_core *fl) argument 874 locks_delete_lock_ctx(struct file_lock_core *fl, struct list_head *dispose) argument 952 posix_test_lock(struct file *filp, struct file_lock *fl) argument 1077 struct file_lock *fl; local 1149 struct file_lock *fl, *tmp; local 1399 posix_lock_file(struct file *filp, struct file_lock *fl, struct file_lock *conflock) argument 1413 posix_lock_inode_wait(struct inode *inode, struct file_lock *fl) argument 1430 lease_clear_pending(struct file_lease *fl, int arg) argument 1442 lease_modify(struct file_lease *fl, int arg, struct list_head *dispose) argument 1477 struct file_lease *fl, *tmp; local 1546 struct file_lease *new_fl, *fl, *tmp; local 1702 struct file_lease *fl; local 1776 struct file_lease *fl, *my_fl = NULL, *lease; local 1885 struct file_lease *fl, *victim = NULL; local 2028 struct file_lease *fl; local 2075 flock_lock_inode_wait(struct inode *inode, struct file_lock *fl) argument 2099 locks_lock_inode_wait(struct inode *inode, struct file_lock *fl) argument 2134 struct file_lock fl; local 2194 vfs_test_lock(struct file *filp, struct file_lock *fl) argument 2211 locks_translate_pid(struct file_lock_core *fl, struct pid_namespace *ns) argument 2238 posix_lock_to_flock(struct flock *flock, struct file_lock *fl) argument 2260 posix_lock_to_flock64(struct flock64 *flock, struct file_lock *fl) argument 2276 struct file_lock *fl; local 2350 vfs_lock_file(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf) argument 2360 do_lock_file_wait(struct file *filp, unsigned int cmd, struct file_lock *fl) argument 2385 check_fmode_for_setlk(struct file_lock *fl) argument 2485 struct file_lock *fl; local 2646 struct file_lock fl; local 2668 struct file_lease *fl, *tmp; local 2719 vfs_cancel_lock(struct file *filp, struct file_lock *fl) argument 2767 struct file_lock *fl = file_lock(flc); local 2904 struct file_lock_core *fl; local [all...] |
/linux-master/fs/nfsd/ |
H A D | flexfilelayout.c | 31 struct pnfs_ff_layout *fl; local 39 fl = kzalloc(sizeof(*fl), GFP_KERNEL); 40 if (!fl) 42 args->lg_content = fl; 49 fl->flags = FF_FLAGS_NO_LAYOUTCOMMIT | FF_FLAGS_NO_IO_THRU_MDS | 55 fl->uid = make_kuid(&init_user_ns, u); 57 fl->uid = inode->i_uid; 58 fl->gid = inode->i_gid; 60 error = nfsd4_set_deviceid(&fl [all...] |
H A D | flexfilelayoutxdr.c | 22 const struct pnfs_ff_layout *fl = lgp->lg_content; local 33 fh_len = 4 + fl->fh.size; 35 uid.len = sprintf(uid.buf, "%u", from_kuid(&init_user_ns, fl->uid)); 36 gid.len = sprintf(gid.buf, "%u", from_kgid(&init_user_ns, fl->gid)); 57 p = xdr_encode_opaque_fixed(p, &fl->deviceid, 62 *p++ = cpu_to_be32(fl->stateid.si_generation); 63 p = xdr_encode_opaque_fixed(p, &fl->stateid.si_opaque, 67 p = xdr_encode_opaque(p, fl->fh.data, fl->fh.size); 72 *p++ = cpu_to_be32(fl [all...] |
/linux-master/fs/9p/ |
H A D | vfs_file.c | 98 * @fl: file lock structure 104 static int v9fs_file_lock(struct file *filp, int cmd, struct file_lock *fl) argument 108 p9_debug(P9_DEBUG_VFS, "filp: %p lock: %p\n", filp, fl); 110 if ((IS_SETLK(cmd) || IS_SETLKW(cmd)) && fl->c.flc_type != F_UNLCK) { 118 static int v9fs_file_do_lock(struct file *filp, int cmd, struct file_lock *fl) argument 129 BUG_ON((fl->c.flc_flags & FL_POSIX) != FL_POSIX); 131 res = locks_lock_file_wait(filp, fl); 138 switch (fl->c.flc_type) { 149 flock.start = fl->fl_start; 150 if (fl 223 v9fs_file_getlock(struct file *filp, struct file_lock *fl) argument 288 v9fs_file_lock_dotl(struct file *filp, int cmd, struct file_lock *fl) argument 318 v9fs_file_flock_dotl(struct file *filp, int cmd, struct file_lock *fl) argument [all...] |
/linux-master/fs/afs/ |
H A D | flock.c | 17 static void afs_fl_copy_lock(struct file_lock *new, struct file_lock *fl); 18 static void afs_fl_release_private(struct file_lock *fl); 451 static int afs_do_setlk(struct file *file, struct file_lock *fl) argument 466 fl->fl_start, fl->fl_end, fl->c.flc_type, mode); 468 fl->fl_ops = &afs_lock_ops; 469 INIT_LIST_HEAD(&fl->fl_u.afs.link); 470 fl->fl_u.afs.state = AFS_LOCK_PENDING; 472 partial = (fl 701 afs_do_unlk(struct file *file, struct file_lock *fl) argument 722 afs_do_getlk(struct file *file, struct file_lock *fl) argument 764 afs_lock(struct file *file, int cmd, struct file_lock *fl) argument 799 afs_flock(struct file *file, int cmd, struct file_lock *fl) argument 844 afs_fl_copy_lock(struct file_lock *new, struct file_lock *fl) argument 862 afs_fl_release_private(struct file_lock *fl) argument [all...] |
/linux-master/fs/dlm/ |
H A D | plock.c | 26 void *fl; member in struct:plock_async_data 29 int (*callback)(struct file_lock *fl, int result); 123 int cmd, struct file_lock *fl) 141 op->info.pid = fl->c.flc_pid; 142 op->info.ex = lock_is_write(fl); 143 op->info.wait = !!(fl->c.flc_flags & FL_SLEEP); 146 op->info.start = fl->fl_start; 147 op->info.end = fl->fl_end; 148 op->info.owner = (__u64)(long) fl->c.flc_owner; 150 if (fl 122 dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file, int cmd, struct file_lock *fl) argument 242 struct file_lock *fl; local 288 dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file, struct file_lock *fl) argument 359 dlm_posix_cancel(dlm_lockspace_t *lockspace, u64 number, struct file *file, struct file_lock *fl) argument 422 dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file, struct file_lock *fl) argument [all...] |
/linux-master/fs/lockd/ |
H A D | svclock.c | 150 struct file_lock *fl; local 153 file, lock->fl.c.flc_pid, 154 (long long)lock->fl.fl_start, 155 (long long)lock->fl.fl_end, 156 lock->fl.c.flc_type); 159 fl = &block->b_call->a_args.lock.fl; 161 block->b_file, fl->c.flc_pid, 162 (long long)fl->fl_start, 163 (long long)fl 410 nlmsvc_locks_init_private(struct file_lock *fl, struct nlm_host *host, pid_t pid) argument 726 struct file_lock *fl = &block->b_call->a_args.lock.fl; local 755 nlmsvc_grant_deferred(struct file_lock *fl, int result) argument 794 nlmsvc_notify_blocked(struct file_lock *fl) argument 981 struct file_lock *fl; local [all...] |
H A D | clntproc.c | 34 static void nlmclnt_locks_init_private(struct file_lock *fl, struct nlm_host *host); 129 static void nlmclnt_setlockargs(struct nlm_rqst *req, struct file_lock *fl) argument 136 memcpy(&lock->fh, NFS_FH(file_inode(fl->c.flc_file)), 141 (unsigned int)fl->fl_u.nfs_fl.owner->pid, 143 lock->svid = fl->fl_u.nfs_fl.owner->pid; 144 lock->fl.fl_start = fl->fl_start; 145 lock->fl.fl_end = fl->fl_end; 146 lock->fl 162 nlmclnt_proc(struct nlm_host *host, int cmd, struct file_lock *fl, void *data) argument 432 nlmclnt_test(struct nlm_rqst *req, struct file_lock *fl) argument 465 nlmclnt_locks_copy_lock(struct file_lock *new, struct file_lock *fl) argument 474 nlmclnt_locks_release_private(struct file_lock *fl) argument 487 nlmclnt_locks_init_private(struct file_lock *fl, struct nlm_host *host) argument 496 do_vfs_lock(struct file_lock *fl) argument 522 nlmclnt_lock(struct nlm_rqst *req, struct file_lock *fl) argument 643 nlmclnt_reclaim(struct nlm_host *host, struct file_lock *fl, struct nlm_rqst *req) argument 686 nlmclnt_unlock(struct nlm_rqst *req, struct file_lock *fl) argument 786 nlmclnt_cancel(struct nlm_host *host, int block, struct file_lock *fl) argument [all...] |
H A D | xdr4.c | 36 void nlm4svc_set_file_lock_range(struct file_lock *fl, u64 off, u64 len) argument 40 fl->fl_start = off; 42 fl->fl_end = OFFSET_MAX; 44 fl->fl_end = end; 76 struct file_lock *fl = &lock->fl; local 91 locks_init_lock(fl); 92 fl->c.flc_flags = FL_POSIX; 93 fl->c.flc_type = F_RDLCK; 94 nlm4svc_set_file_lock_range(fl, loc 101 const struct file_lock *fl = &lock->fl; local [all...] |
/linux-master/drivers/misc/ |
H A D | fastrpc.c | 195 struct fastrpc_user *fl; member in struct:fastrpc_buf 217 struct fastrpc_user *fl; member in struct:fastrpc_map 246 struct fastrpc_user *fl; member in struct:fastrpc_invoke_ctx 319 int vmid = map->fl->cctx->vmperms[0].vmid; 328 dev_err(map->fl->sctx->dev, "Failed to assign memory phys 0x%llx size 0x%llx err %d", 339 if (map->fl) { 340 spin_lock(&map->fl->lock); 342 spin_unlock(&map->fl->lock); 343 map->fl = NULL; 364 static int fastrpc_map_lookup(struct fastrpc_user *fl, in argument 401 __fastrpc_buf_alloc(struct fastrpc_user *fl, struct device *dev, u64 size, struct fastrpc_buf **obuf) argument 434 fastrpc_buf_alloc(struct fastrpc_user *fl, struct device *dev, u64 size, struct fastrpc_buf **obuf) argument 452 fastrpc_remote_heap_alloc(struct fastrpc_user *fl, struct device *dev, u64 size, struct fastrpc_buf **obuf) argument 754 fastrpc_map_create(struct fastrpc_user *fl, int fd, u64 len, u32 attr, struct fastrpc_map **ppmap) argument 1064 struct fastrpc_user *fl = ctx->fl; local 1109 struct fastrpc_user *fl = ctx->fl; local 1136 fastrpc_internal_invoke(struct fastrpc_user *fl, u32 kernel, u32 handle, u32 sc, struct fastrpc_invoke_args *args) argument 1215 is_session_rejected(struct fastrpc_user *fl, bool unsigned_pd_request) argument 1233 fastrpc_init_create_static_process(struct fastrpc_user *fl, char __user *argp) argument 1353 fastrpc_init_create_process(struct fastrpc_user *fl, char __user *argp) argument 1499 fastrpc_release_current_dsp_process(struct fastrpc_user *fl) argument 1517 struct fastrpc_user *fl = (struct fastrpc_user *)file->private_data; local 1560 struct fastrpc_user *fl = NULL; local 1600 fastrpc_dmabuf_alloc(struct fastrpc_user *fl, char __user *argp) argument 1645 fastrpc_init_attach(struct fastrpc_user *fl, int pd) argument 1661 fastrpc_invoke(struct fastrpc_user *fl, char __user *argp) argument 1691 fastrpc_get_info_from_dsp(struct fastrpc_user *fl, uint32_t *dsp_attr_buf, uint32_t dsp_attr_buf_len) argument 1711 fastrpc_get_info_from_kernel(struct fastrpc_ioctl_capability *cap, struct fastrpc_user *fl) argument 1755 fastrpc_get_dsp_info(struct fastrpc_user *fl, char __user *argp) argument 1792 fastrpc_req_munmap_impl(struct fastrpc_user *fl, struct fastrpc_buf *buf) argument 1823 fastrpc_req_munmap(struct fastrpc_user *fl, char __user *argp) argument 1850 fastrpc_req_mmap(struct fastrpc_user *fl, char __user *argp) argument 1952 fastrpc_req_mem_unmap_impl(struct fastrpc_user *fl, struct fastrpc_mem_unmap *req) argument 1996 fastrpc_req_mem_unmap(struct fastrpc_user *fl, char __user *argp) argument 2006 fastrpc_req_mem_map(struct fastrpc_user *fl, char __user *argp) argument 2086 struct fastrpc_user *fl = (struct fastrpc_user *)file->private_data; local [all...] |
/linux-master/fs/nfs/filelayout/ |
H A D | filelayout.c | 539 struct nfs4_filelayout_segment *fl, 547 if (fl->dsaddr != NULL) 551 d = nfs4_find_get_deviceid(NFS_SERVER(lo->plh_inode), &fl->deviceid, 561 if (fl->first_stripe_index >= dsaddr->stripe_count) { 563 __func__, fl->first_stripe_index); 567 if ((fl->stripe_type == STRIPE_SPARSE && 568 fl->num_fh > 1 && fl->num_fh != dsaddr->ds_num) || 569 (fl->stripe_type == STRIPE_DENSE && 570 fl 538 filelayout_check_deviceid(struct pnfs_layout_hdr *lo, struct nfs4_filelayout_segment *fl, gfp_t gfp_flags) argument 599 filelayout_check_layout(struct pnfs_layout_hdr *lo, struct nfs4_filelayout_segment *fl, struct nfs4_layoutget_res *lgr, gfp_t gfp_flags) argument 634 _filelayout_free_lseg(struct nfs4_filelayout_segment *fl) argument 650 filelayout_decode_layout(struct pnfs_layout_hdr *flo, struct nfs4_filelayout_segment *fl, struct nfs4_layoutget_res *lgr, gfp_t gfp_flags) argument 746 struct nfs4_filelayout_segment *fl = FILELAYOUT_LSEG(lseg); local 770 struct nfs4_filelayout_segment *fl; local 847 struct nfs4_filelayout_segment *fl; local 937 select_bucket_index(struct nfs4_filelayout_segment *fl, u32 j) argument 952 struct nfs4_filelayout_segment *fl = FILELAYOUT_LSEG(lseg); local 1089 struct nfs4_filelayout_segment *fl = FILELAYOUT_LSEG(lseg); local [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | sge.c | 240 * @fl: the Free List 247 static inline unsigned int fl_cap(const struct sge_fl *fl) argument 249 return fl->size - FL_PER_EQ_UNIT; 255 * @fl: the Free List 262 const struct sge_fl *fl) 266 return fl->avail - fl->pend_cred <= s->fl_starve_thres; 466 * @fl: the SGE Free List to free buffers from 473 static void free_rx_bufs(struct adapter *adapter, struct sge_fl *fl, int n) argument 476 struct rx_sw_desc *sdesc = &fl 261 fl_starving(const struct adapter *adapter, const struct sge_fl *fl) argument 503 unmap_rx_buf(struct adapter *adapter, struct sge_fl *fl) argument 525 ring_fl_db(struct adapter *adapter, struct sge_fl *fl) argument 604 refill_fl(struct adapter *adapter, struct sge_fl *fl, int n, gfp_t gfp) argument 725 __refill_fl(struct adapter *adapter, struct sge_fl *fl) argument 1708 restore_rx_bufs(const struct pkt_gl *gl, struct sge_fl *fl, int frags) argument 2082 struct sge_fl *fl = s->egr_map[id]; local 2201 t4vf_sge_alloc_rxq(struct adapter *adapter, struct sge_rspq *rspq, bool iqasynch, struct net_device *dev, int intr_dest, struct sge_fl *fl, rspq_handler_t hnd) argument 2527 free_rspq_fl(struct adapter *adapter, struct sge_rspq *rspq, struct sge_fl *fl) argument [all...] |
/linux-master/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_catalog.c | 595 {.fl = 4, .lut = 0x1b}, 596 {.fl = 5, .lut = 0x5b}, 597 {.fl = 6, .lut = 0x15b}, 598 {.fl = 7, .lut = 0x55b}, 599 {.fl = 8, .lut = 0x155b}, 600 {.fl = 9, .lut = 0x555b}, 601 {.fl = 10, .lut = 0x1555b}, 602 {.fl = 11, .lut = 0x5555b}, 603 {.fl = 12, .lut = 0x15555b}, 604 {.fl [all...] |
/linux-master/drivers/mtd/parsers/ |
H A D | redboot.c | 79 struct fis_list *fl = NULL, *tmp_fl; local 221 prev = &fl; 230 if (fl->img->flash_base) { 235 for (tmp_fl = fl; tmp_fl->next; tmp_fl = tmp_fl->next) { 259 if (fl->img->flash_base) { 261 parts[0].size = fl->img->flash_base; 267 parts[i].size = fl->img->size; 268 parts[i].offset = fl->img->flash_base; 271 strcpy(names, fl->img->name); 282 if (fl [all...] |
/linux-master/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-ioread.h | 20 int pvr2_ioread_set_enabled(struct pvr2_ioread *,int fl);
|