Searched refs:symlen (Results 1 - 6 of 6) sorted by relevance
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
H A D | symlink.c | 50 int rc, symlen = i_size_read(inode) + 1; ll_readlink_internal() local 57 int print_limit = min_t(int, PAGE_SIZE - 128, symlen); ll_readlink_internal() 64 print_limit < symlen ? "..." : "", print_limit, ll_readlink_internal() 65 (*symname) + symlen - print_limit, symlen); ll_readlink_internal() 69 op_data = ll_prep_md_op_data(NULL, inode, NULL, NULL, 0, symlen, ll_readlink_internal() 91 LASSERT(symlen != 0); ll_readlink_internal() 92 if (body->eadatasize != symlen) { ll_readlink_internal() 94 inode->i_ino, body->eadatasize - 1, symlen - 1); ll_readlink_internal() 101 strnlen(*symname, symlen) != symlen - 1) { ll_readlink_internal() 104 inode->i_ino, symlen - 1); ll_readlink_internal() 109 lli->lli_symlink_name = kzalloc(symlen, GFP_NOFS); ll_readlink_internal() 112 memcpy(lli->lli_symlink_name, *symname, symlen); ll_readlink_internal()
|
/linux-4.4.14/tools/perf/util/ |
H A D | hist.c | 61 int symlen; hists__calc_col_len() local 70 symlen = h->ms.sym->namelen + 4; hists__calc_col_len() 72 symlen += BITS_PER_LONG / 4 + 2 + 3; hists__calc_col_len() 73 hists__new_col_len(hists, HISTC_SYMBOL, symlen); hists__calc_col_len() 75 symlen = unresolved_col_width + 4 + 2; hists__calc_col_len() 76 hists__new_col_len(hists, HISTC_SYMBOL, symlen); hists__calc_col_len() 94 symlen = (int)h->branch_info->from.sym->namelen + 4; hists__calc_col_len() 96 symlen += BITS_PER_LONG / 4 + 2 + 3; hists__calc_col_len() 97 hists__new_col_len(hists, HISTC_SYMBOL_FROM, symlen); hists__calc_col_len() 99 symlen = dso__name_len(h->branch_info->from.map->dso); hists__calc_col_len() 100 hists__new_col_len(hists, HISTC_DSO_FROM, symlen); hists__calc_col_len() 102 symlen = unresolved_col_width + 4 + 2; hists__calc_col_len() 103 hists__new_col_len(hists, HISTC_SYMBOL_FROM, symlen); hists__calc_col_len() 108 symlen = (int)h->branch_info->to.sym->namelen + 4; hists__calc_col_len() 110 symlen += BITS_PER_LONG / 4 + 2 + 3; hists__calc_col_len() 111 hists__new_col_len(hists, HISTC_SYMBOL_TO, symlen); hists__calc_col_len() 113 symlen = dso__name_len(h->branch_info->to.map->dso); hists__calc_col_len() 114 hists__new_col_len(hists, HISTC_DSO_TO, symlen); hists__calc_col_len() 116 symlen = unresolved_col_width + 4 + 2; hists__calc_col_len() 117 hists__new_col_len(hists, HISTC_SYMBOL_TO, symlen); hists__calc_col_len() 124 symlen = (int)h->mem_info->daddr.sym->namelen + 4 hists__calc_col_len() 127 symlen); hists__calc_col_len() 129 symlen + 1); hists__calc_col_len() 131 symlen = unresolved_col_width + 4 + 2; hists__calc_col_len() 133 symlen); hists__calc_col_len() 137 symlen = (int)h->mem_info->iaddr.sym->namelen + 4 hists__calc_col_len() 140 symlen); hists__calc_col_len() 142 symlen = unresolved_col_width + 4 + 2; hists__calc_col_len() 144 symlen); hists__calc_col_len() 148 symlen = dso__name_len(h->mem_info->daddr.map->dso); hists__calc_col_len() 150 symlen); hists__calc_col_len() 152 symlen = unresolved_col_width + 4 + 2; hists__calc_col_len() 156 symlen = unresolved_col_width + 4 + 2; hists__calc_col_len() 157 hists__new_col_len(hists, HISTC_MEM_DADDR_SYMBOL, symlen); hists__calc_col_len() 158 hists__new_col_len(hists, HISTC_MEM_IADDR_SYMBOL, symlen); hists__calc_col_len()
|
/linux-4.4.14/include/linux/ |
H A D | coda_psdev.h | 59 const char *name, int len, const char *symname, int symlen);
|
/linux-4.4.14/fs/coda/ |
H A D | dir.c | 232 int symlen; coda_symlink() local 238 symlen = strlen(symname); coda_symlink() 239 if (symlen > CODA_MAXPATHLEN) coda_symlink() 248 symname, symlen); coda_symlink()
|
H A D | upcall.c | 406 const char *symname, int symlen) venus_symlink() 414 insize = max_t(unsigned int, offset + len + symlen + 8, OUTSIZE(symlink)); venus_symlink() 422 s = ( symlen & ~0x3 ) + 4; venus_symlink() 423 memcpy((char *)(inp) + offset, symname, symlen); venus_symlink() 424 *((char *)inp + offset + symlen) = '\0'; venus_symlink() 404 venus_symlink(struct super_block *sb, struct CodaFid *fid, const char *name, int len, const char *symname, int symlen) venus_symlink() argument
|
/linux-4.4.14/fs/ceph/ |
H A D | inode.c | 805 u32 symlen = iinfo->symlink_len; fill_inode() local 811 if (WARN_ON(symlen != inode->i_size)) fill_inode() 815 sym = kstrndup(iinfo->symlink, symlen, GFP_NOFS); fill_inode()
|
Completed in 226 milliseconds