Lines Matching defs:path
70 len; // the length of the path in "str"
193 is_ignored_directory(const char *path) {
195 if (!path) {
199 #define IS_TLD(x) strnstr((char *) path, x, MAXPATHLEN)
331 // the same vnode or path and we're combining both events
343 // about the same vnode or path (and one of those other
627 // if we haven't gotten the path yet, get it.
662 // store the path by adding it to the global string table
666 panic("add_fsevent: was not able to add path %s to event %p.\n", pathbuff, cur);
1276 printf("copy_out_kfse:2: empty/short path (%s)\n", cur->str);
1916 const char *path, *ptr, *dest_path, *event_start=buffer;
1933 path = ptr;
1944 path_len = ptr - path;
1949 err = add_fsevent(type, ctx, FSE_ARG_STRING, path_len, path, FSE_ARG_FINFO, finfo, FSE_ARG_DONE);
1958 // and path so that we can pass them to the add_fsevent()
1981 // exchange with an inode of zero, just make that inode (and its path)
1986 FSE_ARG_STRING, path_len, path, FSE_ARG_FINFO, finfo,
1991 FSE_ARG_STRING, path_len, path, FSE_ARG_FINFO, finfo,
2289 char *path;
2291 MALLOC_ZONE(path, char *, MAXPATHLEN, M_NAMEI, M_WAITOK);
2292 return path;
2296 release_pathbuff(char *path)
2299 if (path == NULL) {
2302 FREE_ZONE(path, MAXPATHLEN, M_NAMEI);
2414 char *path;
2415 MALLOC_ZONE(path, char *, MAXPATHLEN, M_NAMEI, M_WAITOK);
2416 return path;
2420 release_pathbuff(char *path)
2422 FREE_ZONE(path, MAXPATHLEN, M_NAMEI);