Home
last modified time | relevance | path

Searched refs:val (Results 1 – 25 of 73) sorted by relevance

123

/fs/xfs/
Dxfs_arch.h44 #define cpu_to_be16(val) ((__force __be16)(__u16)(val)) argument
45 #define cpu_to_be32(val) ((__force __be32)(__u32)(val)) argument
46 #define cpu_to_be64(val) ((__force __be64)(__u64)(val)) argument
47 #define be16_to_cpu(val) ((__force __u16)(__be16)(val)) argument
48 #define be32_to_cpu(val) ((__force __u32)(__be32)(val)) argument
49 #define be64_to_cpu(val) ((__force __u64)(__be64)(val)) argument
51 #define cpu_to_be16(val) ((__force __be16)__swab16((__u16)(val))) argument
52 #define cpu_to_be32(val) ((__force __be32)__swab32((__u32)(val))) argument
53 #define cpu_to_be64(val) ((__force __be64)__swab64((__u64)(val))) argument
54 #define be16_to_cpu(val) (__swab16((__force __u16)(__be16)(val))) argument
[all …]
Dxfs_btree.h128 #define __XFS_BTREE_STATS_ADD(type, stat, val) \ argument
129 XFS_STATS_ADD(xs_ ## type ## _2_ ## stat, val)
130 #define XFS_BTREE_STATS_ADD(cur, stat, val) \ argument
133 case XFS_BTNUM_BNO: __XFS_BTREE_STATS_ADD(abtb, stat, val); break; \
134 case XFS_BTNUM_CNT: __XFS_BTREE_STATS_ADD(abtc, stat, val); break; \
135 case XFS_BTNUM_BMAP: __XFS_BTREE_STATS_ADD(bmbt, stat, val); break; \
136 case XFS_BTNUM_INO: __XFS_BTREE_STATS_ADD(ibt, stat, val); break; \
Dxfs_btree_trace.c36 __u64 val = be64_to_cpu(ptr.l); in xfs_btree_trace_ptr() local
37 *high = val >> 32; in xfs_btree_trace_ptr()
38 *low = (int)val; in xfs_btree_trace_ptr()
/fs/debugfs/
Dfile.c59 static int debugfs_u8_set(void *data, u64 val) in debugfs_u8_set() argument
61 *(u8 *)data = val; in debugfs_u8_set()
64 static int debugfs_u8_get(void *data, u64 *val) in debugfs_u8_get() argument
66 *val = *(u8 *)data; in debugfs_u8_get()
102 static int debugfs_u16_set(void *data, u64 val) in debugfs_u16_set() argument
104 *(u16 *)data = val; in debugfs_u16_set()
107 static int debugfs_u16_get(void *data, u64 *val) in debugfs_u16_get() argument
109 *val = *(u16 *)data; in debugfs_u16_get()
145 static int debugfs_u32_set(void *data, u64 val) in debugfs_u32_set() argument
147 *(u32 *)data = val; in debugfs_u32_set()
[all …]
/fs/ncpfs/
Dgetopt.c30 char *val; in ncp_getopt() local
39 if ((val = strchr (token, '=')) != NULL) { in ncp_getopt()
40 *val++ = 0; in ncp_getopt()
42 *optarg = val; in ncp_getopt()
45 if (!val) { in ncp_getopt()
47 return opts->val; in ncp_getopt()
56 *value = simple_strtoul(val, &v, 0); in ncp_getopt()
58 return opts->val; in ncp_getopt()
61 caller, token, val); in ncp_getopt()
65 return opts->val; in ncp_getopt()
[all …]
Dncpsign_kernel.c24 #define BSET(buf,pos,val) (BVAL(buf,pos) = (val)) argument
37 WSET_LH(__u8 * buf, int pos, __u16 val) in WSET_LH() argument
39 BSET(buf, pos, val & 0xff); in WSET_LH()
40 BSET(buf, pos + 1, val >> 8); in WSET_LH()
43 DSET_LH(__u8 * buf, int pos, __u32 val) in DSET_LH() argument
45 WSET_LH(buf, pos, val & 0xffff); in DSET_LH()
46 WSET_LH(buf, pos + 2, val >> 16); in DSET_LH()
/fs/ext4/
Dhash.c72 __u32 pad, val; in str2hashbuf_signed() local
79 val = pad; in str2hashbuf_signed()
84 val = pad; in str2hashbuf_signed()
85 val = ((int) scp[i]) + (val << 8); in str2hashbuf_signed()
87 *buf++ = val; in str2hashbuf_signed()
88 val = pad; in str2hashbuf_signed()
93 *buf++ = val; in str2hashbuf_signed()
100 __u32 pad, val; in str2hashbuf_unsigned() local
107 val = pad; in str2hashbuf_unsigned()
112 val = pad; in str2hashbuf_unsigned()
[all …]
/fs/ext3/
Dhash.c72 __u32 pad, val; in str2hashbuf_signed() local
79 val = pad; in str2hashbuf_signed()
84 val = pad; in str2hashbuf_signed()
85 val = ((int) scp[i]) + (val << 8); in str2hashbuf_signed()
87 *buf++ = val; in str2hashbuf_signed()
88 val = pad; in str2hashbuf_signed()
93 *buf++ = val; in str2hashbuf_signed()
100 __u32 pad, val; in str2hashbuf_unsigned() local
107 val = pad; in str2hashbuf_unsigned()
112 val = pad; in str2hashbuf_unsigned()
[all …]
/fs/xfs/support/
Dktrace.c172 ktep->val[0] = val0; in ktrace_enter()
173 ktep->val[1] = val1; in ktrace_enter()
174 ktep->val[2] = val2; in ktrace_enter()
175 ktep->val[3] = val3; in ktrace_enter()
176 ktep->val[4] = val4; in ktrace_enter()
177 ktep->val[5] = val5; in ktrace_enter()
178 ktep->val[6] = val6; in ktrace_enter()
179 ktep->val[7] = val7; in ktrace_enter()
180 ktep->val[8] = val8; in ktrace_enter()
181 ktep->val[9] = val9; in ktrace_enter()
[all …]
/fs/xfs/linux-2.6/
Dxfs_linux.h104 #define irix_sgid_inherit xfs_params.sgid_inherit.val
105 #define irix_symlink_mode xfs_params.symlink_mode.val
106 #define xfs_panic_mask xfs_params.panic_mask.val
107 #define xfs_error_level xfs_params.error_level.val
108 #define xfs_syncd_centisecs xfs_params.syncd_timer.val
109 #define xfs_stats_clear xfs_params.stats_clear.val
110 #define xfs_inherit_sync xfs_params.inherit_sync.val
111 #define xfs_inherit_nodump xfs_params.inherit_nodump.val
112 #define xfs_inherit_noatime xfs_params.inherit_noatim.val
113 #define xfs_buf_timer_centisecs xfs_params.xfs_buf_timer.val
[all …]
Dxfs_sysctl.c61 .data = &xfs_params.sgid_inherit.val,
72 .data = &xfs_params.symlink_mode.val,
83 .data = &xfs_params.panic_mask.val,
95 .data = &xfs_params.error_level.val,
106 .data = &xfs_params.syncd_timer.val,
117 .data = &xfs_params.inherit_sync.val,
128 .data = &xfs_params.inherit_nodump.val,
139 .data = &xfs_params.inherit_noatim.val,
150 .data = &xfs_params.xfs_buf_timer.val,
161 .data = &xfs_params.xfs_buf_age.val,
[all …]
Dxfs_stats.c32 int c, i, j, len, val; in xfs_read_xfsstats() local
67 val = 0; in xfs_read_xfsstats()
70 val += *(((__u32*)&per_cpu(xfsstats, c) + j)); in xfs_read_xfsstats()
71 len += sprintf(buffer + len, " %u", val); in xfs_read_xfsstats()
Dxfs_buf.h331 #define XFS_BUF_SET_FSPRIVATE(bp, val) ((bp)->b_fspriv = (void*)(val)) argument
333 #define XFS_BUF_SET_FSPRIVATE2(bp, val) ((bp)->b_fspriv2 = (void*)(val)) argument
338 #define XFS_BUF_SET_PTR(bp, val, cnt) xfs_buf_associate_memory(bp, val, cnt) argument
/fs/smbfs/
Dgetopt.c31 char *val; in smb_getopt() local
41 if ((val = strchr (token, '=')) != NULL) { in smb_getopt()
42 *val++ = 0; in smb_getopt()
44 *value = simple_strtoul(val, NULL, 0); in smb_getopt()
45 *optarg = val; in smb_getopt()
50 if (!opts[i].flag && (!val || !*val)) { in smb_getopt()
59 return opts[i].val; in smb_getopt()
/fs/gfs2/locking/dlm/
Dsysfs.c23 int val = 0; in block_show() local
26 val = 1; in block_show()
27 ret = sprintf(buf, "%d\n", val); in block_show()
34 int val; in block_store() local
36 val = simple_strtol(buf, NULL, 0); in block_store()
38 if (val == 1) in block_store()
40 else if (val == 0) { in block_store()
52 int val = 0; in withdraw_show() local
55 val = 1; in withdraw_show()
56 ret = sprintf(buf, "%d\n", val); in withdraw_show()
[all …]
/fs/cifs/
Dsmbencrypt.c47 #define SSVALX(buf,pos,val) (CVAL(buf,pos)=(val)&0xFF,CVAL(buf,pos+1)=(val)>>8) argument
48 #define SSVAL(buf,pos,val) SSVALX((buf),(pos),((__u16)(val))) argument
103 __u16 val; in _my_mbstowcs() local
106 val = *src; in _my_mbstowcs()
107 SSVAL(dst, 0, val); in _my_mbstowcs()
110 if (val == 0) in _my_mbstowcs()
/fs/hfs/
Dbitmap.c33 __be32 val; in hfs_find_set_zero_bits() local
44 val = *curr; in hfs_find_set_zero_bits()
45 if (~val) { in hfs_find_set_zero_bits()
46 n = be32_to_cpu(val); in hfs_find_set_zero_bits()
57 val = *curr; in hfs_find_set_zero_bits()
58 if (~val) { in hfs_find_set_zero_bits()
59 n = be32_to_cpu(val); in hfs_find_set_zero_bits()
/fs/adfs/
Ddir_f.c31 unsigned int val = 0; in adfs_readval() local
34 case 4: val |= p[3] << 24; in adfs_readval()
35 case 3: val |= p[2] << 16; in adfs_readval()
36 case 2: val |= p[1] << 8; in adfs_readval()
37 default: val |= p[0]; in adfs_readval()
39 return val; in adfs_readval()
42 static inline void adfs_writeval(unsigned char *p, int len, unsigned int val) in adfs_writeval() argument
45 case 4: p[3] = val >> 24; in adfs_writeval()
46 case 3: p[2] = val >> 16; in adfs_writeval()
47 case 2: p[1] = val >> 8; in adfs_writeval()
[all …]
Dadfs.h99 static inline __u32 signed_asl(__u32 val, signed int shift) in signed_asl() argument
102 val <<= shift; in signed_asl()
104 val >>= -shift; in signed_asl()
105 return val; in signed_asl()
/fs/hfsplus/
Dbitmap.c24 __be32 val; in hfsplus_block_allocate() local
49 val = *curr; in hfsplus_block_allocate()
50 if (~val) { in hfsplus_block_allocate()
51 n = be32_to_cpu(val); in hfsplus_block_allocate()
63 val = *curr; in hfsplus_block_allocate()
64 if (~val) { in hfsplus_block_allocate()
65 n = be32_to_cpu(val); in hfsplus_block_allocate()
/fs/btrfs/
Dstruct-funcs.c46 void btrfs_set_##name(struct extent_buffer *eb, type *s, u##bits val); \
85 type *s, u##bits val) \
95 p->member = cpu_to_le##bits(val); \
111 val2 = cpu_to_le##bits(val); \
116 p->member = cpu_to_le##bits(val); \
/fs/ocfs2/cluster/
Dnodemanager.c481 unsigned int *val) in o2nm_cluster_attr_write() argument
495 *val = tmp; in o2nm_cluster_attr_write()
510 unsigned int val; in o2nm_cluster_attr_idle_timeout_ms_write() local
512 ret = o2nm_cluster_attr_write(page, count, &val); in o2nm_cluster_attr_idle_timeout_ms_write()
515 if (cluster->cl_idle_timeout_ms != val in o2nm_cluster_attr_idle_timeout_ms_write()
523 } else if (val <= cluster->cl_keepalive_delay_ms) { in o2nm_cluster_attr_idle_timeout_ms_write()
528 cluster->cl_idle_timeout_ms = val; in o2nm_cluster_attr_idle_timeout_ms_write()
545 unsigned int val; in o2nm_cluster_attr_keepalive_delay_ms_write() local
547 ret = o2nm_cluster_attr_write(page, count, &val); in o2nm_cluster_attr_keepalive_delay_ms_write()
550 if (cluster->cl_keepalive_delay_ms != val in o2nm_cluster_attr_keepalive_delay_ms_write()
[all …]
/fs/ubifs/
Dlpt.c232 static void pack_bits(uint8_t **addr, int *pos, uint32_t val, int nrbits) in pack_bits() argument
241 ubifs_assert((val >> nrbits) == 0 || nrbits == 32); in pack_bits()
243 *p |= ((uint8_t)val) << b; in pack_bits()
246 *++p = (uint8_t)(val >>= (8 - b)); in pack_bits()
248 *++p = (uint8_t)(val >>= 8); in pack_bits()
250 *++p = (uint8_t)(val >>= 8); in pack_bits()
252 *++p = (uint8_t)(val >>= 8); in pack_bits()
257 *p = (uint8_t)val; in pack_bits()
259 *++p = (uint8_t)(val >>= 8); in pack_bits()
261 *++p = (uint8_t)(val >>= 8); in pack_bits()
[all …]
/fs/ocfs2/dlm/
Duserdlm.h81 const char *val,
84 char *val,
/fs/nfs/
Dcallback.c54 static int param_set_port(const char *val, struct kernel_param *kp) in param_set_port() argument
57 int num = simple_strtol(val, &endp, 0); in param_set_port()
58 if (endp == val || *endp || num < nfs_set_port_min || num > nfs_set_port_max) in param_set_port()

123