Lines Matching refs:off
149 int off, noff; in cifs_compose_mount_options() local
185 off = 0; in cifs_compose_mount_options()
189 off += 5; in cifs_compose_mount_options()
193 tkn_e = strchr(sb_mountdata + off, sep); in cifs_compose_mount_options()
195 noff = strlen(sb_mountdata + off); in cifs_compose_mount_options()
197 noff = tkn_e - (sb_mountdata + off) + 1; in cifs_compose_mount_options()
199 if (strncasecmp(sb_mountdata + off, "unc=", 4) == 0) { in cifs_compose_mount_options()
200 off += noff; in cifs_compose_mount_options()
203 if (strncasecmp(sb_mountdata + off, "ip=", 3) == 0) { in cifs_compose_mount_options()
204 off += noff; in cifs_compose_mount_options()
207 if (strncasecmp(sb_mountdata + off, "prefixpath=", 11) == 0) { in cifs_compose_mount_options()
208 off += noff; in cifs_compose_mount_options()
211 strncat(mountdata, sb_mountdata + off, noff); in cifs_compose_mount_options()
212 off += noff; in cifs_compose_mount_options()
214 strcat(mountdata, sb_mountdata + off); in cifs_compose_mount_options()