• Home
  • Raw
  • Download

Lines Matching refs:name

110 static int afs_dir_scan_block(union afs_xdr_dir_block *block, struct qstr *name,  in afs_dir_scan_block()  argument
138 len = strlen(de->u.name); in afs_dir_scan_block()
139 if (len == name->len && in afs_dir_scan_block()
140 memcmp(de->u.name, name->name, name->len) == 0) in afs_dir_scan_block()
187 struct qstr *name, struct afs_fid *new_fid, in afs_edit_dir_add() argument
200 _enter(",,{%d,%s},", name->len, name->name); in afs_edit_dir_add()
218 need_slots = round_up(12 + name->len + 1 + 4, AFS_DIR_DIRENT_SIZE); in afs_edit_dir_add()
295 trace_afs_edit_dir(vnode, why, afs_edit_dir_create_nospc, 0, 0, 0, 0, name->name); in afs_edit_dir_add()
312 new_fid->vnode, new_fid->unique, name->name); in afs_edit_dir_add()
319 memcpy(de->u.name, name->name, name->len + 1); in afs_edit_dir_add()
320 de->u.name[name->len] = 0; in afs_edit_dir_add()
336 _debug("Insert %s in %u[%u]", name->name, b, slot); in afs_edit_dir_add()
346 trace_afs_edit_dir(vnode, why, afs_edit_dir_create_inval, 0, 0, 0, 0, name->name); in afs_edit_dir_add()
355 trace_afs_edit_dir(vnode, why, afs_edit_dir_create_error, 0, 0, 0, 0, name->name); in afs_edit_dir_add()
368 struct qstr *name, enum afs_edit_dir_reason why) in afs_edit_dir_remove() argument
379 _enter(",,{%d,%s},", name->len, name->name); in afs_edit_dir_remove()
398 need_slots = round_up(12 + name->len + 1 + 4, AFS_DIR_DIRENT_SIZE); in afs_edit_dir_remove()
427 slot = afs_dir_scan_block(block, name, b); in afs_edit_dir_remove()
441 0, 0, 0, 0, name->name); in afs_edit_dir_remove()
450 name->name); in afs_edit_dir_remove()
468 _debug("Remove %s from %u[%u]", name->name, b, slot); in afs_edit_dir_remove()
479 0, 0, 0, 0, name->name); in afs_edit_dir_remove()
490 0, 0, 0, 0, name->name); in afs_edit_dir_remove()