Home
last modified time | relevance | path

Searched refs:kp (Results 1 – 13 of 13) sorted by relevance

/fs/nfs/
Dnamespace.c321 static int param_set_nfs_timeout(const char *val, const struct kernel_param *kp) in param_set_nfs_timeout() argument
336 *((int *)kp->arg) = num; in param_set_nfs_timeout()
340 *((int *)kp->arg) = -1*HZ; in param_set_nfs_timeout()
346 static int param_get_nfs_timeout(char *buffer, const struct kernel_param *kp) in param_get_nfs_timeout() argument
348 long num = *((int *)kp->arg); in param_get_nfs_timeout()
Dsuper.c1382 static int param_set_portnr(const char *val, const struct kernel_param *kp) in param_set_portnr() argument
1392 *((unsigned int *)kp->arg) = num; in param_set_portnr()
/fs/xfs/libxfs/
Dxfs_alloc_btree.c238 const struct xfs_alloc_rec *kp = &key->alloc; in xfs_bnobt_key_diff() local
240 return (int64_t)be32_to_cpu(kp->ar_startblock) - rec->ar_startblock; in xfs_bnobt_key_diff()
249 const struct xfs_alloc_rec *kp = &key->alloc; in xfs_cntbt_key_diff() local
252 diff = (int64_t)be32_to_cpu(kp->ar_blockcount) - rec->ar_blockcount; in xfs_cntbt_key_diff()
256 return (int64_t)be32_to_cpu(kp->ar_startblock) - rec->ar_startblock; in xfs_cntbt_key_diff()
Dxfs_rmap_btree.c228 const struct xfs_rmap_key *kp = &key->rmap; in xfs_rmapbt_key_diff() local
232 d = (int64_t)be32_to_cpu(kp->rm_startblock) - rec->rm_startblock; in xfs_rmapbt_key_diff()
236 x = be64_to_cpu(kp->rm_owner); in xfs_rmapbt_key_diff()
243 x = XFS_RMAP_OFF(be64_to_cpu(kp->rm_offset)); in xfs_rmapbt_key_diff()
Dxfs_btree.c1863 union xfs_btree_key *kp) in xfs_lookup_get_search_key() argument
1866 cur->bc_ops->init_key_from_rec(kp, in xfs_lookup_get_search_key()
1868 return kp; in xfs_lookup_get_search_key()
1950 union xfs_btree_key *kp; in xfs_btree_lookup() local
1958 kp = xfs_lookup_get_search_key(cur, level, in xfs_btree_lookup()
1967 diff = cur->bc_ops->key_diff(cur, kp); in xfs_btree_lookup()
2222 union xfs_btree_key *kp; in xfs_btree_update_keys() local
2250 kp = xfs_btree_key_addr(cur, ptr, block); in xfs_btree_update_keys()
2251 xfs_btree_copy_keys(cur, kp, &key, 1); in xfs_btree_update_keys()
2969 union xfs_btree_key *kp; /* pointer to btree key */ in xfs_btree_new_iroot() local
[all …]
Dxfs_refcount_btree.c191 const struct xfs_refcount_key *kp = &key->refc; in xfs_refcountbt_key_diff() local
197 return (int64_t)be32_to_cpu(kp->rc_startblock) - start; in xfs_refcountbt_key_diff()
Dxfs_bmap.c610 struct xfs_bmbt_key *kp; /* root block key pointer */ in xfs_bmap_extents_to_btree() local
707 kp = XFS_BMBT_KEY_ADDR(mp, block, 1); in xfs_bmap_extents_to_btree()
709 kp->br_startoff = cpu_to_be64(xfs_bmbt_disk_get_startoff(arp)); in xfs_bmap_extents_to_btree()
/fs/ocfs2/dlmfs/
Ddlmfs.c75 const struct kernel_param *kp) in param_set_dlmfs_capabilities() argument
77 printk(KERN_ERR "%s: readonly parameter\n", kp->name); in param_set_dlmfs_capabilities()
81 const struct kernel_param *kp) in param_get_dlmfs_capabilities() argument
/fs/ntfs/
Dcompress.c89 u8 *kp = page_address(page); in zero_partial_compressed_page() local
94 clear_page(kp); in zero_partial_compressed_page()
98 memset(kp + kp_ofs, 0, PAGE_SIZE - kp_ofs); in zero_partial_compressed_page()
/fs/lockd/
Dsvc.c537 static int param_set_##name(const char *val, const struct kernel_param *kp) \
543 *((type *) kp->arg) = num; \
/fs/fuse/
Dinode.c36 static int set_global_limit(const char *val, const struct kernel_param *kp);
1296 static int set_global_limit(const char *val, const struct kernel_param *kp) in set_global_limit() argument
1300 rv = param_set_uint(val, kp); in set_global_limit()
1304 sanitize_global_limit((unsigned *)kp->arg); in set_global_limit()
/fs/ceph/
Dsuper.c1527 static int param_set_metrics(const char *val, const struct kernel_param *kp) in param_set_metrics() argument
1532 ret = param_set_bool(val, kp); in param_set_metrics()
/fs/ubifs/
Dsuper.c29 static int ubifs_default_version_set(const char *val, const struct kernel_param *kp) in ubifs_default_version_set() argument
36 return param_set_int(val, kp); in ubifs_default_version_set()