Lines Matching refs:suffix
35 * inode, the inode of the script; and suffix, the suffix of the
43 * suffix. The inode check means more than one script with the
44 * same suffix will still work as intended in the common case.
296 pg_match(scf_handle_t *h, scf_service_t *svc, ino_t ino, const char *suffix)
333 if (suffix != NULL) {
351 match = (strcmp(buf, suffix) == 0);
387 * stops. First we look for a matching inode plus a matching suffix.
389 * Finally, we try for just the script suffix.
396 char *suffix;
405 if ((suffix = script_suffix(script)) == NULL) {
412 if ((pg = pg_match(h, svc, st.st_ino, suffix)) != NULL)
418 if ((pg = pg_match(h, svc, 0, suffix)) == NULL) {
421 free(suffix);
427 free(suffix);
707 char *suffix;
757 if ((suffix = script_suffix(script)) != NULL) {
759 SCF_TYPE_ASTRING, (void *)suffix) != 0)
762 free(suffix);