Lines Matching defs:buf
539 * populated. Optionally, if *buf* is provided, then up to
540 * *buf_len* bytes of *buf* will be populated with the name of
1591 __u32 buf_len; /* input/output: buf len */
1592 __aligned_u64 buf; /* input/output:
2010 * long bpf_get_current_comm(void *buf, u32 size_of_buf)
2012 * Copy the **comm** attribute of the current task into *buf* of
2016 * helper makes sure that the *buf* is NUL-terminated. On failure,
2891 * long bpf_perf_event_read_value(struct bpf_map *map, u64 flags, struct bpf_perf_event_value *buf, u32 buf_size)
2893 * Read the value of a perf event counter, and store it into *buf*
2907 * just returning the value observed, it fills the *buf*
2909 * particular, the enabled and running times (in *buf*\
2910 * **->enabled** and *buf*\ **->running**, respectively) are
2941 * long bpf_perf_prog_read_value(struct bpf_perf_event_data *ctx, struct bpf_perf_event_value *buf, u32 buf_size)
2945 * the structure pointed by *buf* and of size *buf_size*. Enabled
3189 * long bpf_get_stack(void *ctx, void *buf, u32 size, u64 flags)
3194 * To store the stacktrace, the bpf program provides *buf* with
3229 * The non-negative copied *buf* length equal to or less than
3830 * long bpf_sysctl_get_name(struct bpf_sysctl *ctx, char *buf, size_t buf_len, u64 flags)
3833 * program buffer *buf* of size *buf_len*.
3843 * **-E2BIG** if the buffer wasn't big enough (*buf* will contain
3846 * long bpf_sysctl_get_current_value(struct bpf_sysctl *ctx, char *buf, size_t buf_len)
3850 * by program buffer *buf* of size *buf_len*.
3859 * **-E2BIG** if the buffer wasn't big enough (*buf* will contain
3865 * long bpf_sysctl_get_new_value(struct bpf_sysctl *ctx, char *buf, size_t buf_len)
3869 * provided by program buffer *buf* of size *buf_len*.
3877 * **-E2BIG** if the buffer wasn't big enough (*buf* will contain
3882 * long bpf_sysctl_set_new_value(struct bpf_sysctl *ctx, const char *buf, size_t buf_len)
3885 * value provided by program in buffer *buf* of size *buf_len*.
3887 * *buf* should contain a string in same form as provided by user
3899 * long bpf_strtol(const char *buf, size_t buf_len, u64 flags, long *res)
3901 * Convert the initial part of the string from buffer *buf* of
3923 * long bpf_strtoul(const char *buf, size_t buf_len, u64 flags, unsigned long *res)
3925 * Convert the initial part of the string from buffer *buf* of
4085 * char buf[PATHLEN]; // PATHLEN is defined to 256
4086 * int res = bpf_probe_read_user_str(buf, sizeof(buf),
4089 * // Consume buf, for example push it to
4145 * long bpf_read_branch_records(struct bpf_perf_event_data *ctx, void *buf, u32 size, u64 flags)
4149 * and store it in the buffer pointed by *buf* up to size
4152 * On success, number of bytes written to *buf*. On error, a
4157 * branch entries. If this flag is set, *buf* may be NULL.
4520 * long bpf_get_task_stack(struct task_struct *task, void *buf, u32 size, u64 flags)
4527 * bpf program provides *buf* with a nonnegative *size*.
4552 * The non-negative copied *buf* length equal to or less than
4709 * long bpf_d_path(struct path *path, char *buf, u32 sz)
4713 * returned in the provided buffer *buf* of size *sz* and
5190 * On success, number of bytes written to *buf*. On error, a
5341 * long bpf_xdp_load_bytes(struct xdp_buff *xdp_md, u32 offset, void *buf, u32 len)
5346 * *buf*.
5350 * long bpf_xdp_store_bytes(struct xdp_buff *xdp_md, u32 offset, void *buf, u32 len)
5352 * Store *len* bytes from buffer *buf* into the frame