Lines Matching refs:path
117 * name from file path's base name;
126 * auto-pinned to that path on load; defaults to "/sys/fs/bpf".
187 * the BPF ELF object file pointed to by the passed path and loading it
189 * @param path BPF object file path.
193 LIBBPF_API struct bpf_object *bpf_object__open(const char *path);
197 * the BPF ELF object file pointed to by the passed path and loading it
199 * @param path BPF object file path
206 bpf_object__open_file(const char *path, const struct bpf_object_open_opts *opts);
242 * @param path A directory where maps should be pinned.
245 * If `path` is NULL `bpf_map__pin` (which is being used on each map)
249 LIBBPF_API int bpf_object__pin_maps(struct bpf_object *obj, const char *path);
255 * @param path A directory where pinned maps should be searched for.
258 * If `path` is NULL `bpf_map__unpin` (which is being used on each map)
263 const char *path);
265 const char *path);
267 const char *path);
268 LIBBPF_API int bpf_object__pin(struct bpf_object *object, const char *path);
269 LIBBPF_API int bpf_object__unpin(struct bpf_object *object, const char *path);
371 * in the BPF FS specified by a path. This increments the programs
376 * @param path file path in a BPF file system
379 LIBBPF_API int bpf_program__pin(struct bpf_program *prog, const char *path);
383 * in the BPFFS specified by a path. This decrements the programs
390 * @param path file path to the pin in a BPF file system
393 LIBBPF_API int bpf_program__unpin(struct bpf_program *prog, const char *path);
398 LIBBPF_API struct bpf_link *bpf_link__open(const char *path);
403 * in the BPF FS specified by a path. This increments the links
408 * @param path file path in a BPF file system
412 LIBBPF_API int bpf_link__pin(struct bpf_link *link, const char *path);
416 * in the BPFFS specified by a path. This decrements the links
423 * @param path file path to the pin in a BPF file system
559 * 1) use only path/func_pattern/pid arguments
561 * 2) use path/pid with allowed combinations of
657 * to the userspace function which is found by binary path and
1010 * @brief **bpf_map__set_pin_path()** sets the path attribute that tells where the
1013 * @param path The path
1016 LIBBPF_API int bpf_map__set_pin_path(struct bpf_map *map, const char *path);
1019 * @brief **bpf_map__pin_path()** gets the path attribute that tells where the
1022 * @return The path string; which can be NULL
1040 * @param path A file path for the 'pin'
1043 * If `path` is NULL the maps `pin_path` attribute will be used. If this is
1046 LIBBPF_API int bpf_map__pin(struct bpf_map *map, const char *path);
1052 * @param path A file path for the 'pin'
1055 * The `path` parameter can be NULL, in which case the `pin_path`
1056 * map attribute is unpinned. If both the `path` parameter and
1059 LIBBPF_API int bpf_map__unpin(struct bpf_map *map, const char *path);