/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | prom_64.c | 66 static void __init sun4v_path_component(struct device_node *dp, char *tmp_buf) in sun4v_path_component() argument 79 sprintf(tmp_buf, "%s@%x,%x", in sun4v_path_component() 94 sprintf(tmp_buf, "%s@%s%x,%x", in sun4v_path_component() 98 sprintf(tmp_buf, "%s@%s%x", in sun4v_path_component() 103 sprintf(tmp_buf, "%s@%x", in sun4v_path_component() 108 static void __init sun4u_path_component(struct device_node *dp, char *tmp_buf) in sun4u_path_component() argument 120 sprintf(tmp_buf, "%s@%x,%x", in sun4u_path_component() 136 sprintf(tmp_buf, "%s@%x,%x", in sun4u_path_component() 144 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) in sbus_path_component() argument 155 sprintf(tmp_buf, " in sbus_path_component() 162 pci_path_component(struct device_node *dp, char *tmp_buf) pci_path_component() argument 188 upa_path_component(struct device_node *dp, char *tmp_buf) upa_path_component() argument 211 vdev_path_component(struct device_node *dp, char *tmp_buf) vdev_path_component() argument 227 ebus_path_component(struct device_node *dp, char *tmp_buf) ebus_path_component() argument 246 i2c_path_component(struct device_node *dp, char *tmp_buf) i2c_path_component() argument 266 usb_path_component(struct device_node *dp, char *tmp_buf) usb_path_component() argument 288 ieee1394_path_component(struct device_node *dp, char *tmp_buf) ieee1394_path_component() argument 309 __build_path_component(struct device_node *dp, char *tmp_buf) __build_path_component() argument 363 char tmp_buf[64], *n; build_path_component() local [all...] |
H A D | prom_32.c | 57 static void __init sparc32_path_component(struct device_node *dp, char *tmp_buf) in sparc32_path_component() argument 68 sprintf(tmp_buf, "%s@%x,%x", in sparc32_path_component() 74 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) in sbus_path_component() argument 85 sprintf(tmp_buf, "%s@%x,%x", in sbus_path_component() 92 static void __init pci_path_component(struct device_node *dp, char *tmp_buf) in pci_path_component() argument 106 sprintf(tmp_buf, "%s@%x,%x", in pci_path_component() 111 sprintf(tmp_buf, "%s@%x", in pci_path_component() 118 static void __init ebus_path_component(struct device_node *dp, char *tmp_buf) in ebus_path_component() argument 130 sprintf(tmp_buf, "%s@%x,%x", in ebus_path_component() 136 static void __init ambapp_path_component(struct device_node *dp, char *tmp_buf) in ambapp_path_component() argument 166 __build_path_component(struct device_node *dp, char *tmp_buf) __build_path_component() argument 191 char tmp_buf[64], *n; build_path_component() local [all...] |
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | prom_64.c | 66 static void __init sun4v_path_component(struct device_node *dp, char *tmp_buf) in sun4v_path_component() argument 79 sprintf(tmp_buf, "%s@%x,%x", in sun4v_path_component() 94 sprintf(tmp_buf, "%s@%s%x,%x", in sun4v_path_component() 98 sprintf(tmp_buf, "%s@%s%x", in sun4v_path_component() 103 sprintf(tmp_buf, "%s@%x", in sun4v_path_component() 108 static void __init sun4u_path_component(struct device_node *dp, char *tmp_buf) in sun4u_path_component() argument 120 sprintf(tmp_buf, "%s@%x,%x", in sun4u_path_component() 136 sprintf(tmp_buf, "%s@%x,%x", in sun4u_path_component() 144 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) in sbus_path_component() argument 155 sprintf(tmp_buf, " in sbus_path_component() 162 pci_path_component(struct device_node *dp, char *tmp_buf) pci_path_component() argument 188 upa_path_component(struct device_node *dp, char *tmp_buf) upa_path_component() argument 211 vdev_path_component(struct device_node *dp, char *tmp_buf) vdev_path_component() argument 227 ebus_path_component(struct device_node *dp, char *tmp_buf) ebus_path_component() argument 246 i2c_path_component(struct device_node *dp, char *tmp_buf) i2c_path_component() argument 266 usb_path_component(struct device_node *dp, char *tmp_buf) usb_path_component() argument 288 ieee1394_path_component(struct device_node *dp, char *tmp_buf) ieee1394_path_component() argument 309 __build_path_component(struct device_node *dp, char *tmp_buf) __build_path_component() argument 363 char tmp_buf[64], *n; build_path_component() local [all...] |
H A D | prom_32.c | 57 static void __init sparc32_path_component(struct device_node *dp, char *tmp_buf) in sparc32_path_component() argument 68 sprintf(tmp_buf, "%s@%x,%x", in sparc32_path_component() 74 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) in sbus_path_component() argument 85 sprintf(tmp_buf, "%s@%x,%x", in sbus_path_component() 92 static void __init pci_path_component(struct device_node *dp, char *tmp_buf) in pci_path_component() argument 106 sprintf(tmp_buf, "%s@%x,%x", in pci_path_component() 111 sprintf(tmp_buf, "%s@%x", in pci_path_component() 118 static void __init ebus_path_component(struct device_node *dp, char *tmp_buf) in ebus_path_component() argument 130 sprintf(tmp_buf, "%s@%x,%x", in ebus_path_component() 136 static void __init ambapp_path_component(struct device_node *dp, char *tmp_buf) in ambapp_path_component() argument 166 __build_path_component(struct device_node *dp, char *tmp_buf) __build_path_component() argument 191 char tmp_buf[64], *n; build_path_component() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
H A D | rtl_btc.c | 306 void rtl_btc_btinfo_notify(struct rtl_priv *rtlpriv, u8 *tmp_buf, u8 length) in rtl_btc_btinfo_notify() argument 313 exhalbtc_bt_info_notify(btcoexist, tmp_buf, length); in rtl_btc_btinfo_notify() 316 void rtl_btc_btmpinfo_notify(struct rtl_priv *rtlpriv, u8 *tmp_buf, u8 length) in rtl_btc_btmpinfo_notify() argument 327 if ((length < 4) || (!tmp_buf)) in rtl_btc_btmpinfo_notify() 330 extid = tmp_buf[0]; in rtl_btc_btmpinfo_notify() 335 seq = tmp_buf[2] >> 4; in rtl_btc_btmpinfo_notify() 336 data = &tmp_buf[3]; in rtl_btc_btmpinfo_notify() 341 bt_real_fw_ver = tmp_buf[3] | (tmp_buf[4] << 8); in rtl_btc_btmpinfo_notify() 342 bt_fw_ver = tmp_buf[ in rtl_btc_btmpinfo_notify() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
H A D | rtl_btc.c | 306 void rtl_btc_btinfo_notify(struct rtl_priv *rtlpriv, u8 *tmp_buf, u8 length) in rtl_btc_btinfo_notify() argument 313 exhalbtc_bt_info_notify(btcoexist, tmp_buf, length); in rtl_btc_btinfo_notify() 316 void rtl_btc_btmpinfo_notify(struct rtl_priv *rtlpriv, u8 *tmp_buf, u8 length) in rtl_btc_btmpinfo_notify() argument 327 if ((length < 4) || (!tmp_buf)) in rtl_btc_btmpinfo_notify() 330 extid = tmp_buf[0]; in rtl_btc_btmpinfo_notify() 335 seq = tmp_buf[2] >> 4; in rtl_btc_btmpinfo_notify() 336 data = &tmp_buf[3]; in rtl_btc_btmpinfo_notify() 341 bt_real_fw_ver = tmp_buf[3] | (tmp_buf[4] << 8); in rtl_btc_btmpinfo_notify() 342 bt_fw_ver = tmp_buf[ in rtl_btc_btmpinfo_notify() [all...] |
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | acl.c | 167 void *tmp_buf = NULL; in ceph_pre_init_acls() local 193 tmp_buf = kmalloc(max(val_size1, val_size2), GFP_KERNEL); in ceph_pre_init_acls() 194 if (!tmp_buf) in ceph_pre_init_acls() 214 tmp_buf, val_size1); in ceph_pre_init_acls() 218 ceph_pagelist_append(pagelist, tmp_buf, val_size1); in ceph_pre_init_acls() 228 tmp_buf, val_size2); in ceph_pre_init_acls() 232 ceph_pagelist_append(pagelist, tmp_buf, val_size2); in ceph_pre_init_acls() 235 kfree(tmp_buf); in ceph_pre_init_acls() 245 kfree(tmp_buf); in ceph_pre_init_acls()
|
/kernel/linux/linux-6.6/fs/ceph/ |
H A D | acl.c | 173 void *tmp_buf = NULL; in ceph_pre_init_acls() local 199 tmp_buf = kmalloc(max(val_size1, val_size2), GFP_KERNEL); in ceph_pre_init_acls() 200 if (!tmp_buf) in ceph_pre_init_acls() 220 tmp_buf, val_size1); in ceph_pre_init_acls() 224 ceph_pagelist_append(pagelist, tmp_buf, val_size1); in ceph_pre_init_acls() 234 tmp_buf, val_size2); in ceph_pre_init_acls() 238 ceph_pagelist_append(pagelist, tmp_buf, val_size2); in ceph_pre_init_acls() 241 kfree(tmp_buf); in ceph_pre_init_acls() 251 kfree(tmp_buf); in ceph_pre_init_acls()
|
H A D | crypto.c | 337 char tmp_buf[NAME_MAX]; in ceph_encode_encrypted_dname() local 339 elen = snprintf(tmp_buf, sizeof(tmp_buf), "_%.*s_%ld", in ceph_encode_encrypted_dname() 341 memcpy(buf, tmp_buf, elen); in ceph_encode_encrypted_dname() 452 char tmp_buf[CEPH_BASE64_CHARS(NAME_MAX)]; in ceph_fname_to_usr() local 454 name_len = snprintf(tmp_buf, sizeof(tmp_buf), "_%.*s_%ld", in ceph_fname_to_usr() 456 memcpy(oname->name, tmp_buf, name_len); in ceph_fname_to_usr()
|
/kernel/linux/linux-5.10/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
H A D | EventClass.py | 59 tmp_buf=raw_buf[0:80] 60 flags, ip, ax, bx, cx, dx, si, di, bp, sp = struct.unpack('QQQQQQQQQQ', tmp_buf) 74 del tmp_buf 88 tmp_buf=raw_buf[144:176] 89 status, dla, dse, lat = struct.unpack('QQQQ', tmp_buf) 97 del tmp_buf
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_bo.h | 185 struct vmw_bo *tmp_buf = *buf; in vmw_bo_unreference() local 188 if (tmp_buf) in vmw_bo_unreference() 189 ttm_bo_put(&tmp_buf->tbo); in vmw_bo_unreference() 206 struct vmw_bo *tmp_buf = *buf; in vmw_user_bo_unref() local 209 if (tmp_buf) in vmw_user_bo_unref() 210 drm_gem_object_put(&tmp_buf->tbo.base); in vmw_user_bo_unref()
|
/kernel/linux/linux-6.6/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
H A D | EventClass.py | 59 tmp_buf=raw_buf[0:80] 60 flags, ip, ax, bx, cx, dx, si, di, bp, sp = struct.unpack('QQQQQQQQQQ', tmp_buf) 74 del tmp_buf 88 tmp_buf=raw_buf[144:176] 89 status, dla, dse, lat = struct.unpack('QQQQ', tmp_buf) 97 del tmp_buf
|
/kernel/linux/linux-5.10/net/atm/ |
H A D | addr.c | 140 struct sockaddr_atmsvc *tmp_buf, *tmp_bufp; in atm_get_addr() local 149 tmp_buf = tmp_bufp = kmalloc(total, GFP_ATOMIC); in atm_get_addr() 150 if (!tmp_buf) { in atm_get_addr() 158 if (copy_to_user(buf, tmp_buf, total < size ? total : size)) in atm_get_addr() 160 kfree(tmp_buf); in atm_get_addr()
|
H A D | resources.c | 201 int *tmp_buf, *tmp_p; in atm_getnames() local 212 tmp_buf = kmalloc(size, GFP_ATOMIC); in atm_getnames() 213 if (!tmp_buf) { in atm_getnames() 217 tmp_p = tmp_buf; in atm_getnames() 223 error = ((copy_to_user(buf, tmp_buf, size)) || in atm_getnames() 226 kfree(tmp_buf); in atm_getnames()
|
/kernel/linux/linux-6.6/net/atm/ |
H A D | addr.c | 140 struct sockaddr_atmsvc *tmp_buf, *tmp_bufp; in atm_get_addr() local 149 tmp_buf = tmp_bufp = kmalloc(total, GFP_ATOMIC); in atm_get_addr() 150 if (!tmp_buf) { in atm_get_addr() 158 if (copy_to_user(buf, tmp_buf, total < size ? total : size)) in atm_get_addr() 160 kfree(tmp_buf); in atm_get_addr()
|
H A D | resources.c | 199 int *tmp_buf, *tmp_p; in atm_getnames() local 210 tmp_buf = kmalloc(size, GFP_ATOMIC); in atm_getnames() 211 if (!tmp_buf) { in atm_getnames() 215 tmp_p = tmp_buf; in atm_getnames() 220 error = ((copy_to_user(buf, tmp_buf, size)) || in atm_getnames() 223 kfree(tmp_buf); in atm_getnames()
|
/kernel/linux/linux-5.10/fs/pstore/ |
H A D | platform.c | 400 char tmp_buf[ERROR_DESC_MAX_LEN]; in dump_stacktrace() local 407 memset(tmp_buf, 0, sizeof(tmp_buf)); in dump_stacktrace() 412 if (stack_len >= sizeof(tmp_buf)) { in dump_stacktrace() 413 tmp_buf[sizeof(tmp_buf) - 1] = '\0'; in dump_stacktrace() 416 stack_len += scnprintf(tmp_buf + stack_len, sizeof(tmp_buf) - stack_len, in dump_stacktrace() 419 if (strncmp(tmp_buf, "panic", strlen("panic")) == 0) in dump_stacktrace() 422 (void)memset(tmp_buf, in dump_stacktrace() [all...] |
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | helpers.c | 821 char *unsafe_ptr = NULL, *tmp_buf = NULL, *tmp_buf_end, *fmt_end; in bpf_bprintf_prepare() local 838 tmp_buf = buffers->bin_args; in bpf_bprintf_prepare() 839 tmp_buf_end = tmp_buf + MAX_BPRINTF_BIN_ARGS; in bpf_bprintf_prepare() 840 data->bin_args = (u32 *)tmp_buf; in bpf_bprintf_prepare() 895 if (tmp_buf) in bpf_bprintf_prepare() 902 if (tmp_buf) { in bpf_bprintf_prepare() 903 err = snprintf(tmp_buf, in bpf_bprintf_prepare() 904 (tmp_buf_end - tmp_buf), in bpf_bprintf_prepare() 907 tmp_buf += (err + 1); in bpf_bprintf_prepare() 923 if (!tmp_buf) in bpf_bprintf_prepare() [all...] |
/kernel/linux/linux-5.10/drivers/base/regmap/ |
H A D | regcache.c | 32 void *tmp_buf; in regcache_hw_init() local 61 tmp_buf = kmalloc(map->cache_size_raw, GFP_KERNEL); in regcache_hw_init() 62 if (!tmp_buf) { in regcache_hw_init() 66 ret = regmap_raw_read(map, 0, tmp_buf, in regcache_hw_init() 70 map->reg_defaults_raw = tmp_buf; in regcache_hw_init() 73 kfree(tmp_buf); in regcache_hw_init() 119 void *tmp_buf; in regcache_init() local 169 tmp_buf = kmemdup(config->reg_defaults, map->num_reg_defaults * in regcache_init() 171 if (!tmp_buf) in regcache_init() 173 map->reg_defaults = tmp_buf; in regcache_init() [all...] |
/kernel/linux/linux-6.6/drivers/base/regmap/ |
H A D | regcache.c | 30 void *tmp_buf; in regcache_hw_init() local 59 tmp_buf = kmalloc(map->cache_size_raw, GFP_KERNEL); in regcache_hw_init() 60 if (!tmp_buf) { in regcache_hw_init() 64 ret = regmap_raw_read(map, 0, tmp_buf, in regcache_hw_init() 68 map->reg_defaults_raw = tmp_buf; in regcache_hw_init() 71 kfree(tmp_buf); in regcache_hw_init() 117 void *tmp_buf; in regcache_init() local 173 tmp_buf = kmemdup(config->reg_defaults, map->num_reg_defaults * in regcache_init() 175 if (!tmp_buf) in regcache_init() 177 map->reg_defaults = tmp_buf; in regcache_init() [all...] |
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/ |
H A D | debugfs.c | 850 char tmp_buf[32]; in hl_data_read32() local 868 sprintf(tmp_buf, "0x%08x\n", val); in hl_data_read32() 869 return simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_data_read32() 870 strlen(tmp_buf)); in hl_data_read32() 905 char tmp_buf[32]; in hl_data_read64() local 921 sprintf(tmp_buf, "0x%016llx\n", val); in hl_data_read64() 922 return simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_data_read64() 923 strlen(tmp_buf)); in hl_data_read64() 1057 char tmp_buf[200]; in hl_get_power_state() local 1070 sprintf(tmp_buf, in hl_get_power_state() 1111 char tmp_buf[32]; hl_i2c_data_read() local 1272 char tmp_buf[200]; hl_stop_on_err_read() local 1386 char tmp_buf[200]; hl_timeout_locked_read() local [all...] |
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/ |
H A D | debugfs.c | 699 char tmp_buf[32]; in hl_data_read32() local 724 sprintf(tmp_buf, "0x%08x\n", val); in hl_data_read32() 725 return simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_data_read32() 726 strlen(tmp_buf)); in hl_data_read32() 768 char tmp_buf[32]; in hl_data_read64() local 788 sprintf(tmp_buf, "0x%016llx\n", val); in hl_data_read64() 789 return simple_read_from_buffer(buf, count, ppos, tmp_buf, in hl_data_read64() 790 strlen(tmp_buf)); in hl_data_read64() 827 char tmp_buf[200]; in hl_get_power_state() local 840 sprintf(tmp_buf, in hl_get_power_state() 881 char tmp_buf[32]; hl_i2c_data_read() local 1030 char tmp_buf[200]; hl_clk_gate_read() local 1072 char tmp_buf[200]; hl_stop_on_err_read() local [all...] |
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ipc/ |
H A D | pci-ish.c | 56 char tmp_buf[100]; in ish_event_tracer() local 59 vsnprintf(tmp_buf, sizeof(tmp_buf), format, args); in ish_event_tracer() 62 trace_ishtp_dump(tmp_buf); in ish_event_tracer()
|
/kernel/linux/linux-5.10/fs/jffs2/ |
H A D | compr.c | 155 unsigned char *output_buf = NULL, *tmp_buf; in jffs2_compress() local 190 tmp_buf = kmalloc(orig_slen, GFP_KERNEL); in jffs2_compress() 192 if (!tmp_buf) { in jffs2_compress() 198 this->compr_buf = tmp_buf; in jffs2_compress()
|
/kernel/linux/linux-6.6/fs/jffs2/ |
H A D | compr.c | 155 unsigned char *output_buf = NULL, *tmp_buf; in jffs2_compress() local 190 tmp_buf = kmalloc(orig_slen, GFP_KERNEL); in jffs2_compress() 192 if (!tmp_buf) { in jffs2_compress() 198 this->compr_buf = tmp_buf; in jffs2_compress()
|