/linux-6.1.9/tools/testing/selftests/drivers/dma-buf/ |
D | udmabuf.c | 28 struct udmabuf_create create; in main() local 60 memset(&create, 0, sizeof(create)); in main() 63 create.memfd = memfd; in main() 64 create.offset = getpagesize()/2; in main() 65 create.size = getpagesize(); in main() 66 buf = ioctl(devfd, UDMABUF_CREATE, &create); in main() 73 create.memfd = memfd; in main() 74 create.offset = 0; in main() 75 create.size = getpagesize()/2; in main() 76 buf = ioctl(devfd, UDMABUF_CREATE, &create); in main() [all …]
|
/linux-6.1.9/fs/ocfs2/dlm/ |
D | dlmlock.c | 287 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() 293 create.requested_type = lock->ml.type; in dlm_send_remote_lock_request() 294 create.cookie = lock->ml.cookie; in dlm_send_remote_lock_request() 295 create.namelen = res->lockname.len; 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() 299 tmpret = o2net_send_message(DLM_CREATE_LOCK_MSG, dlm->key, &create, in dlm_send_remote_lock_request() 300 sizeof(create), res->owner, &status); in dlm_send_remote_lock_request() [all …]
|
/linux-6.1.9/kernel/ |
D | kthread.c | 334 struct kthread_create_info *create = _create; in kthread() local 335 int (*threadfn)(void *data) = create->threadfn; in kthread() 336 void *data = create->data; in kthread() 344 done = xchg(&create->done, NULL); in kthread() 346 kfree(create); in kthread() 362 create->result = current; in kthread() 391 static void create_kthread(struct kthread_create_info *create) in create_kthread() argument 396 current->pref_node_fork = create->node; in create_kthread() 399 pid = kernel_thread(kthread, create, CLONE_FS | CLONE_FILES | SIGCHLD); in create_kthread() 402 struct completion *done = xchg(&create->done, NULL); in create_kthread() [all …]
|
/linux-6.1.9/Documentation/admin-guide/sysctl/ |
D | user.rst | 19 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-6.1.9/samples/uhid/ |
D | uhid-example.c | 176 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-6.1.9/include/net/ |
D | inetpeer.h | 100 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-6.1.9/fs/bfs/ |
D | file.c | 65 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-6.1.9/Documentation/sound/designs/ |
D | jack-controls.rst | 26 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-6.1.9/drivers/md/ |
D | dm-init.c | 22 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-6.1.9/tools/lib/perf/Documentation/ |
D | libperf-counting.txt | 75 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");
|
D | libperf-sampling.txt | 102 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-6.1.9/Documentation/admin-guide/device-mapper/ |
D | unstriped.rst | 61 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'
|
D | zero.rst | 20 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
|
D | linear.rst | 24 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`;
|
D | dm-init.rst | 11 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-6.1.9/net/bridge/ |
D | br_cfm.c | 25 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 …]
|
D | br_cfm_netlink.c | 94 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-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | msgbuf.c | 584 struct msgbuf_tx_flowring_create_req *create; in brcmf_msgbuf_flowring_create_worker() local 618 create = (struct msgbuf_tx_flowring_create_req *)ret_ptr; in brcmf_msgbuf_flowring_create_worker() 619 create->msg.msgtype = MSGBUF_TYPE_FLOW_RING_CREATE; in brcmf_msgbuf_flowring_create_worker() 620 create->msg.ifidx = work->ifidx; in brcmf_msgbuf_flowring_create_worker() 621 create->msg.request_id = 0; in brcmf_msgbuf_flowring_create_worker() 622 create->tid = brcmf_flowring_tid(msgbuf->flow, flowid); in brcmf_msgbuf_flowring_create_worker() 623 create->flow_ring_id = cpu_to_le16(flowid + in brcmf_msgbuf_flowring_create_worker() 625 memcpy(create->sa, work->sa, ETH_ALEN); in brcmf_msgbuf_flowring_create_worker() 626 memcpy(create->da, work->da, ETH_ALEN); in brcmf_msgbuf_flowring_create_worker() 628 create->flow_ring_addr.high_addr = cpu_to_le32(address >> 32); in brcmf_msgbuf_flowring_create_worker() [all …]
|
/linux-6.1.9/drivers/dma-buf/ |
D | udmabuf.c | 301 struct udmabuf_create create; in udmabuf_ioctl_create() local 305 if (copy_from_user(&create, (void __user *)arg, in udmabuf_ioctl_create() 306 sizeof(create))) in udmabuf_ioctl_create() 309 head.flags = create.flags; in udmabuf_ioctl_create() 311 list.memfd = create.memfd; in udmabuf_ioctl_create() 312 list.offset = create.offset; in udmabuf_ioctl_create() 313 list.size = create.size; in udmabuf_ioctl_create()
|
/linux-6.1.9/drivers/gpu/drm/qxl/ |
D | qxl_cmd.c | 379 struct qxl_surface_create *create; in qxl_io_create_primary() local 385 create = &qdev->ram_header->create_surface; in qxl_io_create_primary() 386 create->format = bo->surf.format; in qxl_io_create_primary() 387 create->width = bo->surf.width; in qxl_io_create_primary() 388 create->height = bo->surf.height; in qxl_io_create_primary() 389 create->stride = bo->surf.stride; in qxl_io_create_primary() 390 create->mem = qxl_bo_physical_address(qdev, bo, 0); in qxl_io_create_primary() 392 DRM_DEBUG_DRIVER("mem = %llx, from %p\n", create->mem, bo->kptr); in qxl_io_create_primary() 394 create->flags = QXL_SURF_FLAG_KEEP_DATA; in qxl_io_create_primary() 395 create->type = QXL_SURF_TYPE_PRIMARY; in qxl_io_create_primary()
|
/linux-6.1.9/Documentation/input/ |
D | uinput.rst | 10 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-6.1.9/fs/orangefs/ |
D | namei.c | 39 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-6.1.9/fs/nfs/ |
D | nfs3proc.c | 288 struct nfs3_createargs create; member 353 data->arg.create.fh = NFS_FH(dir); in nfs3_proc_create() 354 data->arg.create.name = dentry->d_name.name; in nfs3_proc_create() 355 data->arg.create.len = dentry->d_name.len; in nfs3_proc_create() 356 data->arg.create.sattr = sattr; in nfs3_proc_create() 358 data->arg.create.createmode = NFS3_CREATE_UNCHECKED; in nfs3_proc_create() 360 data->arg.create.createmode = NFS3_CREATE_EXCLUSIVE; in nfs3_proc_create() 361 data->arg.create.verifier[0] = cpu_to_be32(jiffies); in nfs3_proc_create() 362 data->arg.create.verifier[1] = cpu_to_be32(current->pid); in nfs3_proc_create() 377 switch (data->arg.create.createmode) { in nfs3_proc_create() [all …]
|
/linux-6.1.9/fs/efs/ |
D | file.c | 14 struct buffer_head *bh_result, int create) in efs_get_block() argument 19 if (create) in efs_get_block()
|
/linux-6.1.9/Documentation/bpf/ |
D | maps.rst | 11 - create a map with given type and attributes 21 - create or update key/value pair in a given map 33 userspace programs use this syscall to create/access maps that eBPF programs
|