Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 62) sorted by relevance

123

/fs/ncpfs/
Dncplib_kernel.c153 ncp_negotiate_buffersize(struct ncp_server *server, int size, int *target) in ncp_negotiate_buffersize() argument
164 *target = min_t(unsigned int, ncp_reply_be16(server, 0), size); in ncp_negotiate_buffersize()
205 int n, struct ncp_volume_info* target) { in ncp_get_volume_info_with_number() argument
215 target->total_blocks = ncp_reply_dword_lh(server, 0); in ncp_get_volume_info_with_number()
216 target->free_blocks = ncp_reply_dword_lh(server, 4); in ncp_get_volume_info_with_number()
217 target->purgeable_blocks = ncp_reply_dword_lh(server, 8); in ncp_get_volume_info_with_number()
218 target->not_yet_purgeable_blocks = ncp_reply_dword_lh(server, 12); in ncp_get_volume_info_with_number()
219 target->total_dir_entries = ncp_reply_dword_lh(server, 16); in ncp_get_volume_info_with_number()
220 target->available_dir_entries = ncp_reply_dword_lh(server, 20); in ncp_get_volume_info_with_number()
221 target->sectors_per_block = ncp_reply_byte(server, 28); in ncp_get_volume_info_with_number()
[all …]
Dncplib_kernel.h46 struct ncp_volume_info *target);
49 struct ncp_volume_info* target);
66 void ncp_extract_file_info(const void* src, struct nw_info_struct* target);
68 struct nw_info_struct *target);
69 int ncp_obtain_nfs_info(struct ncp_server *server, struct nw_info_struct *target);
87 struct nw_search_sequence *target);
/fs/ocfs2/dlm/
Ddlmthread.c288 struct dlm_lock *lock, *target; in dlm_shuffle_lists() local
311 target = list_entry(res->converting.next, struct dlm_lock, list); in dlm_shuffle_lists()
312 if (target->ml.convert_type == LKM_IVMODE) { in dlm_shuffle_lists()
320 if (lock==target) in dlm_shuffle_lists()
323 target->ml.convert_type)) { in dlm_shuffle_lists()
331 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
333 target->ml.convert_type; in dlm_shuffle_lists()
339 if (lock==target) in dlm_shuffle_lists()
342 target->ml.convert_type)) { in dlm_shuffle_lists()
348 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
[all …]
Ddlmmaster.c127 u8 target);
2399 struct dlm_lock_resource *res, u8 target) in dlm_migrate_lockres() argument
2413 BUG_ON(target == O2NM_MAX_NODES); in dlm_migrate_lockres()
2419 target); in dlm_migrate_lockres()
2443 namelen, target, dlm->node_num); in dlm_migrate_lockres()
2457 if (dlm_mark_lockres_migrating(dlm, res, target) < 0) { in dlm_migrate_lockres()
2460 res->lockname.name, target); in dlm_migrate_lockres()
2511 ret = dlm_send_one_lockres(dlm, res, mres, target, in dlm_migrate_lockres()
2516 target, ret); in dlm_migrate_lockres()
2526 dlm_wait_for_node_death(dlm, target, in dlm_migrate_lockres()
[all …]
/fs/xfs/
Dxfs_buf.h170 struct xfs_buf *_xfs_buf_find(struct xfs_buftarg *target,
176 struct xfs_buftarg *target, in xfs_incore() argument
182 return _xfs_buf_find(target, &map, 1, flags, NULL); in xfs_incore()
185 struct xfs_buf *_xfs_buf_alloc(struct xfs_buftarg *target,
191 struct xfs_buftarg *target, in xfs_buf_alloc() argument
197 return _xfs_buf_alloc(target, &map, 1, flags); in xfs_buf_alloc()
200 struct xfs_buf *xfs_buf_get_map(struct xfs_buftarg *target,
203 struct xfs_buf *xfs_buf_read_map(struct xfs_buftarg *target,
207 void xfs_buf_readahead_map(struct xfs_buftarg *target,
213 struct xfs_buftarg *target, in xfs_buf_get() argument
[all …]
Dxfs_trans_buf.c43 struct xfs_buftarg *target, in xfs_trans_buf_item_match() argument
58 blip->bli_buf->b_target == target && in xfs_trans_buf_item_match()
140 struct xfs_buftarg *target, in xfs_trans_get_buf_map() argument
149 return xfs_buf_get_map(target, map, nmaps, flags); in xfs_trans_get_buf_map()
157 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); in xfs_trans_get_buf_map()
174 bp = xfs_buf_get_map(target, map, nmaps, flags); in xfs_trans_get_buf_map()
256 struct xfs_buftarg *target, in xfs_trans_read_buf_map() argument
269 bp = xfs_buf_read_map(target, map, nmaps, flags, ops); in xfs_trans_read_buf_map()
284 if (xfs_error_target == target) { in xfs_trans_read_buf_map()
307 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); in xfs_trans_read_buf_map()
[all …]
Dxfs_buf.c204 struct xfs_buftarg *target, in _xfs_buf_alloc() argument
231 bp->b_target = target; in _xfs_buf_alloc()
608 struct xfs_buftarg *target, in xfs_buf_get_map() argument
617 bp = _xfs_buf_find(target, map, nmaps, flags, NULL); in xfs_buf_get_map()
621 new_bp = _xfs_buf_alloc(target, map, nmaps, flags); in xfs_buf_get_map()
631 bp = _xfs_buf_find(target, map, nmaps, flags, new_bp); in xfs_buf_get_map()
644 xfs_warn(target->bt_mount, in xfs_buf_get_map()
675 struct xfs_buftarg *target, in xfs_buf_read_map() argument
685 bp = xfs_buf_get_map(target, map, nmaps, flags); in xfs_buf_read_map()
715 struct xfs_buftarg *target, in xfs_buf_readahead_map() argument
[all …]
Dxfs_trans.h457 struct xfs_buftarg *target,
464 struct xfs_buftarg *target, in xfs_trans_get_buf() argument
470 return xfs_trans_get_buf_map(tp, target, &map, 1, flags); in xfs_trans_get_buf()
475 struct xfs_buftarg *target,
485 struct xfs_buftarg *target, in xfs_trans_read_buf() argument
493 return xfs_trans_read_buf_map(mp, tp, target, &map, 1, in xfs_trans_read_buf()
Dxfs_trans_ail.c351 xfs_lsn_t target; in xfsaild_push() local
375 target = ailp->xa_target; in xfsaild_push()
376 ailp->xa_target_prev = target; in xfsaild_push()
392 while ((XFS_LSN_CMP(lip->li_lsn, target) <= 0)) { in xfsaild_push()
475 if (!count || XFS_LSN_CMP(lsn, target) >= 0) { in xfsaild_push()
Dxfs_file.c258 xfs_buftarg_t *target = in xfs_file_aio_read() local
261 if ((pos & target->bt_smask) || (size & target->bt_smask)) { in xfs_file_aio_read()
638 struct xfs_buftarg *target = XFS_IS_REALTIME_INODE(ip) ? in xfs_file_dio_aio_write() local
641 if ((pos & target->bt_smask) || (count & target->bt_smask)) in xfs_file_dio_aio_write()
/fs/cifs/
Dcifs_unicode.c76 cifs_mapchar(char *target, const __u16 src_char, const struct nls_table *cp, in cifs_mapchar() argument
91 *target = ':'; in cifs_mapchar()
94 *target = '*'; in cifs_mapchar()
97 *target = '?'; in cifs_mapchar()
100 *target = '|'; in cifs_mapchar()
103 *target = '>'; in cifs_mapchar()
106 *target = '<'; in cifs_mapchar()
116 len = cp->uni2char(src_char, target, NLS_MAX_CHARSET_SIZE); in cifs_mapchar()
118 *target = '?'; in cifs_mapchar()
290 cifsConvertToUTF16(__le16 *target, const char *source, int srclen, in cifsConvertToUTF16() argument
[all …]
/fs/sysfs/
Dsymlink.c25 struct kobject *target, in sysfs_do_create_link_sd() argument
40 if (target->sd) in sysfs_do_create_link_sd()
41 target_sd = sysfs_get(target->sd); in sysfs_do_create_link_sd()
55 sd->s_ns = target->ktype->namespace(target); in sysfs_do_create_link_sd()
95 int sysfs_create_link_sd(struct sysfs_dirent *sd, struct kobject *target, in sysfs_create_link_sd() argument
98 return sysfs_do_create_link_sd(sd, target, name, 1); in sysfs_create_link_sd()
101 static int sysfs_do_create_link(struct kobject *kobj, struct kobject *target, in sysfs_do_create_link() argument
114 return sysfs_do_create_link_sd(parent_sd, target, name, warn); in sysfs_do_create_link()
123 int sysfs_create_link(struct kobject *kobj, struct kobject *target, in sysfs_create_link() argument
126 return sysfs_do_create_link(kobj, target, name, 1); in sysfs_create_link()
[all …]
Dgroup.c216 struct kobject *target, const char *link_name) in sysfs_add_link_to_group() argument
225 error = sysfs_create_link_sd(dir_sd, target, link_name); in sysfs_add_link_to_group()
/fs/
Ddcache.c2149 static void switch_names(struct dentry *dentry, struct dentry *target) in switch_names() argument
2151 if (dname_external(target)) { in switch_names()
2156 swap(target->d_name.name, dentry->d_name.name); in switch_names()
2162 memcpy(target->d_iname, dentry->d_name.name, in switch_names()
2164 dentry->d_name.name = target->d_name.name; in switch_names()
2165 target->d_name.name = target->d_iname; in switch_names()
2173 memcpy(dentry->d_iname, target->d_name.name, in switch_names()
2174 target->d_name.len + 1); in switch_names()
2175 target->d_name.name = dentry->d_name.name; in switch_names()
2181 memcpy(dentry->d_iname, target->d_name.name, in switch_names()
[all …]
/fs/jffs2/
Ddir.c76 static struct dentry *jffs2_lookup(struct inode *dir_i, struct dentry *target, in jffs2_lookup() argument
86 if (target->d_name.len > JFFS2_MAX_NAME_LEN) in jffs2_lookup()
94 …for (fd_list = dir_f->dents; fd_list && fd_list->nhash <= target->d_name.hash; fd_list = fd_list->… in jffs2_lookup()
95 if (fd_list->nhash == target->d_name.hash && in jffs2_lookup()
97 strlen(fd_list->name) == target->d_name.len && in jffs2_lookup()
98 !strncmp(fd_list->name, target->d_name.name, target->d_name.len)) { in jffs2_lookup()
111 return d_splice_alias(inode, target); in jffs2_lookup()
297 static int jffs2_symlink (struct inode *dir_i, struct dentry *dentry, const char *target) in jffs2_symlink() argument
308 int ret, targetlen = strlen(target); in jffs2_symlink()
352 ri->data_crc = cpu_to_je32(crc32(0, target, targetlen)); in jffs2_symlink()
[all …]
Dsymlink.c36 char *p = (char *)f->target; in jffs2_follow_link()
56 __func__, (char *)f->target); in jffs2_follow_link()
Dreadinode.c1278 f->target = kmalloc(csize + 1, GFP_KERNEL); in jffs2_do_read_inode_internal()
1279 if (!f->target) { in jffs2_do_read_inode_internal()
1287 csize, &retlen, (char *)f->target); in jffs2_do_read_inode_internal()
1292 kfree(f->target); in jffs2_do_read_inode_internal()
1293 f->target = NULL; in jffs2_do_read_inode_internal()
1299 f->target[csize] = '\0'; in jffs2_do_read_inode_internal()
1300 dbg_readinode("symlink's target '%s' cached\n", f->target); in jffs2_do_read_inode_internal()
1452 if (f->target) { in jffs2_do_clear_inode()
1453 kfree(f->target); in jffs2_do_clear_inode()
1454 f->target = NULL; in jffs2_do_clear_inode()
Djffs2_fs_i.h46 unsigned char *target; member
/fs/configfs/
Dsymlink.c113 struct config_item **target, struct super_block *sb) in get_target() argument
120 *target = configfs_get_config_item(path->dentry); in get_target()
121 if (!*target) { in get_target()
235 static int configfs_get_target_path(struct config_item * item, struct config_item * target, in configfs_get_target_path() argument
242 size = item_path_length(target) + depth * 3 - 1; in configfs_get_target_path()
251 fill_item_path(target, path, size); in configfs_get_target_path()
Ddir.c1038 struct config_item *target) in configfs_depend_prep() argument
1046 if (sd->s_element == target) /* Boo-yah */ in configfs_depend_prep()
1054 target); in configfs_depend_prep()
1068 struct config_item *target) in configfs_depend_item() argument
1110 ret = configfs_depend_prep(subsys_sd->s_dentry, target); in configfs_depend_item()
1118 p = target->ci_dentry->d_fsdata; in configfs_depend_item()
1142 struct config_item *target) in configfs_undepend_item() argument
1152 sd = target->ci_dentry->d_fsdata; in configfs_undepend_item()
/fs/squashfs/
Dxattr.c128 char *target = kmalloc(name_len, GFP_KERNEL); in squashfs_xattr_get() local
130 if (target == NULL) in squashfs_xattr_get()
149 err = squashfs_read_metadata(sb, target, &start, in squashfs_xattr_get()
158 strncmp(target, name, name_size) == 0) { in squashfs_xattr_get()
210 kfree(target); in squashfs_xattr_get()
/fs/nfs/
Dclient.c922 void nfs_server_copy_userdata(struct nfs_server *target, struct nfs_server *source) in nfs_server_copy_userdata() argument
924 target->flags = source->flags; in nfs_server_copy_userdata()
925 target->rsize = source->rsize; in nfs_server_copy_userdata()
926 target->wsize = source->wsize; in nfs_server_copy_userdata()
927 target->acregmin = source->acregmin; in nfs_server_copy_userdata()
928 target->acregmax = source->acregmax; in nfs_server_copy_userdata()
929 target->acdirmin = source->acdirmin; in nfs_server_copy_userdata()
930 target->acdirmax = source->acdirmax; in nfs_server_copy_userdata()
931 target->caps = source->caps; in nfs_server_copy_userdata()
932 target->options = source->options; in nfs_server_copy_userdata()
/fs/logfs/
Dgc.c456 static void __logfs_gc_pass(struct super_block *sb, int target) in __logfs_gc_pass() argument
470 if (no_free_segments(sb) >= target && in __logfs_gc_pass()
474 log_gc("__logfs_gc_pass(%x)\n", target); in __logfs_gc_pass()
476 if (no_free_segments(sb) >= target) in __logfs_gc_pass()
483 if (no_free_segments(sb) >= target) in __logfs_gc_pass()
/fs/nfsd/
Dnfssvc.c351 unsigned long long target; in nfsd_get_default_max_blksize() local
355 target = (i.totalram - i.totalhigh) << PAGE_SHIFT; in nfsd_get_default_max_blksize()
361 target >>= 12; in nfsd_get_default_max_blksize()
364 while (ret > target && ret >= 8*1024*2) in nfsd_get_default_max_blksize()
/fs/nilfs2/
Dalloc.c343 unsigned long target, in nilfs_palloc_find_available_slot() argument
349 if (target > 0) { in nilfs_palloc_find_available_slot()
350 end = (target + BITS_PER_LONG - 1) & ~(BITS_PER_LONG - 1); in nilfs_palloc_find_available_slot()
353 pos = nilfs_find_next_zero_bit(bitmap, end, target); in nilfs_palloc_find_available_slot()

123