Lines Matching refs:off
148 int off, noff; in cifs_compose_mount_options() local
188 off = 0; in cifs_compose_mount_options()
192 off += 5; in cifs_compose_mount_options()
196 tkn_e = strchr(sb_mountdata + off, sep); in cifs_compose_mount_options()
198 noff = strlen(sb_mountdata + off); in cifs_compose_mount_options()
200 noff = tkn_e - (sb_mountdata + off) + 1; in cifs_compose_mount_options()
202 if (strncasecmp(sb_mountdata + off, "unc=", 4) == 0) { in cifs_compose_mount_options()
203 off += noff; in cifs_compose_mount_options()
206 if (strncasecmp(sb_mountdata + off, "ip=", 3) == 0) { in cifs_compose_mount_options()
207 off += noff; in cifs_compose_mount_options()
210 if (strncasecmp(sb_mountdata + off, "prefixpath=", 11) == 0) { in cifs_compose_mount_options()
211 off += noff; in cifs_compose_mount_options()
214 strncat(mountdata, sb_mountdata + off, noff); in cifs_compose_mount_options()
215 off += noff; in cifs_compose_mount_options()
217 strcat(mountdata, sb_mountdata + off); in cifs_compose_mount_options()