Lines Matching refs:p
61 char *buf, *p; in nfs4_pathname_string() local
69 p = buf = kmalloc(len + 1, GFP_KERNEL); in nfs4_pathname_string()
76 *p++ = '/'; in nfs4_pathname_string()
77 memcpy(p, component->data, component->len); in nfs4_pathname_string()
78 p += component->len; in nfs4_pathname_string()
81 *p = 0; in nfs4_pathname_string()
93 char *p; in nfs_path_component() local
97 p = strchr(nfspath, ']'); in nfs_path_component()
98 if (p != NULL && ++p < end && *p == ':') in nfs_path_component()
99 return p + 1; in nfs_path_component()
102 p = strchr(nfspath, ':'); in nfs_path_component()
103 if (p != NULL && p < end) in nfs_path_component()
104 return p + 1; in nfs_path_component()
293 char *export_path, *source, *p; in try_location() local
346 p = source; in try_location()
347 memcpy(p, buf->data, buf->len); in try_location()
348 p += buf->len; in try_location()
349 *p++ = ':'; in try_location()
350 memcpy(p, ctx->nfs_server.export_path, ctx->nfs_server.export_path_len); in try_location()
351 p += ctx->nfs_server.export_path_len; in try_location()
352 *p = 0; in try_location()