Home
last modified time | relevance | path

Searched refs:create (Results 1 – 25 of 1104) sorted by relevance

12345678910>>...45

/linux/tools/testing/selftests/drivers/dma-buf/
A Dudmabuf.c28 struct udmabuf_create create; in main() local
59 memset(&create, 0, sizeof(create)); in main()
62 create.memfd = memfd; in main()
64 create.size = getpagesize(); in main()
72 create.memfd = memfd; in main()
73 create.offset = 0; in main()
83 create.offset = 0; in main()
84 create.size = size; in main()
92 create.memfd = memfd; in main()
93 create.offset = 0; in main()
[all …]
/linux/fs/ocfs2/dlm/
A Ddlmlock.c287 struct dlm_create_lock create; in dlm_send_remote_lock_request() local
291 memset(&create, 0, sizeof(create)); in dlm_send_remote_lock_request()
292 create.node_idx = dlm->node_num; in dlm_send_remote_lock_request()
294 create.cookie = lock->ml.cookie; in dlm_send_remote_lock_request()
296 create.flags = cpu_to_be32(flags); in dlm_send_remote_lock_request()
297 memcpy(create.name, res->lockname.name, create.namelen); in dlm_send_remote_lock_request()
307 create.name, res->owner); in dlm_send_remote_lock_request()
313 "node %u\n", dlm->name, create.namelen, create.name, in dlm_send_remote_lock_request()
457 name = create->name; in dlm_create_lock_handler()
458 namelen = create->namelen; in dlm_create_lock_handler()
[all …]
/linux/kernel/
A Dkthread.c277 void *data = create->data; in kthread()
288 kfree(create); in kthread()
313 create->result = current; in kthread()
356 kfree(create); in create_kthread()
372 struct kthread_create_info *create = kmalloc(sizeof(*create), in __kthread_create_on_node() local
375 if (!create) in __kthread_create_on_node()
378 create->data = data; in __kthread_create_on_node()
379 create->node = node; in __kthread_create_on_node()
380 create->done = &done; in __kthread_create_on_node()
406 task = create->result; in __kthread_create_on_node()
[all …]
/linux/samples/uhid/
A Duhid-example.c176 static int create(int fd) in create() function
182 strcpy((char*)ev.u.create.name, "test-uhid-device"); in create()
183 ev.u.create.rd_data = rdesc; in create()
184 ev.u.create.rd_size = sizeof(rdesc); in create()
185 ev.u.create.bus = BUS_USB; in create()
186 ev.u.create.vendor = 0x15d9; in create()
187 ev.u.create.product = 0x0a37; in create()
188 ev.u.create.version = 0; in create()
189 ev.u.create.country = 0; in create()
423 ret = create(fd); in main()
/linux/Documentation/admin-guide/sysctl/
A Duser.rst19 malfunction and attempt to create a ridiculous number of objects,
42 user namespace may create.
48 user namespace may create.
54 user namespace may create.
60 current user namespace may create.
66 user namespace may create.
72 user namespace may create.
78 user namespace may create.
84 user namespace may create.
/linux/include/net/
A Dinetpeer.h100 int create);
104 int vif, int create) in inet_getpeer_v4() argument
111 return inet_getpeer(base, &daddr, create); in inet_getpeer_v4()
116 int create) in inet_getpeer_v6() argument
122 return inet_getpeer(base, &daddr, create); in inet_getpeer_v6()
/linux/fs/bfs/
A Dfile.c65 struct buffer_head *bh_result, int create) in bfs_get_block() argument
74 if (!create) { in bfs_get_block()
77 create, (unsigned long)block, phys); in bfs_get_block()
89 create, (unsigned long)block, phys); in bfs_get_block()
108 create, (unsigned long)block, phys); in bfs_get_block()
136 create, (unsigned long)block, phys); in bfs_get_block()
/linux/tools/lib/perf/Documentation/
A Dlibperf-counting.txt75 We create software events for cpu and task:
97 In this case we will monitor current process, so we create threads map with single pid (0):
103 39 fprintf(stderr, "failed to create threads\n");
110 Now we create libperf's event list, which will serve as holder for the events we want:
116 47 fprintf(stderr, "failed to create evlist\n");
121 We create libperf's events for the attributes we defined earlier and add them to the list:
127 53 fprintf(stderr, "failed to create evsel1\n");
135 61 fprintf(stderr, "failed to create evsel2\n");
A Dlibperf-sampling.txt102 44 fprintf(stderr, "failed to create cpus\n");
107 Now we create libperf's event list, which will serve as holder for the cycles event:
113 50 fprintf(stderr, "failed to create evlist\n");
118 We create libperf's event for the cycles attribute we defined earlier and add it to the list:
124 56 fprintf(stderr, "failed to create cycles\n");
144 Once the events list is open, we can create memory maps AKA perf ring buffers:
/linux/Documentation/admin-guide/device-mapper/
A Dunstriped.rst61 echo $DM_PARMS | dmsetup create raid0
63 echo "0 1 unstriped ${NUM} ${CHUNK} ${i} /dev/mapper/raid0 0" | dmsetup create set-${i}
118 dmsetup create nvmset0 --table '0 512 unstriped 2 256 0 /dev/nvme0n1 0'
119 dmsetup create nvmset1 --table '0 512 unstriped 2 256 1 /dev/nvme0n1 0'
132 dmsetup create raid_disk0 --table '0 512 unstriped 4 256 0 /dev/mapper/striped 0'
133 dmsetup create raid_disk1 --table '0 512 unstriped 4 256 1 /dev/mapper/striped 0'
134 dmsetup create raid_disk2 --table '0 512 unstriped 4 256 2 /dev/mapper/striped 0'
135 dmsetup create raid_disk3 --table '0 512 unstriped 4 256 3 /dev/mapper/striped 0'
A Dzero.rst20 To create a sparse device, start by creating a dm-zero device that's the
25 echo "0 $TEN_TERABYTES zero" | dmsetup create zero1
27 Then create a snapshot of the zero device, using any available block-device as
33 dmsetup create sparse1
35 This will create a 10TB sparse device called /dev/mapper/sparse1 that has
A Dlinear.rst24 echo "0 `blockdev --getsz $1` linear $1 0" | dmsetup create identity
33 $size1 $size2 linear $2 0" | dmsetup create joined
63 `echo \"$table\" | dmsetup create $name`;
A Ddm-init.rst11 The second is to create one or more device-mappers using the module parameter
12 "dm-mod.create=" through the kernel boot command line argument.
23 …dm-mod.create=<name>,<uuid>,<minor>,<flags>,<table>[,<table>+][;<name>,<uuid>,<minor>,<flags>,<tab…
73 dm-mod.create="lroot,,,rw, 0 4096 linear 98:16 0, 4096 4096 linear 98:32 0" root=/dev/dm-0
79 An example of multiple device-mappers, with the dm-mod.create="..." contents
/linux/Documentation/sound/designs/
A Djack-controls.rst26 Each jack will have a kcontrol list, so that we can create a kcontrol
39 if true, create a kcontrol and add it to the jack list.
41 Don't create a input device for phantom jacks.
43 HDA jacks can set phantom_jack to true in order to create a phantom
44 jack and set initial_kctl to true to create an initial kcontrol with
/linux/drivers/md/
A Ddm-init.c22 static char *create; variable
271 if (!create) in dm_init_init()
274 if (strlen(create) >= DM_MAX_STR_SIZE) { in dm_init_init()
278 str = kstrndup(create, DM_MAX_STR_SIZE, GFP_KERNEL); in dm_init_init()
302 module_param(create, charp, 0);
303 MODULE_PARM_DESC(create, "Create a mapped device in early boot");
/linux/net/bridge/
A Dbr_cfm.c25 if (mep->create.ifindex == ifindex) in br_mep_find_ifindex()
499 struct br_cfm_mep_create *const create, in br_cfm_mep_create() argument
507 if (create->domain == BR_CFM_VLAN) { in br_cfm_mep_create()
512 if (create->domain != BR_CFM_PORT) { in br_cfm_mep_create()
517 if (create->direction == BR_CFM_MEP_DIRECTION_UP) { in br_cfm_mep_create()
522 if (create->direction != BR_CFM_MEP_DIRECTION_DOWN) { in br_cfm_mep_create()
527 p = br_mep_get_port(br, create->ifindex); in br_cfm_mep_create()
541 if (create->domain == BR_CFM_PORT) { in br_cfm_mep_create()
542 mep = br_mep_find_ifindex(br, create->ifindex); in br_cfm_mep_create()
554 mep->create = *create; in br_cfm_mep_create()
[all …]
A Dbr_cfm_netlink.c94 struct br_cfm_mep_create create; in br_mep_create_parse() local
120 memset(&create, 0, sizeof(create)); in br_mep_create_parse()
123 create.domain = nla_get_u32(tb[IFLA_BRIDGE_CFM_MEP_CREATE_DOMAIN]); in br_mep_create_parse()
124 create.direction = nla_get_u32(tb[IFLA_BRIDGE_CFM_MEP_CREATE_DIRECTION]); in br_mep_create_parse()
125 create.ifindex = nla_get_u32(tb[IFLA_BRIDGE_CFM_MEP_CREATE_IFINDEX]); in br_mep_create_parse()
127 return br_cfm_mep_create(br, instance, &create, extack); in br_mep_create_parse()
471 mep->create.domain)) in br_cfm_config_fill_info()
475 mep->create.direction)) in br_cfm_config_fill_info()
479 mep->create.ifindex)) in br_cfm_config_fill_info()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dmsgbuf.c620 create->msg.ifidx = work->ifidx; in brcmf_msgbuf_flowring_create_worker()
621 create->msg.request_id = 0; in brcmf_msgbuf_flowring_create_worker()
625 memcpy(create->sa, work->sa, ETH_ALEN); in brcmf_msgbuf_flowring_create_worker()
651 struct brcmf_msgbuf_work_item *create; in brcmf_msgbuf_flowring_worker() local
657 kfree(create); in brcmf_msgbuf_flowring_worker()
665 struct brcmf_msgbuf_work_item *create; in brcmf_msgbuf_flowring_create() local
670 create = kzalloc(sizeof(*create), GFP_ATOMIC); in brcmf_msgbuf_flowring_create()
671 if (create == NULL) in brcmf_msgbuf_flowring_create()
677 kfree(create); in brcmf_msgbuf_flowring_create()
681 create->flowid = flowid; in brcmf_msgbuf_flowring_create()
[all …]
/linux/drivers/gpu/drm/qxl/
A Dqxl_cmd.c387 struct qxl_surface_create *create; in qxl_io_create_primary() local
393 create = &qdev->ram_header->create_surface; in qxl_io_create_primary()
394 create->format = bo->surf.format; in qxl_io_create_primary()
395 create->width = bo->surf.width; in qxl_io_create_primary()
396 create->height = bo->surf.height; in qxl_io_create_primary()
397 create->stride = bo->surf.stride; in qxl_io_create_primary()
398 create->mem = qxl_bo_physical_address(qdev, bo, 0); in qxl_io_create_primary()
400 DRM_DEBUG_DRIVER("mem = %llx, from %p\n", create->mem, bo->kptr); in qxl_io_create_primary()
402 create->flags = QXL_SURF_FLAG_KEEP_DATA; in qxl_io_create_primary()
403 create->type = QXL_SURF_TYPE_PRIMARY; in qxl_io_create_primary()
/linux/drivers/dma-buf/
A Dudmabuf.c291 struct udmabuf_create create; in udmabuf_ioctl_create() local
295 if (copy_from_user(&create, (void __user *)arg, in udmabuf_ioctl_create()
296 sizeof(create))) in udmabuf_ioctl_create()
299 head.flags = create.flags; in udmabuf_ioctl_create()
301 list.memfd = create.memfd; in udmabuf_ioctl_create()
302 list.offset = create.offset; in udmabuf_ioctl_create()
303 list.size = create.size; in udmabuf_ioctl_create()
/linux/fs/nfs/
A Dnfs3proc.c286 struct nfs3_createargs create; member
351 data->arg.create.fh = NFS_FH(dir); in nfs3_proc_create()
352 data->arg.create.name = dentry->d_name.name; in nfs3_proc_create()
353 data->arg.create.len = dentry->d_name.len; in nfs3_proc_create()
354 data->arg.create.sattr = sattr; in nfs3_proc_create()
356 data->arg.create.createmode = NFS3_CREATE_UNCHECKED; in nfs3_proc_create()
359 data->arg.create.verifier[0] = cpu_to_be32(jiffies); in nfs3_proc_create()
375 switch (data->arg.create.createmode) { in nfs3_proc_create()
377 data->arg.create.createmode = NFS3_CREATE_GUARDED; in nfs3_proc_create()
985 .create = nfs_create,
[all …]
/linux/Documentation/input/
A Duinput.rst10 process can create a virtual input device with specific capabilities. Once
21 The uinput header defines ioctls to create, set up, and destroy virtual
28 create uinput devices and send events. libevdev is less error-prone than
40 This first example shows how to create a new virtual device, and how to
86 * On UI_DEV_CREATE the kernel will create the device node for this
115 This example shows how to create a virtual device that behaves like a physical
149 * On UI_DEV_CREATE the kernel will create the device node for this
220 * On UI_DEV_CREATE the kernel will create the device node for this
/linux/fs/orangefs/
A Dnamei.c39 new_op->upcall.req.create.parent_refn = parent->refn; in orangefs_create()
41 fill_default_sys_attrs(new_op->upcall.req.create.attributes, in orangefs_create()
44 strncpy(new_op->upcall.req.create.d_name, in orangefs_create()
53 &new_op->downcall.resp.create.refn.khandle, in orangefs_create()
54 new_op->downcall.resp.create.refn.fs_id, in orangefs_create()
61 ref = new_op->downcall.resp.create.refn; in orangefs_create()
435 .create = orangefs_create,
/linux/fs/nfsd/
A Dnfs4proc.c619 struct nfsd4_create *create = &u->create; in nfsd4_create() local
639 create->cr_name, create->cr_namelen, in nfsd4_create()
645 rdev = MKDEV(create->cr_specdata1, create->cr_specdata2); in nfsd4_create()
650 create->cr_name, create->cr_namelen, in nfsd4_create()
656 rdev = MKDEV(create->cr_specdata1, create->cr_specdata2); in nfsd4_create()
661 create->cr_name, create->cr_namelen, in nfsd4_create()
667 create->cr_name, create->cr_namelen, in nfsd4_create()
673 create->cr_name, create->cr_namelen, in nfsd4_create()
680 create->cr_name, create->cr_namelen, in nfsd4_create()
692 nfsd4_security_inode_setsecctx(&resfh, &create->cr_label, create->cr_bmval); in nfsd4_create()
[all …]
/linux/drivers/hid/
A Duhid.c431 memcpy(event->u.create.name, compat->name, in uhid_event_from_user()
433 memcpy(event->u.create.phys, compat->phys, in uhid_event_from_user()
435 memcpy(event->u.create.uniq, compat->uniq, in uhid_event_from_user()
438 event->u.create.rd_data = compat_ptr(compat->rd_data); in uhid_event_from_user()
439 event->u.create.rd_size = compat->rd_size; in uhid_event_from_user()
441 event->u.create.bus = compat->bus; in uhid_event_from_user()
442 event->u.create.vendor = compat->vendor; in uhid_event_from_user()
443 event->u.create.product = compat->product; in uhid_event_from_user()
444 event->u.create.version = compat->version; in uhid_event_from_user()
445 event->u.create.country = compat->country; in uhid_event_from_user()
[all …]

Completed in 51 milliseconds

12345678910>>...45