Home
last modified time | relevance | path

Searched full:userdata (Results 1 – 25 of 50) sorted by relevance

12

/linux/Documentation/networking/
H A Dnetconsole.rst18 Userdata append support by Matthew Wood <thepacketgeek@gmail.com>, Jan 22 2024
187 Directories (keys) under `userdata` are limited to 53 character length, and
188 data in `userdata/<key>/value` are limited to 200 bytes::
192 mkdir userdata/foo
193 echo bar > userdata/foo/value
194 mkdir userdata/qux
195 echo baz > userdata/qux/value
207 Preview the userdata that will be appended with::
209 cd /sys/kernel/config/netconsole/cmdline0/userdata
210 for f in `ls userdata`; do echo $f=$(cat userdata/$f/value); done
[all …]
/linux/tools/testing/selftests/drivers/net/
H A Dnetcons_sysdata.sh
H A Dnetcons_fragmented_msg.sh
H A Dnetcons_basic.sh
/linux/tools/testing/selftests/drivers/net/netconsole/
H A Dnetcons_sysdata.sh11 # * Keep cpu_nr sysdata feature enable and enable userdata.
13 # * keep userdata enabled, and disable sysdata cpu_nr feature.
25 if [[ ! -f "${NETCONS_PATH}/userdata/cpu_nr_enabled" ]]
27 echo "Populate CPU configfs path not available in ${NETCONS_PATH}/userdata/cpu_nr_enabled" >&2
31 echo 1 > "${NETCONS_PATH}/userdata/cpu_nr_enabled"
36 if [[ ! -f "${NETCONS_PATH}/userdata/taskname_enabled" ]]
38 …able taskname sysdata append. Configfs not available in ${NETCONS_PATH}/userdata/taskname_enabled"…
42 echo 1 > "${NETCONS_PATH}/userdata/taskname_enabled"
47 if [[ ! -f "${NETCONS_PATH}/userdata/release_enabled" ]]
49 …nable release sysdata append. Configfs not available in ${NETCONS_PATH}/userdata/release_enabled" …
[all …]
H A Dnetcons_fragmented_msg.sh10 # - Preservation of userdata across fragments
27 # set userdata to a long value. In this case, it is "1-2-3-4...50-"
73 # check userdata
75 echo "message userdata doesn't match" >&2
92 # Set userdata "key" with the "value" value
96 # TEST 1: Send message and userdata. They will fragment
H A Dnetcons_userdata.sh4 # Exercise the netconsole userdata payload.
35 USERDATA_DIR="${NETCONS_PATH}/userdata"
137 echo "FAIL: userdata torture worker failed" >&2
/linux/arch/powerpc/boot/
H A Dtreeboot-akebono.c38 #define USERDATA_LEN 256 /* Length of userdata passed in by PIBS */
93 void platform_init(char *userdata) in platform_init() argument
102 userdata[USERDATA_LEN - 1] = '\0'; in platform_init()
103 userdata_len = strlen(userdata); in platform_init()
105 if (strncmp(&userdata[i], "local-mac-addr=", 15) == 0) { in platform_init()
106 if (i > 0 && userdata[i - 1] != ' ') { in platform_init()
113 mac_addr = strtoull(&userdata[i + 15], &end, 16); in platform_init()
121 len = ((int) end) - ((int) &userdata[i]); in platform_init()
122 memmove(&userdata[i], end, in platform_init()
128 loader_info.cmdline = userdata; in platform_init()
/linux/drivers/pci/
H A Dbus.c409 void *userdata) in __pci_walk_bus() argument
415 ret = cb(dev, userdata); in __pci_walk_bus()
419 ret = __pci_walk_bus(dev->subordinate, cb, userdata); in __pci_walk_bus()
429 void *userdata) in __pci_walk_bus_reverse() argument
437 userdata); in __pci_walk_bus_reverse()
441 ret = cb(dev, userdata); in __pci_walk_bus_reverse()
452 * @userdata: arbitrary pointer to be passed to callback
461 void pci_walk_bus(struct pci_bus *top, int (*cb)(struct pci_dev *, void *), void *userdata) in pci_walk_bus() argument
464 __pci_walk_bus(top, cb, userdata); in pci_walk_bus()
473 * @userdata: arbitrary pointer to be passed to callback
[all …]
/linux/sound/core/
H A Dcontrol_compat.c210 void __user *userdata, in copy_ctl_value_from_user() argument
214 struct snd_ctl_elem_value32 __user *data32 = userdata; in copy_ctl_value_from_user()
254 static int copy_ctl_value_to_user(void __user *userdata, in copy_ctl_value_to_user() argument
259 struct snd_ctl_elem_value32 __user *data32 = userdata; in copy_ctl_value_to_user()
282 void __user *userdata, void __user *valuep) in __ctl_elem_read_user() argument
291 err = copy_ctl_value_from_user(card, data, userdata, valuep, in __ctl_elem_read_user()
299 return copy_ctl_value_to_user(userdata, valuep, data, type, count); in __ctl_elem_read_user()
303 void __user *userdata, void __user *valuep) in ctl_elem_read_user() argument
310 err = __ctl_elem_read_user(card, userdata, valuep); in ctl_elem_read_user()
316 void __user *userdata, voi in __ctl_elem_write_user() argument
338 ctl_elem_write_user(struct snd_ctl_file * file,void __user * userdata,void __user * valuep) ctl_elem_write_user() argument
[all...]
/linux/include/net/iucv/
H A Diucv.h232 u8 *userdata, void *private);
235 u8 *userid, u8 *system, u8 *userdata,
238 int iucv_path_quiesce(struct iucv_path *path, u8 *userdata);
240 int iucv_path_resume(struct iucv_path *path, u8 *userdata);
242 int iucv_path_sever(struct iucv_path *path, u8 *userdata);
288 u8 userdata[16], void *private);
291 u8 userid[8], u8 system[8], u8 userdata[16], void *private);
292 int (*path_quiesce)(struct iucv_path *path, u8 userdata[16]);
293 int (*path_resume)(struct iucv_path *path, u8 userdata[16]);
294 int (*path_sever)(struct iucv_path *path, u8 userdata[16]);
/linux/drivers/net/
H A Dnetconsole.c61 /* The number 3 comes from userdata entry format characters (' ', '=', '\n') */
131 /* Features enabled in sysdata. Contrary to userdata, this data is populated by
155 * struct netcons_userdata - Formatted userdata payload of a target.
173 * @userdata_group: Links to the userdata configfs hierarchy
174 * @userdata: Cached, formatted userdata payload. RCU protected.
215 struct netcons_userdata __rcu *userdata; member
789 * | userdata/
1274 /* Count number of entries we have in userdata.
1275 * This is important because userdata only supports MAX_USERDATA_ITEMS
1276 * entries. Before enabling any new userdata feature, number of entries needs
[all …]
/linux/drivers/pci/pcie/
H A Drcec.c69 void *userdata) in walk_rcec() argument
71 struct walk_rcec_data *rcec_data = userdata; in walk_rcec()
128 * @userdata: Arbitrary pointer to be passed to callback
135 void *userdata) in pcie_walk_rcec() argument
144 rcec_data.user_data = userdata; in pcie_walk_rcec()
/linux/include/linux/raspberrypi/
H A Dvchiq.h60 void *userdata; member
78 void *userdata; member
102 const void *data, unsigned int size, void *userdata,
105 void *data, unsigned int size, void *userdata,
H A Dvchiq_core.h195 void (*userdata_term)(void *userdata);
530 void (*userdata_term)(void *userdata));
552 struct bulk_waiter *userdata);
H A Dvchiq_arm.h61 void __user *userdata; member
/linux/drivers/platform/raspberrypi/vchiq-interface/
H A Dvchiq_dev.c44 user_service_free(void *userdata) in user_service_free() argument
46 kfree(userdata); in user_service_free()
166 .userdata = user_service, in vchiq_ioc_create_service()
179 user_service->userdata = args->params.userdata; in vchiq_ioc_create_service()
218 user_service = (struct user_service *)service->base.userdata; in vchiq_ioc_dequeue_message()
342 bulk_params.cb_userdata = args->userdata; in vchiq_irq_queue_bulk_tx_rx()
499 user_service = service->base.userdata; in vchiq_ioc_await_completion()
504 .service_userdata = user_service->userdata, in vchiq_ioc_await_completion()
674 user_service = service->base.userdata; in vchiq_ioctl()
854 (struct user_service *)service->base.userdata; in vchiq_ioctl()
[all …]
H A Dvchiq_ioctl.h19 void __user *userdata; member
41 void __user *userdata; member
H A Dvchiq_arm.c511 unsigned int size, void *userdata, enum vchiq_bulk_mode mode) in vchiq_bulk_transmit() argument
523 bulk_params.cb_data = userdata; in vchiq_bulk_transmit()
545 void *data, unsigned int size, void *userdata, in vchiq_bulk_receive() argument
558 bulk_params.cb_data = userdata; in vchiq_bulk_receive()
721 user_service = (struct user_service *)service->base.userdata; in service_single_message()
778 user_service = (struct user_service *)service->base.userdata; in service_callback()
794 user_service, service->localport, user_service->userdata, in service_callback()
909 (struct user_service *)service->base.userdata; in vchiq_dump_platform_service_state()
/linux/tools/testing/selftests/drivers/net/lib/sh/
H A Dlib_netcons.sh218 find "${TARGET_PATH}/userdata/" -mindepth 1 -type d -delete
229 if [[ ! -d "${NETCONS_PATH}""/userdata" ]]
231 echo "Userdata path not available in ${NETCONS_PATH}/userdata"
235 KEY_PATH="${NETCONS_PATH}/userdata/${USERDATA_KEY}"
274 # Validate the message and userdata
284 # userdata is not supported on basic format target,
/linux/Documentation/devicetree/bindings/mtd/
H A Dflctl-nand.txt40 userdata@8000000 {
41 label = "userdata";
/linux/drivers/platform/raspberrypi/vchiq-mmal/
H A Dmmal-msg-port.h45 * buffer_num, buffer_size and userdata parameters are writable.
102 u32 userdata; /* Field reserved for use by the client */ member
/linux/fs/xfs/
H A Dxfs_extent_busy.h54 xfs_extlen_t flen, bool userdata);
/linux/net/openvswitch/
H A Ddatapath.h140 * @userdata: If nonnull, its variable-length value is passed to userspace as
153 const struct nlattr *userdata; member
/linux/drivers/s390/crypto/
H A Dzcrypt_msgtype6.c345 DECLARE_FLEX_ARRAY(u8, userdata); in xcrb_msg_to_type6cprb_msgx()
397 if (z_copy_from_user(userspace, msg->userdata, in xcrb_msg_to_type6cprb_msgx()
403 memset(msg->userdata + xcrb->request_control_blk_length, in xcrb_msg_to_type6cprb_msgx()
514 DECLARE_FLEX_ARRAY(u8, userdata); in xcrb_msg_to_type6_ep11cprb_msgx()
546 if (z_copy_from_user(userspace, msg->userdata, in xcrb_msg_to_type6_ep11cprb_msgx()
551 memset(msg->userdata + xcrb->req_len, 0, in xcrb_msg_to_type6_ep11cprb_msgx()
554 pld = msg->userdata + sizeof(struct ep11_cprb); in xcrb_msg_to_type6_ep11cprb_msgx()

12