Searched defs:sd (Results 1 - 11 of 11) sorted by relevance

/fs/configfs/
H A Dconfigfs_internal.h84 extern const unsigned char * configfs_get_name(struct configfs_dirent *sd);
85 extern void configfs_drop_dentry(struct configfs_dirent *sd, struct dentry *parent);
115 struct configfs_dirent * sd = dentry->d_fsdata; local
116 return ((struct config_item *) sd->s_element);
121 struct configfs_dirent * sd = dentry->d_fsdata; local
122 return ((struct configfs_attribute *) sd->s_element);
131 struct configfs_dirent * sd = dentry->d_fsdata; local
132 if (sd->s_type & CONFIGFS_ITEM_LINK) {
133 struct configfs_symlink * sl = sd->s_element;
136 item = config_item_get(sd
143 release_configfs_dirent(struct configfs_dirent * sd) argument
151 configfs_get(struct configfs_dirent * sd) argument
160 configfs_put(struct configfs_dirent * sd) argument
[all...]
H A Dinode.c66 struct configfs_dirent * sd = dentry->d_fsdata; local
71 if (!sd)
74 sd_iattr = sd->s_iattr;
81 sd_iattr->ia_mode = sd->s_mode;
85 sd->s_iattr = sd_iattr;
111 sd_iattr->ia_mode = sd->s_mode = mode;
133 struct inode *configfs_new_inode(umode_t mode, struct configfs_dirent *sd, argument
143 if (sd->s_iattr) {
148 set_inode_attr(inode, sd->s_iattr);
157 static void configfs_set_inode_lock_class(struct configfs_dirent *sd, argument
179 configfs_set_inode_lock_class(struct configfs_dirent *sd, struct inode *inode) argument
190 struct configfs_dirent *sd; local
224 configfs_get_name(struct configfs_dirent *sd) argument
246 configfs_drop_dentry(struct configfs_dirent * sd, struct dentry * parent) argument
264 struct configfs_dirent * sd; local
[all...]
H A Dsymlink.c139 struct configfs_dirent *sd; local
144 sd = dentry->d_parent->d_fsdata;
150 if (!configfs_dirent_is_ready(sd))
187 struct configfs_dirent *sd = dentry->d_fsdata; local
194 if (!(sd->s_type & CONFIGFS_ITEM_LINK))
197 sl = sd->s_element;
203 list_del_init(&sd->s_sibling);
205 configfs_drop_dentry(sd, dentry->d_parent);
207 configfs_put(sd);
H A Ddir.c56 struct configfs_dirent *sd = dentry->d_fsdata; local
58 if (sd) {
62 * sd->s_count and update sd->s_dentry to new allocated one.
63 * Only set sd->dentry to null when this dentry is the only
64 * sd owner.
66 * configfs_attach_attr and set sd->s_dentry to null
69 if (atomic_read(&sd->s_count) <= 2)
70 sd->s_dentry = NULL;
73 configfs_put(sd);
104 configfs_init_dirent_depth(struct configfs_dirent *sd) argument
109 configfs_set_dir_dirent_depth(struct configfs_dirent *parent_sd, struct configfs_dirent *sd) argument
119 configfs_adjust_dir_dirent_depth_before_populate(struct configfs_dirent *sd) argument
140 configfs_adjust_dir_dirent_depth_after_populate(struct configfs_dirent *sd) argument
148 configfs_init_dirent_depth(struct configfs_dirent *sd) argument
152 configfs_set_dir_dirent_depth(struct configfs_dirent *parent_sd, struct configfs_dirent *sd) argument
158 configfs_adjust_dir_dirent_depth_before_populate(struct configfs_dirent *sd) argument
163 configfs_adjust_dir_dirent_depth_after_populate(struct configfs_dirent *sd) argument
175 struct configfs_dirent * sd; local
209 struct configfs_dirent * sd; local
229 struct configfs_dirent * sd; local
284 struct configfs_dirent *sd = d->d_fsdata; local
321 configfs_dir_set_ready(struct configfs_dirent *sd) argument
341 configfs_dirent_is_ready(struct configfs_dirent *sd) argument
364 struct configfs_dirent *sd = dentry->d_fsdata; local
379 struct configfs_dirent * sd; local
423 configfs_attach_attr(struct configfs_dirent * sd, struct dentry * dentry) argument
450 struct configfs_dirent * sd; local
505 struct configfs_dirent *sd; local
552 struct configfs_dirent *sd; local
565 struct configfs_dirent * sd, * tmp; local
622 struct configfs_dirent *sd, *tmp; local
665 struct configfs_dirent *sd; local
853 struct configfs_dirent *sd; local
941 configfs_dump_one(struct configfs_dirent *sd, int level) argument
956 configfs_dump(struct configfs_dirent *sd, int level) argument
1038 struct configfs_dirent *child_sd, *sd; local
1142 struct configfs_dirent *sd; local
1171 struct configfs_dirent *sd; local
1343 struct configfs_dirent *sd; local
1528 dt_type(struct configfs_dirent *sd) argument
1615 struct configfs_dirent *sd = dentry->d_fsdata; local
1653 struct configfs_dirent *sd; local
[all...]
/fs/cifs/
H A Dnetmisc.c967 SMB_DATE *sd = (SMB_DATE *)&date; local
979 days = sd->Day;
980 month = sd->Month;
989 year = sd->Year;
/fs/ocfs2/cluster/
H A Dnetdebug.c257 struct o2net_sock_debug *sd = seq->private; local
258 struct o2net_sock_container *sc, *dummy_sc = sd->dbg_sock;
269 struct o2net_sock_debug *sd = seq->private; local
270 struct o2net_sock_container *sc, *dummy_sc = sd->dbg_sock;
370 struct o2net_sock_debug *sd = seq->private; local
371 struct o2net_sock_container *sc, *dummy_sc = sd->dbg_sock;
377 if (sd->dbg_ctxt == SHOW_SOCK_CONTAINERS)
401 struct o2net_sock_debug *sd; local
408 sd = __seq_open_private(file, &sc_seq_ops, sizeof(*sd));
425 struct o2net_sock_debug *sd = seq->private; local
[all...]
/fs/reiserfs/
H A Ditem_ops.c9 * this contains item handlers for old item types: sd, direct,
48 struct stat_data_v1 *sd = (struct stat_data_v1 *)item; local
50 printk("\t0%-6o | %6u | %2u | %d | %s\n", sd_v1_mode(sd),
51 sd_v1_size(sd), sd_v1_nlink(sd),
52 sd_v1_first_direct_byte(sd),
53 print_time(sd_v1_mtime(sd)));
55 struct stat_data *sd = (struct stat_data *)item; local
57 printk("\t0%-6o | %6llu | %2u | %d | %s\n", sd_v2_mode(sd),
58 (unsigned long long)sd_v2_size(sd), sd_v2_nlin
[all...]
H A Dinode.c1257 struct stat_data_v1 *sd = local
1263 inode->i_mode = sd_v1_mode(sd);
1264 set_nlink(inode, sd_v1_nlink(sd));
1265 i_uid_write(inode, sd_v1_uid(sd));
1266 i_gid_write(inode, sd_v1_gid(sd));
1267 inode->i_size = sd_v1_size(sd);
1268 inode->i_atime.tv_sec = sd_v1_atime(sd);
1269 inode->i_mtime.tv_sec = sd_v1_mtime(sd);
1270 inode->i_ctime.tv_sec = sd_v1_ctime(sd);
1275 inode->i_blocks = sd_v1_blocks(sd);
1316 struct stat_data *sd = (struct stat_data *)ih_item_body(bh, ih); local
1373 inode2sd(void *sd, struct inode *inode, loff_t size) argument
1397 inode2sd_v1(void *sd, struct inode *inode, loff_t size) argument
1939 struct stat_data sd; local
[all...]
/fs/nilfs2/
H A Dsuper.c1222 * @sd: nilfs_super_data
1224 static int nilfs_identify(char *data, struct nilfs_super_data *sd) argument
1236 if (!(sd->flags & MS_RDONLY)) {
1239 sd->cno = simple_strtoull(args[0].from,
1246 if (sd->cno == 0)
1278 struct nilfs_super_data sd; local
1287 sd.bdev = blkdev_get_by_path(dev_name, mode, fs_type);
1288 if (IS_ERR(sd.bdev))
1289 return ERR_CAST(sd.bdev);
1291 sd
[all...]
/fs/
H A Dsplice.c699 * Send 'sd->len' bytes to socket from 'sd->file' at position 'sd->pos'
703 struct pipe_buffer *buf, struct splice_desc *sd)
705 struct file *file = sd->u.file;
706 loff_t pos = sd->pos;
712 more = (sd->flags & SPLICE_F_MORE) ? MSG_MORE : 0;
714 if (sd->len < sd->total_len && pipe->nrbufs > 1)
718 sd
702 pipe_to_sendpage(struct pipe_inode_info *pipe, struct pipe_buffer *buf, struct splice_desc *sd) argument
749 splice_from_pipe_feed(struct pipe_inode_info *pipe, struct splice_desc *sd, splice_actor *actor) argument
807 splice_from_pipe_next(struct pipe_inode_info *pipe, struct splice_desc *sd) argument
842 splice_from_pipe_begin(struct splice_desc *sd) argument
858 splice_from_pipe_end(struct pipe_inode_info *pipe, struct splice_desc *sd) argument
877 __splice_from_pipe(struct pipe_inode_info *pipe, struct splice_desc *sd, splice_actor *actor) argument
913 struct splice_desc sd = { local
945 struct splice_desc sd = { local
1066 write_pipe_buf(struct pipe_inode_info *pipe, struct pipe_buffer *buf, struct splice_desc *sd) argument
1170 splice_direct_to_actor(struct file *in, struct splice_desc *sd, splice_direct_actor *actor) argument
1279 direct_splice_actor(struct pipe_inode_info *pipe, struct splice_desc *sd) argument
1307 struct splice_desc sd = { local
1532 pipe_to_user(struct pipe_inode_info *pipe, struct pipe_buffer *buf, struct splice_desc *sd) argument
1547 struct splice_desc sd; local
[all...]
/fs/nfsd/
H A Dvfs.c806 struct splice_desc *sd)
808 struct svc_rqst *rqstp = sd->u.data;
813 size = sd->len;
834 struct splice_desc *sd)
836 return __splice_from_pipe(pipe, sd, nfsd_splice_actor);
854 struct splice_desc sd = { local
863 host_err = splice_direct_to_actor(file, &sd, nfsd_direct_splice_actor);
805 nfsd_splice_actor(struct pipe_inode_info *pipe, struct pipe_buffer *buf, struct splice_desc *sd) argument
833 nfsd_direct_splice_actor(struct pipe_inode_info *pipe, struct splice_desc *sd) argument

Completed in 159 milliseconds