Home
last modified time | relevance | path

Searched refs:devname (Results 1 – 25 of 177) sorted by relevance

12345678

/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
Dp80211metastruct.h53 u8 devname[WLAN_DEVNAMELEN_MAX]; member
61 u8 devname[WLAN_DEVNAMELEN_MAX]; member
69 u8 devname[WLAN_DEVNAMELEN_MAX]; member
89 u8 devname[WLAN_DEVNAMELEN_MAX]; member
138 u8 devname[WLAN_DEVNAMELEN_MAX]; member
176 u8 devname[WLAN_DEVNAMELEN_MAX]; member
184 u8 devname[WLAN_DEVNAMELEN_MAX]; member
198 u8 devname[WLAN_DEVNAMELEN_MAX]; member
207 u8 devname[WLAN_DEVNAMELEN_MAX]; member
219 u8 devname[WLAN_DEVNAMELEN_MAX]; member
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
Diavf_trace.h79 __string(devname, ring->netdev->name)
86 __assign_str(devname, ring->netdev->name);
91 __get_str(devname), __entry->ring,
124 __string(devname, ring->netdev->name)
131 __assign_str(devname, ring->netdev->name);
136 __get_str(devname), __entry->ring,
167 __string(devname, ring->netdev->name)
173 __assign_str(devname, ring->netdev->name);
178 __get_str(devname), __entry->skb,
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_trace.h79 __string(devname, ring->netdev->name)
86 __assign_str(devname, ring->netdev->name);
91 __get_str(devname), __entry->ring,
124 __string(devname, ring->netdev->name)
131 __assign_str(devname, ring->netdev->name);
136 __get_str(devname), __entry->ring,
167 __string(devname, ring->netdev->name)
173 __assign_str(devname, ring->netdev->name);
178 __get_str(devname), __entry->skb,
/kernel/linux/linux-5.10/samples/bpf/
Dtracex1_kern.c32 char devname[IFNAMSIZ]; in bpf_prog1() local
42 bpf_probe_read_kernel(devname, sizeof(devname), dev->name); in bpf_prog1()
44 if (devname[0] == 'l' && devname[1] == 'o') { in bpf_prog1()
/kernel/linux/linux-5.10/drivers/pci/
Dirq.c38 char *devname; in pci_request_irq() local
45 devname = kvasprintf(GFP_KERNEL, fmt, ap); in pci_request_irq()
47 if (!devname) in pci_request_irq()
51 irqflags, devname, dev_id); in pci_request_irq()
53 kfree(devname); in pci_request_irq()
/kernel/linux/linux-5.10/include/trace/events/
Diocost.h22 __string(devname, ioc_name(iocg->ioc))
37 __assign_str(devname, ioc_name(iocg->ioc));
54 __get_str(devname), __get_str(cgroup),
72 __string(devname, ioc_name(iocg->ioc))
82 __assign_str(devname, ioc_name(iocg->ioc));
92 __get_str(devname), __get_str(cgroup), __entry->now,
136 __string(devname, ioc_name(ioc))
148 __assign_str(devname, ioc_name(ioc));
160 __get_str(devname), __entry->old_vrate, __entry->new_vrate,
177 __string(devname, ioc_name(iocg->ioc))
[all …]
/kernel/linux/linux-5.10/kernel/irq/
Ddevres.c53 unsigned long irqflags, const char *devname, in devm_request_threaded_irq() argument
64 if (!devname) in devm_request_threaded_irq()
65 devname = dev_name(dev); in devm_request_threaded_irq()
67 rc = request_threaded_irq(irq, handler, thread_fn, irqflags, devname, in devm_request_threaded_irq()
101 const char *devname, void *dev_id) in devm_request_any_context_irq() argument
111 if (!devname) in devm_request_any_context_irq()
112 devname = dev_name(dev); in devm_request_any_context_irq()
114 rc = request_any_context_irq(irq, handler, irqflags, devname, dev_id); in devm_request_any_context_irq()
/kernel/linux/linux-5.10/net/decnet/
Dsysctl_net_decnet.c186 char devname[17]; in dn_def_dev_handler() local
197 memcpy(devname, buffer, *lenp); in dn_def_dev_handler()
198 devname[*lenp] = 0; in dn_def_dev_handler()
199 strip_it(devname); in dn_def_dev_handler()
201 dev = dev_get_by_name(&init_net, devname); in dn_def_dev_handler()
225 strcpy(devname, dev->name); in dn_def_dev_handler()
227 len = strlen(devname); in dn_def_dev_handler()
228 devname[len++] = '\n'; in dn_def_dev_handler()
232 memcpy(buffer, devname, len); in dn_def_dev_handler()
/kernel/linux/linux-5.10/drivers/mtd/devices/
Dslram.c224 static int parse_cmdline(char *devname, char *szstart, char *szlength) in parse_cmdline() argument
230 if ((!devname) || (!szstart) || (!szlength)) { in parse_cmdline()
250 devname, devstart, devlength); in parse_cmdline()
254 if ((devstart = register_device(devname, devstart, devlength))){ in parse_cmdline()
279 char *devname; in init_slram() local
290 devname = devstart = devlength = NULL; in init_slram()
292 if (!(devname = strsep(&map, ","))) { in init_slram()
296 T("slram: devname = %s\n", devname); in init_slram()
305 if (parse_cmdline(devname, devstart, devlength) != 0) { in init_slram()
322 devname = map[i * 3]; in init_slram()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_trace.h26 __string(devname, &hdev->nic.kinfo.netdev->name)
34 __assign_str(devname, &hdev->nic.kinfo.netdev->name);
41 __get_str(pciname), __get_str(devname), __entry->vfid,
58 __string(devname, &hdev->nic.kinfo.netdev->name)
67 __assign_str(devname, &hdev->nic.kinfo.netdev->name);
74 __get_str(pciname), __get_str(devname), __entry->vfid,
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_trace.h27 __string(devname, &hdev->vport[0].nic.kinfo.netdev->name)
36 __assign_str(devname, &hdev->vport[0].nic.kinfo.netdev->name);
43 __get_str(pciname), __get_str(devname), __entry->vfid,
59 __string(devname, &hdev->vport[0].nic.kinfo.netdev->name)
67 __assign_str(devname, &hdev->vport[0].nic.kinfo.netdev->name);
74 __get_str(pciname), __get_str(devname), __entry->vfid,
/kernel/linux/linux-5.10/drivers/md/
Dmd-autodetect.c125 char *devname = args->device_names; in md_setup_drive() local
141 for (i = 0; i < MD_SB_DISKS && devname != NULL; i++) { in md_setup_drive()
147 p = strchr(devname, ','); in md_setup_drive()
151 dev = name_to_dev_t(devname); in md_setup_drive()
152 if (strncmp(devname, "/dev/", 5) == 0) in md_setup_drive()
153 devname += 5; in md_setup_drive()
154 snprintf(comp_name, 63, "/dev/%s", devname); in md_setup_drive()
158 pr_warn("md: Unknown device name: %s\n", devname); in md_setup_drive()
163 devname = p; in md_setup_drive()
/kernel/linux/linux-5.10/fs/cifs/
Dcifs_dfs_ref.c138 char **devname) in cifs_compose_mount_options() argument
238 if (devname) in cifs_compose_mount_options()
239 *devname = name; in cifs_compose_mount_options()
273 char *devname; in cifs_dfs_do_mount() local
275 devname = kstrndup(fullpath, strlen(fullpath), GFP_KERNEL); in cifs_dfs_do_mount()
276 if (!devname) in cifs_dfs_do_mount()
279 convert_delimiter(devname, '/'); in cifs_dfs_do_mount()
285 kfree(devname); in cifs_dfs_do_mount()
289 mnt = vfs_submount(mntpt, &cifs_fs_type, devname, mountdata); in cifs_dfs_do_mount()
291 kfree(devname); in cifs_dfs_do_mount()
/kernel/linux/linux-5.10/tools/cgroup/
Diocost_coef_gen.py62 devname = subprocess.run(f'findmnt -nvo SOURCE -T{path}',
64 devname = os.path.basename(devname).decode('utf-8').strip()
67 parents = glob.glob('/sys/block/*/' + devname)
69 devname = os.path.basename(os.path.dirname(parents[0]))
71 return (devname, f'{os.major(rdev)}:{os.minor(rdev)}')
127 devname = os.path.basename(args.testdev) variable
133 devname, devno = dir_to_dev('.') variable
/kernel/linux/linux-5.10/include/xen/
Devents.h21 unsigned long irqflags, const char *devname,
25 unsigned long irqflags, const char *devname,
30 unsigned long irqflags, const char *devname,
36 const char *devname,
44 const char *devname,
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_trace.h78 __string(devname, ring->tqp->handle->kinfo.netdev->name)
88 __assign_str(devname, ring->tqp->handle->kinfo.netdev->name);
93 __get_str(devname), __entry->index, __entry->ntu,
110 __string(devname, ring->tqp->handle->kinfo.netdev->name)
121 __assign_str(devname, ring->tqp->handle->kinfo.netdev->name);
126 __get_str(devname), __entry->index, __entry->ntu,
/kernel/linux/linux-5.10/include/linux/
Dinterrupt.h173 unsigned long flags, const char *devname,
182 const char *devname, void __percpu *percpu_dev_id) in request_percpu_irq() argument
185 devname, percpu_dev_id); in request_percpu_irq()
190 const char *devname, void __percpu *dev);
203 unsigned long irqflags, const char *devname,
208 unsigned long irqflags, const char *devname, void *dev_id) in devm_request_irq() argument
211 devname, dev_id); in devm_request_irq()
217 const char *devname, void *dev_id);
/kernel/linux/linux-5.10/fs/orangefs/
Dsuper.c256 orangefs_sb->devname, in orangefs_remount()
393 static int orangefs_unmount(int id, __s32 fs_id, const char *devname) in orangefs_unmount() argument
403 devname, ORANGEFS_MAX_SERVER_ADDR_LEN - 1); in orangefs_unmount()
475 const char *devname, in orangefs_mount() argument
485 devname); in orangefs_mount()
487 if (!devname) { in orangefs_mount()
497 devname, in orangefs_mount()
521 new_op->downcall.resp.fs_mount.fs_id, devname); in orangefs_mount()
545 strncpy(ORANGEFS_SB(sb)->devname, in orangefs_mount()
546 devname, in orangefs_mount()
[all …]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-i2c.c33 const char *devname, const char *postfix) in v4l2_i2c_subdev_set_name() argument
35 if (!devname) in v4l2_i2c_subdev_set_name()
36 devname = client->dev.driver->name; in v4l2_i2c_subdev_set_name()
40 snprintf(sd->name, sizeof(sd->name), "%s%s %d-%04x", devname, postfix, in v4l2_i2c_subdev_set_name()
/kernel/linux/linux-5.10/drivers/mfd/
Dintel-lpss.c290 const char *devname, in intel_lpss_register_clock_divider() argument
296 snprintf(name, sizeof(name), "%s-enable", devname); in intel_lpss_register_clock_divider()
302 snprintf(name, sizeof(name), "%s-div", devname); in intel_lpss_register_clock_divider()
310 snprintf(name, sizeof(name), "%s-update", devname); in intel_lpss_register_clock_divider()
324 char devname[24]; in intel_lpss_register_clock() local
336 snprintf(devname, sizeof(devname), "%s.%d", cell->name, lpss->devid); in intel_lpss_register_clock()
343 ret = intel_lpss_register_clock_divider(lpss, devname, &clk); in intel_lpss_register_clock()
351 lpss->clock = clkdev_create(clk, lpss->info->clk_con_id, "%s", devname); in intel_lpss_register_clock()
/kernel/linux/linux-5.10/drivers/hwtracing/stm/
Dpolicy.c392 char *devname, *proto, *p; in stp_policy_make() local
397 devname = kasprintf(GFP_KERNEL, "%s", name); in stp_policy_make()
398 if (!devname) in stp_policy_make()
408 p = strrchr(devname, '.'); in stp_policy_make()
410 kfree(devname); in stp_policy_make()
421 proto = strrchr(devname, ':'); in stp_policy_make()
425 stm = stm_find_device(devname); in stp_policy_make()
427 kfree(devname); in stp_policy_make()
432 kfree(devname); in stp_policy_make()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/nx-gzip/
Dgzip_vas.c51 static int open_device_nodes(char *devname, int pri, struct nx_handle *handle) in open_device_nodes() argument
57 fd = open(devname, O_RDWR); in open_device_nodes()
59 fprintf(stderr, " open device name %s\n", devname); in open_device_nodes()
91 char *devname = "/dev/crypto/nx-gzip"; in nx_function_begin() local
109 rc = open_device_nodes(devname, pri, nxhandle); in nx_function_begin()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/
Den_rep_tracepoint.h18 TP_STRUCT__entry(__string(devname, nhe->m_neigh.dev->name)
28 __assign_str(devname, mn->dev->name);
42 __get_str(devname), __entry->ha,
/kernel/linux/linux-5.10/security/apparmor/
Dmount.c241 const char *mntpnt, const char *devname, in do_match_mnt() argument
255 if (devname) in do_match_mnt()
256 state = aa_dfa_match(dfa, state, devname); in do_match_mnt()
318 const char *devname, const char *type, in match_mnt_path_str() argument
337 if (IS_ERR(devname)) { in match_mnt_path_str()
338 error = PTR_ERR(devname); in match_mnt_path_str()
339 devname = NULL; in match_mnt_path_str()
347 mntpnt, devname, type, flags, data, binary, &perms); in match_mnt_path_str()
355 return audit_mount(profile, OP_MOUNT, mntpnt, devname, type, NULL, in match_mnt_path_str()
378 const char *devname = NULL, *info = NULL; in match_mnt() local
[all …]
/kernel/linux/linux-5.10/fs/nfs/blocklayout/
Ddev.c312 const char *devname; in bl_open_udev_path() local
314 devname = kasprintf(GFP_KERNEL, "/dev/disk/by-id/wwn-0x%*phN", in bl_open_udev_path()
316 if (!devname) in bl_open_udev_path()
319 bdev = blkdev_get_by_path(devname, FMODE_READ | FMODE_WRITE, NULL); in bl_open_udev_path()
322 devname, PTR_ERR(bdev)); in bl_open_udev_path()
325 kfree(devname); in bl_open_udev_path()
337 const char *devname; in bl_open_dm_mpath_udev_path() local
339 devname = kasprintf(GFP_KERNEL, in bl_open_dm_mpath_udev_path()
343 if (!devname) in bl_open_dm_mpath_udev_path()
346 bdev = blkdev_get_by_path(devname, FMODE_READ | FMODE_WRITE, NULL); in bl_open_dm_mpath_udev_path()
[all …]

12345678