Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 53) 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.h48 struct ncp_volume_info *target);
51 struct ncp_volume_info* target);
68 void ncp_extract_file_info(void* src, struct nw_info_struct* target);
70 struct nw_info_struct *target);
71 int ncp_obtain_nfs_info(struct ncp_server *server, struct nw_info_struct *target);
88 struct nw_search_sequence *target);
/fs/ocfs2/dlm/
Ddlmthread.c280 struct dlm_lock *lock, *target; in dlm_shuffle_lists() local
305 target = list_entry(res->converting.next, struct dlm_lock, list); in dlm_shuffle_lists()
306 if (target->ml.convert_type == LKM_IVMODE) { in dlm_shuffle_lists()
314 if (lock==target) in dlm_shuffle_lists()
317 target->ml.convert_type)) { in dlm_shuffle_lists()
325 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
327 target->ml.convert_type; in dlm_shuffle_lists()
333 if (lock==target) in dlm_shuffle_lists()
336 target->ml.convert_type)) { in dlm_shuffle_lists()
342 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
[all …]
Ddlmmaster.c137 u8 target);
2427 u8 target) in dlm_migrate_lockres() argument
2445 mlog(0, "migrating %.*s to %u\n", namelen, name, target); in dlm_migrate_lockres()
2491 if (!test_bit(target, dlm->domain_map) || in dlm_migrate_lockres()
2492 target >= O2NM_MAX_NODES) { in dlm_migrate_lockres()
2493 target = dlm_pick_migration_target(dlm, res); in dlm_migrate_lockres()
2495 mlog(0, "node %u chosen for migration\n", target); in dlm_migrate_lockres()
2497 if (target >= O2NM_MAX_NODES || in dlm_migrate_lockres()
2498 !test_bit(target, dlm->domain_map)) { in dlm_migrate_lockres()
2508 mlog(0, "continuing with target = %u\n", target); in dlm_migrate_lockres()
[all …]
/fs/afs/
Dcache.c13 static cachefs_match_val_t afs_cell_cache_match(void *target,
30 static cachefs_match_val_t afs_cell_cache_match(void *target, in afs_cell_cache_match() argument
34 struct afs_cell *cell = target; in afs_cell_cache_match()
69 static cachefs_match_val_t afs_vlocation_cache_match(void *target,
87 static cachefs_match_val_t afs_vlocation_cache_match(void *target, in afs_vlocation_cache_match() argument
91 struct afs_vlocation *vlocation = target; in afs_vlocation_cache_match()
142 static cachefs_match_val_t afs_volume_cache_match(void *target,
160 static cachefs_match_val_t afs_volume_cache_match(void *target, in afs_volume_cache_match() argument
164 struct afs_volume *volume = target; in afs_volume_cache_match()
194 static cachefs_match_val_t afs_vnode_cache_match(void *target,
[all …]
/fs/cifs/
Dmisc.c654 cifs_convertUCSpath(char *target, const __le16 *source, int maxlen, in cifs_convertUCSpath() argument
666 target[j] = ':'; in cifs_convertUCSpath()
669 target[j] = '*'; in cifs_convertUCSpath()
672 target[j] = '?'; in cifs_convertUCSpath()
681 target[j] = '|'; in cifs_convertUCSpath()
684 target[j] = '>'; in cifs_convertUCSpath()
687 target[j] = '<'; in cifs_convertUCSpath()
690 len = cp->uni2char(src_char, &target[j], in cifs_convertUCSpath()
696 target[j] = '?'; in cifs_convertUCSpath()
705 target[j] = 0; in cifs_convertUCSpath()
[all …]
/fs/sysfs/
Dsymlink.c22 static int sysfs_do_create_link(struct kobject *kobj, struct kobject *target, in sysfs_do_create_link() argument
46 if (target->sd) in sysfs_do_create_link()
47 target_sd = sysfs_get(target->sd); in sysfs_do_create_link()
86 int sysfs_create_link(struct kobject *kobj, struct kobject *target, in sysfs_create_link() argument
89 return sysfs_do_create_link(kobj, target, name, 1); in sysfs_create_link()
101 int sysfs_create_link_nowarn(struct kobject *kobj, struct kobject *target, in sysfs_create_link_nowarn() argument
104 return sysfs_do_create_link(kobj, target, name, 0); in sysfs_create_link_nowarn()
/fs/xfs/linux-2.6/
Dxfs_buf.h191 #define xfs_buf_get(target, blkno, len, flags) \ argument
192 xfs_buf_get_flags((target), (blkno), (len), XBF_LOCK | XBF_MAPPED)
196 #define xfs_buf_read(target, blkno, len, flags) \ argument
197 xfs_buf_read_flags((target), (blkno), (len), XBF_LOCK | XBF_MAPPED)
258 #define xfs_buf_target_name(target) \ argument
259 ({ char __b[BDEVNAME_SIZE]; bdevname((target)->bt_bdev, __b); __b; })
360 #define XFS_BUF_SET_TARGET(bp, target) ((bp)->b_target = (target)) argument
362 #define XFS_BUFTARG_NAME(target) xfs_buf_target_name(target) argument
408 #define xfs_baread(target, rablkno, ralen) \ argument
409 xfs_buf_readahead((target), (rablkno), (ralen), XBF_DONT_BLOCK)
Dxfs_buf.c250 xfs_buftarg_t *target, in _xfs_buf_initialize() argument
267 bp->b_target = target; in _xfs_buf_initialize()
281 XB_TRACE(bp, "initialize", target); in _xfs_buf_initialize()
585 xfs_buftarg_t *target,/* target for buffer */ in xfs_buf_get_flags() argument
597 bp = _xfs_buf_find(target, ioff, isize, flags, new_bp); in xfs_buf_get_flags()
664 xfs_buftarg_t *target, in xfs_buf_read_flags() argument
673 bp = xfs_buf_get_flags(target, ioff, isize, flags); in xfs_buf_read_flags()
708 xfs_buftarg_t *target, in xfs_buf_readahead() argument
715 bdi = target->bt_mapping->backing_dev_info; in xfs_buf_readahead()
720 xfs_buf_read_flags(target, ioff, isize, flags); in xfs_buf_readahead()
[all …]
Dxfs_lrw.c203 xfs_buftarg_t *target = in xfs_read() local
206 if ((*offset & target->bt_smask) || in xfs_read()
207 (size & target->bt_smask)) { in xfs_read()
647 xfs_buftarg_t *target = in xfs_write() local
651 if ((pos & target->bt_smask) || (count & target->bt_smask)) { in xfs_write()
/fs/
Ddcache.c1581 static void switch_names(struct dentry *dentry, struct dentry *target) in switch_names() argument
1583 if (dname_external(target)) { in switch_names()
1588 swap(target->d_name.name, dentry->d_name.name); in switch_names()
1594 memcpy(target->d_iname, dentry->d_name.name, in switch_names()
1596 dentry->d_name.name = target->d_name.name; in switch_names()
1597 target->d_name.name = target->d_iname; in switch_names()
1605 memcpy(dentry->d_iname, target->d_name.name, in switch_names()
1606 target->d_name.len + 1); in switch_names()
1607 target->d_name.name = dentry->d_name.name; in switch_names()
1613 memcpy(dentry->d_iname, target->d_name.name, in switch_names()
[all …]
Dnamei.c2516 struct inode *target; in vfs_rename_dir() local
2532 target = new_dentry->d_inode; in vfs_rename_dir()
2533 if (target) { in vfs_rename_dir()
2534 mutex_lock(&target->i_mutex); in vfs_rename_dir()
2541 if (target) { in vfs_rename_dir()
2543 target->i_flags |= S_DEAD; in vfs_rename_dir()
2544 mutex_unlock(&target->i_mutex); in vfs_rename_dir()
2558 struct inode *target; in vfs_rename_other() local
2566 target = new_dentry->d_inode; in vfs_rename_other()
2567 if (target) in vfs_rename_other()
[all …]
/fs/jffs2/
Ddir.c73 static struct dentry *jffs2_lookup(struct inode *dir_i, struct dentry *target, in jffs2_lookup() argument
84 if (target->d_name.len > JFFS2_MAX_NAME_LEN) in jffs2_lookup()
93 …for (fd_list = dir_f->dents; fd_list && fd_list->nhash <= target->d_name.hash; fd_list = fd_list->… in jffs2_lookup()
94 if (fd_list->nhash == target->d_name.hash && in jffs2_lookup()
96 strlen(fd_list->name) == target->d_name.len && in jffs2_lookup()
97 !strncmp(fd_list->name, target->d_name.name, target->d_name.len)) { in jffs2_lookup()
112 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.c35 char *p = (char *)f->target; in jffs2_follow_link()
54 D1(printk(KERN_DEBUG "jffs2_follow_link(): target path is '%s'\n", (char *) f->target)); in jffs2_follow_link()
Dreadinode.c1269 f->target = kmalloc(je32_to_cpu(latest_node->csize) + 1, GFP_KERNEL); in jffs2_do_read_inode_internal()
1270 if (!f->target) { in jffs2_do_read_inode_internal()
1278 je32_to_cpu(latest_node->csize), &retlen, (char *)f->target); in jffs2_do_read_inode_internal()
1283 kfree(f->target); in jffs2_do_read_inode_internal()
1284 f->target = NULL; in jffs2_do_read_inode_internal()
1290 f->target[je32_to_cpu(latest_node->csize)] = '\0'; in jffs2_do_read_inode_internal()
1291 dbg_readinode("symlink's target '%s' cached\n", f->target); in jffs2_do_read_inode_internal()
1443 if (f->target) { in jffs2_do_clear_inode()
1444 kfree(f->target); in jffs2_do_clear_inode()
1445 f->target = NULL; in jffs2_do_clear_inode()
Djffs2_fs_i.h45 unsigned char *target; member
/fs/configfs/
Dsymlink.c112 struct config_item **target) in get_target() argument
119 *target = configfs_get_config_item(path->dentry); in get_target()
120 if (!*target) { in get_target()
238 static int configfs_get_target_path(struct config_item * item, struct config_item * target, in configfs_get_target_path() argument
245 size = item_path_length(target) + depth * 3 - 1; in configfs_get_target_path()
254 fill_item_path(target, path, size); in configfs_get_target_path()
Ddir.c951 struct config_item *target) in configfs_depend_prep() argument
960 if (sd->s_element == target) /* Boo-yah */ in configfs_depend_prep()
966 target); in configfs_depend_prep()
1001 struct config_item *target) in configfs_depend_item() argument
1041 ret = configfs_depend_prep(subsys_sd->s_dentry, target); in configfs_depend_item()
1046 p = target->ci_dentry->d_fsdata; in configfs_depend_item()
1049 configfs_depend_rollback(subsys_sd->s_dentry, target); in configfs_depend_item()
1070 struct config_item *target) in configfs_undepend_item() argument
1078 mutex_lock(&target->ci_dentry->d_inode->i_mutex); in configfs_undepend_item()
1080 sd = target->ci_dentry->d_fsdata; in configfs_undepend_item()
[all …]
/fs/xfs/
Dxfs_trans_buf.c288 xfs_buftarg_t *target, in xfs_trans_read_buf() argument
305 bp = xfs_buf_read_flags(target, blkno, len, flags | BUF_BUSY); in xfs_trans_read_buf()
319 if (xfs_error_target == target) { in xfs_trans_read_buf()
343 bp = xfs_trans_buf_item_match(tp, target, blkno, len); in xfs_trans_read_buf()
345 bp = xfs_trans_buf_item_match_all(tp, target, blkno, len); in xfs_trans_read_buf()
401 bp = xfs_buf_read_flags(target, blkno, len, flags | BUF_BUSY); in xfs_trans_read_buf()
420 if (xfs_error_target == target) { in xfs_trans_read_buf()
1010 xfs_buftarg_t *target, in xfs_trans_buf_item_match() argument
1039 if ((XFS_BUF_TARGET(bp) == target) && in xfs_trans_buf_item_match()
1063 xfs_buftarg_t *target, in xfs_trans_buf_item_match_all() argument
[all …]
Dxfs_rw.c356 xfs_buftarg_t *target, in xfs_read_buf() argument
366 bp = xfs_buf_read_flags(target, blkno, len, flags); in xfs_read_buf()
368 bp = xfs_buf_read(target, blkno, len, flags); in xfs_read_buf()
Dxfs_trans_ail.c249 xfs_lsn_t target = ailp->xa_target; in xfsaild_push() local
285 while ((XFS_LSN_CMP(lip->li_lsn, target) < 0)) { in xfsaild_push()
380 } else if (XFS_LSN_CMP(lsn, target) >= 0) { in xfsaild_push()
/fs/ocfs2/
Ddcache.h60 void ocfs2_dentry_move(struct dentry *dentry, struct dentry *target,
Ddcache.c431 void ocfs2_dentry_move(struct dentry *dentry, struct dentry *target, in ocfs2_dentry_move() argument
455 d_move(dentry, target); in ocfs2_dentry_move()
/fs/nfs/
Dclient.c922 static 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->acregmin = source->acregmin; in nfs_server_copy_userdata()
926 target->acregmax = source->acregmax; in nfs_server_copy_userdata()
927 target->acdirmin = source->acdirmin; in nfs_server_copy_userdata()
928 target->acdirmax = source->acdirmax; in nfs_server_copy_userdata()
929 target->caps = source->caps; in nfs_server_copy_userdata()
/fs/jfs/
Djfs_logmgr.c1541 struct tblock *target = NULL; in jfs_flush_journal() local
1556 target = list_entry(log->cqueue.prev, struct tblock, cqueue); in jfs_flush_journal()
1566 log->flush_tblk = target; in jfs_flush_journal()
1569 log->flush_tblk = target; in jfs_flush_journal()
1587 if (wait && target && !(target->flag & tblkGC_COMMITTED)) { in jfs_flush_journal()
1590 add_wait_queue(&target->gcwait, &__wait); in jfs_flush_journal()
1596 remove_wait_queue(&target->gcwait, &__wait); in jfs_flush_journal()

123