Searched refs:last_name (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/fs/dlm/
H A Drcom.h18 int dlm_rcom_names(struct dlm_ls *ls, int nodeid, char *last_name,int last_len);
H A Ddir.c66 char *b, *last_name = NULL; dlm_recover_directory() local
76 last_name = kmalloc(DLM_RESNAME_MAXLEN, GFP_NOFS); dlm_recover_directory()
77 if (!last_name) dlm_recover_directory()
84 memset(last_name, 0, DLM_RESNAME_MAXLEN); dlm_recover_directory()
94 last_name, last_len); dlm_recover_directory()
178 memcpy(last_name, b, namelen); dlm_recover_directory()
195 kfree(last_name); dlm_recover_directory()
H A Drcom.c271 int dlm_rcom_names(struct dlm_ls *ls, int nodeid, char *last_name, int last_len) dlm_rcom_names() argument
282 memcpy(rc->rc_buf, last_name, last_len); dlm_rcom_names()
/linux-4.1.27/fs/ceph/
H A Ddir.c233 kfree(fi->last_name); note_last_dentry()
234 fi->last_name = kmalloc(len+1, GFP_NOFS); note_last_dentry()
235 if (!fi->last_name) note_last_dentry()
237 memcpy(fi->last_name, name, len); note_last_dentry()
238 fi->last_name[len] = 0; note_last_dentry()
239 dout("note_last_dentry '%s'\n", fi->last_name); note_last_dentry()
331 ceph_vinop(inode), frag, fi->last_name); ceph_readdir()
344 if (fi->last_name) { ceph_readdir()
345 req->r_path2 = kstrdup(fi->last_name, GFP_NOFS); ceph_readdir()
388 kfree(fi->last_name); ceph_readdir()
389 fi->last_name = NULL; ceph_readdir()
435 if (fi->last_name) { ceph_readdir()
477 kfree(fi->last_name); reset_readdir()
478 fi->last_name = NULL; reset_readdir()
H A Dsuper.h607 unsigned next_offset; /* offset of next chunk (last_name's + 1) */
608 char *last_name; /* last entry in previous chunk */ member in struct:ceph_file_info
H A Dfile.c325 kfree(cf->last_name); ceph_release()
/linux-4.1.27/security/tomoyo/
H A Ddomain.c280 * @last_name: The last component of @domainname.
289 const struct tomoyo_path_info *program, const char *last_name, tomoyo_scan_transition()
305 if (strcmp(ptr->domainname->name, last_name)) list_for_each_entry_rcu()
336 const char *last_name = tomoyo_last_word(domainname->name); tomoyo_transition_type() local
342 last_name, type)) { tomoyo_transition_type()
287 tomoyo_scan_transition(const struct list_head *list, const struct tomoyo_path_info *domainname, const struct tomoyo_path_info *program, const char *last_name, const enum tomoyo_transition_type type) tomoyo_scan_transition() argument

Completed in 222 milliseconds