/fs/ncpfs/ |
D | getopt.c | 30 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 …]
|
D | ncpsign_kernel.c | 25 #define BSET(buf,pos,val) (((__u8 *)(buf))[pos] = (val)) argument 38 WSET_LH(__u8 * buf, int pos, __u16 val) in WSET_LH() argument 40 BSET(buf, pos, val & 0xff); in WSET_LH() 41 BSET(buf, pos + 1, val >> 8); in WSET_LH() 44 DSET_LH(__u8 * buf, int pos, __u32 val) in DSET_LH() argument 46 WSET_LH(buf, pos, val & 0xffff); in DSET_LH() 47 WSET_LH(buf, pos + 2, val >> 16); in DSET_LH()
|
/fs/ext4/ |
D | hash.c | 72 __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/ |
D | hash.c | 70 __u32 pad, val; in str2hashbuf_signed() local 77 val = pad; in str2hashbuf_signed() 82 val = pad; in str2hashbuf_signed() 83 val = ((int) scp[i]) + (val << 8); in str2hashbuf_signed() 85 *buf++ = val; in str2hashbuf_signed() 86 val = pad; in str2hashbuf_signed() 91 *buf++ = val; in str2hashbuf_signed() 98 __u32 pad, val; in str2hashbuf_unsigned() local 105 val = pad; in str2hashbuf_unsigned() 110 val = pad; in str2hashbuf_unsigned() [all …]
|
/fs/btrfs/ |
D | ulist.c | 128 static struct ulist_node *ulist_rbtree_search(struct ulist *ulist, u64 val) in ulist_rbtree_search() argument 135 if (u->val < val) in ulist_rbtree_search() 137 else if (u->val > val) in ulist_rbtree_search() 155 if (cur->val < ins->val) in ulist_rbtree_insert() 157 else if (cur->val > ins->val) in ulist_rbtree_insert() 187 int ulist_add(struct ulist *ulist, u64 val, u64 aux, gfp_t gfp_mask) in ulist_add() argument 189 return ulist_add_merge(ulist, val, aux, NULL, gfp_mask); in ulist_add() 192 int ulist_add_merge(struct ulist *ulist, u64 val, u64 aux, in ulist_add_merge() argument 197 node = ulist_rbtree_search(ulist, val); in ulist_add_merge() 228 ulist->nodes[ulist->nnodes].val = val; in ulist_add_merge()
|
D | struct-funcs.c | 29 static inline void put_unaligned_le8(u8 val, void *p) in put_unaligned_le8() argument 31 *(u8 *)p = val; in put_unaligned_le8() 93 void *ptr, unsigned long off, u##bits val, \ 110 put_unaligned_le##bits(val, p + off); \ 118 val2 = cpu_to_le##bits(val); \ 123 put_unaligned_le##bits(val, p + off); \
|
D | ulist.h | 38 u64 val; /* value to store */ member 74 int ulist_add(struct ulist *ulist, u64 val, u64 aux, gfp_t gfp_mask); 75 int ulist_add_merge(struct ulist *ulist, u64 val, u64 aux,
|
/fs/xfs/ |
D | xfs_sysctl.c | 80 .data = &xfs_params.sgid_inherit.val, 89 .data = &xfs_params.symlink_mode.val, 98 .data = &xfs_params.panic_mask.val, 108 .data = &xfs_params.error_level.val, 117 .data = &xfs_params.syncd_timer.val, 126 .data = &xfs_params.inherit_sync.val, 135 .data = &xfs_params.inherit_nodump.val, 144 .data = &xfs_params.inherit_noatim.val, 153 .data = &xfs_params.xfs_buf_timer.val, 162 .data = &xfs_params.xfs_buf_age.val, [all …]
|
D | xfs_linux.h | 108 #define irix_sgid_inherit xfs_params.sgid_inherit.val 109 #define irix_symlink_mode xfs_params.symlink_mode.val 110 #define xfs_panic_mask xfs_params.panic_mask.val 111 #define xfs_error_level xfs_params.error_level.val 112 #define xfs_syncd_centisecs xfs_params.syncd_timer.val 113 #define xfs_stats_clear xfs_params.stats_clear.val 114 #define xfs_inherit_sync xfs_params.inherit_sync.val 115 #define xfs_inherit_nodump xfs_params.inherit_nodump.val 116 #define xfs_inherit_noatime xfs_params.inherit_noatim.val 117 #define xfs_buf_timer_centisecs xfs_params.xfs_buf_timer.val [all …]
|
D | xfs_btree.h | 153 #define __XFS_BTREE_STATS_ADD(type, stat, val) \ argument 154 XFS_STATS_ADD(xs_ ## type ## _2_ ## stat, val) 155 #define XFS_BTREE_STATS_ADD(cur, stat, val) \ argument 158 case XFS_BTNUM_BNO: __XFS_BTREE_STATS_ADD(abtb, stat, val); break; \ 159 case XFS_BTNUM_CNT: __XFS_BTREE_STATS_ADD(abtc, stat, val); break; \ 160 case XFS_BTNUM_BMAP: __XFS_BTREE_STATS_ADD(bmbt, stat, val); break; \ 161 case XFS_BTNUM_INO: __XFS_BTREE_STATS_ADD(ibt, stat, val); break; \
|
/fs/debugfs/ |
D | file.c | 55 static int debugfs_u8_set(void *data, u64 val) in debugfs_u8_set() argument 57 *(u8 *)data = val; in debugfs_u8_set() 60 static int debugfs_u8_get(void *data, u64 *val) in debugfs_u8_get() argument 62 *val = *(u8 *)data; in debugfs_u8_get() 107 static int debugfs_u16_set(void *data, u64 val) in debugfs_u16_set() argument 109 *(u16 *)data = val; in debugfs_u16_set() 112 static int debugfs_u16_get(void *data, u64 *val) in debugfs_u16_get() argument 114 *val = *(u16 *)data; in debugfs_u16_get() 159 static int debugfs_u32_set(void *data, u64 val) in debugfs_u32_set() argument 161 *(u32 *)data = val; in debugfs_u32_set() [all …]
|
/fs/nfsd/ |
D | fault_inject.c | 55 static void nfsd_inject_set(struct nfsd_fault_inject_op *op, u64 val) in nfsd_inject_set() argument 59 if (val == 0) in nfsd_inject_set() 62 printk(KERN_INFO "NFSD Fault Injection: %s (n = %llu)", op->file, val); in nfsd_inject_set() 65 count = nfsd_for_n_state(val, op->forget); in nfsd_inject_set() 88 static void nfsd_inject_get(struct nfsd_fault_inject_op *op, u64 *val) in nfsd_inject_get() argument 91 *val = nfsd_for_n_state(0, op->print); in nfsd_inject_get() 98 static u64 val; in fault_inject_read() local 104 nfsd_inject_get(file_inode(file)->i_private, &val); in fault_inject_read() 105 size = scnprintf(read_buf, sizeof(read_buf), "%llu\n", val); in fault_inject_read() 128 u64 val; in fault_inject_write() local [all …]
|
/fs/ceph/ |
D | xattr.c | 30 size_t (*getxattr_cb)(struct ceph_inode_info *ci, char *val, 49 static size_t ceph_vxattrcb_layout(struct ceph_inode_info *ci, char *val, in ceph_vxattrcb_layout() argument 62 ret = snprintf(val, size, in ceph_vxattrcb_layout() 69 ret = snprintf(val, size, in ceph_vxattrcb_layout() 81 char *val, size_t size) in ceph_vxattrcb_layout_stripe_unit() argument 83 return snprintf(val, size, "%lld", in ceph_vxattrcb_layout_stripe_unit() 88 char *val, size_t size) in ceph_vxattrcb_layout_stripe_count() argument 90 return snprintf(val, size, "%lld", in ceph_vxattrcb_layout_stripe_count() 95 char *val, size_t size) in ceph_vxattrcb_layout_object_size() argument 97 return snprintf(val, size, "%lld", in ceph_vxattrcb_layout_object_size() [all …]
|
/fs/fuse/ |
D | control.c | 65 size_t len, loff_t *ppos, unsigned val) in fuse_conn_limit_read() argument 68 size_t size = sprintf(tmp, "%u\n", val); in fuse_conn_limit_read() 74 size_t count, loff_t *ppos, unsigned *val, in fuse_conn_limit_write() argument 94 *val = t; in fuse_conn_limit_write() 104 unsigned val; in fuse_conn_max_background_read() local 110 val = fc->max_background; in fuse_conn_max_background_read() 113 return fuse_conn_limit_read(file, buf, len, ppos, val); in fuse_conn_max_background_read() 120 unsigned uninitialized_var(val); in fuse_conn_max_background_write() 123 ret = fuse_conn_limit_write(file, buf, count, ppos, &val, in fuse_conn_max_background_write() 128 fc->max_background = val; in fuse_conn_max_background_write() [all …]
|
D | cuse.c | 222 char *key, *val; in cuse_parse_one() local 234 key = val = p; in cuse_parse_one() 238 strsep(&val, "="); in cuse_parse_one() 239 if (!val) in cuse_parse_one() 240 val = key + strlen(key); in cuse_parse_one() 242 val = strstrip(val); in cuse_parse_one() 254 *valp = val; in cuse_parse_one() 275 char *uninitialized_var(key), *uninitialized_var(val); in cuse_parse_devinfo() 279 rc = cuse_parse_one(&p, end, &key, &val); in cuse_parse_devinfo() 285 devinfo->name = val; in cuse_parse_devinfo()
|
/fs/f2fs/ |
D | hash.c | 47 unsigned pad, val; in str2hashbuf() local 53 val = pad; in str2hashbuf() 58 val = pad; in str2hashbuf() 59 val = msg[i] + (val << 8); in str2hashbuf() 61 *buf++ = val; in str2hashbuf() 62 val = pad; in str2hashbuf() 67 *buf++ = val; in str2hashbuf()
|
/fs/squashfs/ |
D | xattr.c | 59 struct squashfs_xattr_val val; in squashfs_listxattr() local 100 err = squashfs_read_metadata(sb, &val, &start, &offset, in squashfs_listxattr() 101 sizeof(val)); in squashfs_listxattr() 106 le32_to_cpu(val.vsize)); in squashfs_listxattr() 136 struct squashfs_xattr_val val; in squashfs_xattr_get() local 164 err = squashfs_read_metadata(sb, &val, &start, in squashfs_xattr_get() 165 &offset, sizeof(val)); in squashfs_xattr_get() 178 err = squashfs_read_metadata(sb, &val, &start, &offset, in squashfs_xattr_get() 179 sizeof(val)); in squashfs_xattr_get() 183 vsize = le32_to_cpu(val.vsize); in squashfs_xattr_get() [all …]
|
/fs/reiserfs/ |
D | reiserfs.h | 887 #define PUT_SB_BLOCK_COUNT(s, val) \ argument 888 do { SB_V1_DISK_SUPER_BLOCK(s)->s_block_count = cpu_to_le32(val); } while (0) 889 #define PUT_SB_FREE_BLOCKS(s, val) \ argument 890 do { SB_V1_DISK_SUPER_BLOCK(s)->s_free_blocks = cpu_to_le32(val); } while (0) 891 #define PUT_SB_ROOT_BLOCK(s, val) \ argument 892 do { SB_V1_DISK_SUPER_BLOCK(s)->s_root_block = cpu_to_le32(val); } while (0) 893 #define PUT_SB_TREE_HEIGHT(s, val) \ argument 894 do { SB_V1_DISK_SUPER_BLOCK(s)->s_tree_height = cpu_to_le16(val); } while (0) 895 #define PUT_SB_REISERFS_STATE(s, val) \ argument 896 do { SB_V1_DISK_SUPER_BLOCK(s)->s_umount_state = cpu_to_le16(val); } while (0) [all …]
|
/fs/hfs/ |
D | bitmap.c | 33 __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/ |
D | dir_f.c | 23 unsigned int val = 0; in adfs_readval() local 26 case 4: val |= p[3] << 24; in adfs_readval() 27 case 3: val |= p[2] << 16; in adfs_readval() 28 case 2: val |= p[1] << 8; in adfs_readval() 29 default: val |= p[0]; in adfs_readval() 31 return val; in adfs_readval() 34 static inline void adfs_writeval(unsigned char *p, int len, unsigned int val) in adfs_writeval() argument 37 case 4: p[3] = val >> 24; in adfs_writeval() 38 case 3: p[2] = val >> 16; in adfs_writeval() 39 case 2: p[1] = val >> 8; in adfs_writeval() [all …]
|
D | adfs.h | 177 static inline __u32 signed_asl(__u32 val, signed int shift) in signed_asl() argument 180 val <<= shift; in signed_asl() 182 val >>= -shift; in signed_asl() 183 return val; in signed_asl()
|
/fs/hfsplus/ |
D | bitmap.c | 26 __be32 val; in hfsplus_block_allocate() local 51 val = *curr; in hfsplus_block_allocate() 52 if (~val) { in hfsplus_block_allocate() 53 n = be32_to_cpu(val); in hfsplus_block_allocate() 65 val = *curr; in hfsplus_block_allocate() 66 if (~val) { in hfsplus_block_allocate() 67 n = be32_to_cpu(val); in hfsplus_block_allocate()
|
/fs/ubifs/ |
D | debug.c | 2675 static int provide_user_output(int val, char __user *u, size_t count, in provide_user_output() argument 2680 if (val) in provide_user_output() 2696 int val; in dfs_file_read() local 2699 val = d->chk_gen; in dfs_file_read() 2701 val = d->chk_index; in dfs_file_read() 2703 val = d->chk_orph; in dfs_file_read() 2705 val = d->chk_lprops; in dfs_file_read() 2707 val = d->chk_fs; in dfs_file_read() 2709 val = d->tst_rcvry; in dfs_file_read() 2711 val = c->ro_error; in dfs_file_read() [all …]
|
/fs/gfs2/ |
D | sys.c | 315 int val = 0; in block_show() local 318 val = 1; in block_show() 319 ret = sprintf(buf, "%d\n", val); in block_show() 327 int val; in block_store() local 329 val = simple_strtol(buf, NULL, 0); in block_store() 331 if (val == 1) in block_store() 333 else if (val == 0) { in block_store() 345 int val = completion_done(&sdp->sd_wdack) ? 1 : 0; in wdack_show() local 347 return sprintf(buf, "%d\n", val); in wdack_show() 353 int val; in wdack_store() local [all …]
|
/fs/cifs/ |
D | smbencrypt.c | 47 #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
|