Searched refs:pathname (Results 101 - 125 of 135) sorted by relevance

123456

/linux-master/tools/power/x86/intel-speed-select/
H A Disst-core-tpmi.c12 const char *pathname = "/dev/isst_interface"; local
60 fd = open(pathname, O_RDWR);
/linux-master/fs/notify/inotify/
H A Dinotify_user.c230 * fsnotify only stores the pathname, so here we have to send the pathname
231 * and then pad that pathname out to a multiple of sizeof(inotify_event)
729 SYSCALL_DEFINE3(inotify_add_watch, int, fd, const char __user *, pathname,
776 ret = inotify_find_inode(pathname, &path, flags,
/linux-master/include/trace/events/
H A Df2fs.h2316 pid_t pid, char *pathname, char *command),
2318 TP_ARGS(inode, offset, bytes, pid, pathname, command),
2321 __string(pathbuf, pathname)
2336 __assign_str(pathbuf, pathname);
2380 pid_t pid, char *pathname, char *command),
2382 TP_ARGS(inode, offset, bytes, pid, pathname, command)
2395 pid_t pid, char *pathname, char *command),
2397 TP_ARGS(inode, offset, bytes, pid, pathname, command)
/linux-master/tools/perf/trace/beauty/
H A Dbeauty.h41 char *pathname; member in struct:file
95 * @augmented_args: Extra data that can be collected, for instance, with eBPF for expanding the pathname for open, etc
/linux-master/tools/mm/
H A Dpage-types.c238 static int checked_open(const char *pathname, int flags) argument
240 int fd = open(pathname, flags);
243 perror(pathname);
/linux-master/tools/perf/
H A Dbuiltin-trace.c1212 * is_open: is this "open" or "openat"? To associate the fd returned in sys_exit with the pathname in sys_enter.
1213 * args_size: sum of the sizes of the syscall arguments, anything after that is augmented stuff: pathname for openat, etc.
1355 zfree(&file->pathname);
1392 static int trace__set_fd_pathname(struct thread *thread, int fd, const char *pathname) argument
1399 if (stat(pathname, &st) == 0)
1401 file->pathname = strdup(pathname);
1402 if (file->pathname)
1411 char linkname[PATH_MAX], pathname[PATH_MAX]; local
1424 if (lstat(linkname, &st) < 0 || st.st_size + 1 > (off_t)sizeof(pathname))
[all...]
/linux-master/kernel/
H A Daudit.c2142 char *p, *pathname; local
2148 pathname = kmalloc(PATH_MAX+11, ab->gfp_mask);
2149 if (!pathname) {
2153 p = d_path(path, pathname, PATH_MAX+11);
2159 kfree(pathname);
/linux-master/drivers/infiniband/ulp/rtrs/
H A Drtrs-clt.c2554 memcpy(msg->pathname, clt_path->s.sessname, sizeof(msg->pathname));
2776 * @pathname: name of the path to an RTRS server
2792 const char *pathname,
2802 if (strchr(pathname, '/') || strchr(pathname, '.')) {
2803 pr_err("pathname cannot contain / and .\n");
2808 clt = alloc_clt(pathname, paths_num, port, pdu_sz, ops->priv,
2791 rtrs_clt_open(struct rtrs_clt_ops *ops, const char *pathname, const struct rtrs_addr *paths, size_t paths_num, u16 port, size_t pdu_sz, u8 reconnect_delay_sec, s16 max_reconnect_attempts, u32 nr_poll_queues) argument
/linux-master/tools/perf/util/
H A Dsynthetic-events.c297 ssize_t pathname_size, char *pathname)
301 char *start_pathname = pathname;
347 *pathname = '\0';
357 (pathname + 1 - start_pathname) >= pathname_size) {
358 *pathname = '\0';
361 *pathname++ = ch;
293 read_proc_maps_line(struct io *io, __u64 *start, __u64 *end, u32 *prot, u32 *flags, __u64 *offset, u32 *maj, u32 *min, __u64 *inode, ssize_t pathname_size, char *pathname) argument
H A Dprobe-event.c744 int ntevs, const char *pathname)
751 map = dso__new_map(pathname);
752 if (!map || get_text_start_address(pathname, &stext, NULL) < 0) {
753 pr_warning("Failed to get ELF symbols for %s\n", pathname);
3410 char *pathname; local
3424 pathname = build_id_cache__origname(nd->s);
3425 ret = find_cached_events(pev, &tmp_tevs, pathname);
3430 free(pathname);
743 post_process_offline_probe_trace_events(struct probe_trace_event *tevs, int ntevs, const char *pathname) argument
/linux-master/include/linux/
H A Dblkdev.h1481 int lookup_bdev(const char *pathname, dev_t *dev);
1550 int __init early_lookup_bdev(const char *pathname, dev_t *dev);
1572 static inline int early_lookup_bdev(const char *pathname, dev_t *dev) argument
/linux-master/tools/testing/cxl/test/
H A Dcxl.c580 mock_acpi_evaluate_integer(acpi_handle handle, acpi_string pathname, argument
586 if (!adev || strcmp(pathname, METHOD_NAME__UID) != 0)
587 return acpi_evaluate_integer(handle, pathname, arguments, data);
/linux-master/drivers/acpi/acpica/
H A Dacinterp.h121 u8 begin, u8 *aml, char *pathname);
H A Daclocal.h1206 char pathname[ACPI_DB_LINE_BUFFER_SIZE]; member in struct:acpi_db_method_info
/linux-master/fs/xfs/scrub/
H A Dtrace.h876 __array(char, pathname, 256)
879 char pathname[257];
883 memset(pathname, 0, sizeof(pathname));
884 path = file_path(xf->file, pathname, sizeof(pathname) - 1);
887 strncpy(__entry->pathname, path, sizeof(__entry->pathname));
891 __entry->pathname)
/linux-master/drivers/acpi/
H A Dscan.c1034 char pathname[5] = { '_', 'P', 'R', '0' + state, '\0' }; local
1041 status = acpi_evaluate_object(device->handle, pathname, NULL, &buffer);
1054 pathname[2] = 'S';
1055 if (acpi_has_method(device->handle, pathname))
/linux-master/fs/smb/server/
H A Dvfs.c69 char *pathname, unsigned int flags,
79 if (pathname[0] == '\0') {
80 pathname = share_conf->path;
86 filename = getname_kernel(pathname);
68 ksmbd_vfs_path_lookup_locked(struct ksmbd_share_config *share_conf, char *pathname, unsigned int flags, struct path *parent_path, struct path *path) argument
/linux-master/security/tomoyo/
H A Dcommon.h240 /* Index numbers for access controls with one pathname. */
287 /* Index numbers for access controls with one pathname and one number. */
582 /* Structure for attribute checks in addition to pathname checks. */
590 /* First pathname. Initialized with { NULL, NULL } if no path. */
592 /* Second pathname. Initialized with { NULL, NULL } if no path. */
960 char *tomoyo_realpath_nofollow(const char *pathname);
968 (const struct tomoyo_path_info *pathname, const struct tomoyo_group *group);
/linux-master/include/acpi/
H A Dacpi_bus.h26 acpi_string pathname,
28 bool acpi_evaluate_reference(acpi_handle handle, acpi_string pathname,
/linux-master/tools/power/x86/turbostat/
H A Dturbostat.c1511 char pathname[32]; local
1519 sprintf(pathname, "/dev/cpu/%d/msr", cpu);
1520 fd = open(pathname, O_RDONLY);
1523 "or run with --no-msr, or run as root", pathname);
4588 char pathname[64]; local
4593 sprintf(pathname, "/sys/devices/system/cpu/cpu%d/topology/thread_siblings", base_cpu);
4595 filep = fopen_or_die(pathname, "r");
5123 char pathname[32]; local
5128 sprintf(pathname, "/dev/cpu/%d/msr", base_cpu);
5129 if (stat(pathname,
5169 char pathname[32]; local
[all...]
/linux-master/tools/testing/selftests/mm/
H A Dhmm-tests.c118 char pathname[HMM_PATH_MAX]; local
121 snprintf(pathname, sizeof(pathname), "/dev/hmm_dmirror%d", unit);
122 fd = open(pathname, O_RDWR, 0);
125 pathname);
/linux-master/drivers/mtd/ubi/
H A Dubi.h960 int ubi_get_num_by_path(const char *pathname, int *ubi_num, int *vol_id);
/linux-master/fs/proc/
H A Dbase.c1764 char *pathname; local
1770 pathname = d_path(path, tmp, PATH_MAX);
1771 len = PTR_ERR(pathname);
1772 if (IS_ERR(pathname))
1774 len = tmp + PATH_MAX - 1 - pathname;
1778 if (copy_to_user(buffer, pathname, len))
/linux-master/mm/
H A Dswapfile.c2418 struct filename *pathname; local
2427 pathname = getname(specialfile);
2428 if (IS_ERR(pathname))
2429 return PTR_ERR(pathname);
2431 victim = file_open_name(pathname, O_RDWR|O_LARGEFILE, 0);
2582 putname(pathname);
/linux-master/fs/xfs/
H A Dxfs_trace.h4622 __array(char, pathname, 256)
4625 char pathname[257];
4631 memset(pathname, 0, sizeof(pathname));
4632 path = file_path(file, pathname, sizeof(pathname) - 1);
4635 strncpy(__entry->pathname, path, sizeof(__entry->pathname));
4640 __entry->pathname)

Completed in 475 milliseconds

123456