Home
last modified time | relevance | path

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

123456

/drivers/lightnvm/
Dcore.c305 static int nvm_create_tgt(struct nvm_dev *dev, struct nvm_ioctl_create *create) in nvm_create_tgt() argument
317 switch (create->conf.type) { in nvm_create_tgt()
319 ret = __nvm_config_simple(dev, &create->conf.s); in nvm_create_tgt()
323 e.lun_begin = create->conf.s.lun_begin; in nvm_create_tgt()
324 e.lun_end = create->conf.s.lun_end; in nvm_create_tgt()
328 ret = __nvm_config_extended(dev, &create->conf.e); in nvm_create_tgt()
332 e = create->conf.e; in nvm_create_tgt()
339 tt = nvm_find_target_type(create->tgttype); in nvm_create_tgt()
341 pr_err("target type %s not found\n", create->tgttype); in nvm_create_tgt()
350 if (nvm_target_exists(create->tgtname)) { in nvm_create_tgt()
[all …]
/drivers/md/
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");
Ddm-path-selector.h40 int (*create) (struct path_selector *ps, unsigned argc, char **argv); member
Ddm-cache-policy.h176 struct dm_cache_policy *(*create)(dm_cblock_t cache_size, member
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dmsgbuf.c587 struct msgbuf_tx_flowring_create_req *create; in brcmf_msgbuf_flowring_create_worker() local
621 create = (struct msgbuf_tx_flowring_create_req *)ret_ptr; in brcmf_msgbuf_flowring_create_worker()
622 create->msg.msgtype = MSGBUF_TYPE_FLOW_RING_CREATE; in brcmf_msgbuf_flowring_create_worker()
623 create->msg.ifidx = work->ifidx; in brcmf_msgbuf_flowring_create_worker()
624 create->msg.request_id = 0; in brcmf_msgbuf_flowring_create_worker()
625 create->tid = brcmf_flowring_tid(msgbuf->flow, flowid); in brcmf_msgbuf_flowring_create_worker()
626 create->flow_ring_id = cpu_to_le16(flowid + in brcmf_msgbuf_flowring_create_worker()
628 memcpy(create->sa, work->sa, ETH_ALEN); in brcmf_msgbuf_flowring_create_worker()
629 memcpy(create->da, work->da, ETH_ALEN); in brcmf_msgbuf_flowring_create_worker()
631 create->flow_ring_addr.high_addr = cpu_to_le32(address >> 32); in brcmf_msgbuf_flowring_create_worker()
[all …]
/drivers/dma-buf/
Dudmabuf.c260 struct udmabuf_create create; in udmabuf_ioctl_create() local
264 if (copy_from_user(&create, (void __user *)arg, in udmabuf_ioctl_create()
265 sizeof(create))) in udmabuf_ioctl_create()
268 head.flags = create.flags; in udmabuf_ioctl_create()
270 list.memfd = create.memfd; in udmabuf_ioctl_create()
271 list.offset = create.offset; in udmabuf_ioctl_create()
272 list.size = create.size; in udmabuf_ioctl_create()
/drivers/gpu/drm/qxl/
Dqxl_cmd.c386 struct qxl_surface_create *create; in qxl_io_create_primary() local
392 create = &qdev->ram_header->create_surface; in qxl_io_create_primary()
393 create->format = bo->surf.format; in qxl_io_create_primary()
394 create->width = bo->surf.width; in qxl_io_create_primary()
395 create->height = bo->surf.height; in qxl_io_create_primary()
396 create->stride = bo->surf.stride; in qxl_io_create_primary()
397 create->mem = qxl_bo_physical_address(qdev, bo, 0); in qxl_io_create_primary()
399 DRM_DEBUG_DRIVER("mem = %llx, from %p\n", create->mem, bo->kptr); in qxl_io_create_primary()
401 create->flags = QXL_SURF_FLAG_KEEP_DATA; in qxl_io_create_primary()
402 create->type = QXL_SURF_TYPE_PRIMARY; in qxl_io_create_primary()
/drivers/hid/
Duhid.c451 memcpy(event->u.create.name, compat->name, in uhid_event_from_user()
453 memcpy(event->u.create.phys, compat->phys, in uhid_event_from_user()
455 memcpy(event->u.create.uniq, compat->uniq, in uhid_event_from_user()
458 event->u.create.rd_data = compat_ptr(compat->rd_data); in uhid_event_from_user()
459 event->u.create.rd_size = compat->rd_size; in uhid_event_from_user()
461 event->u.create.bus = compat->bus; in uhid_event_from_user()
462 event->u.create.vendor = compat->vendor; in uhid_event_from_user()
463 event->u.create.product = compat->product; in uhid_event_from_user()
464 event->u.create.version = compat->version; in uhid_event_from_user()
465 event->u.create.country = compat->country; in uhid_event_from_user()
[all …]
/drivers/staging/unisys/visorhba/
DKconfig12 to visorbus to create a HBA device, the probe function of
13 visorhba is called to create the scsi device.
/drivers/staging/unisys/visornic/
DKconfig12 to visorbus to create a network device, the probe function of
13 visornic is called to create the netdev device. Networking on
/drivers/net/ppp/
Dpppox.c129 rc = pppox_protos[protocol]->create(net, sock, kern); in pppox_create()
138 .create = pppox_create,
/drivers/vfio/
Dvfio_iommu_spapr_tce.c1058 struct vfio_iommu_spapr_tce_create create; in tce_iommu_ioctl() local
1073 if (copy_from_user(&create, (void __user *)arg, minsz)) in tce_iommu_ioctl()
1076 if (create.argsz < minsz) in tce_iommu_ioctl()
1079 if (create.flags) in tce_iommu_ioctl()
1087 create.page_shift, in tce_iommu_ioctl()
1088 create.window_size, create.levels, in tce_iommu_ioctl()
1089 &create.start_addr); in tce_iommu_ioctl()
1093 if (!ret && copy_to_user((void __user *)arg, &create, minsz)) in tce_iommu_ioctl()
/drivers/media/common/videobuf2/
Dvideobuf2-v4l2.c753 int vb2_create_bufs(struct vb2_queue *q, struct v4l2_create_buffers *create) in vb2_create_bufs() argument
757 struct v4l2_format *f = &create->format; in vb2_create_bufs()
758 int ret = vb2_verify_memory_type(q, create->memory, f->type); in vb2_create_bufs()
761 fill_buf_caps(q, &create->capabilities); in vb2_create_bufs()
762 create->index = q->num_buffers; in vb2_create_bufs()
763 if (create->count == 0) in vb2_create_bufs()
804 return ret ? ret : vb2_core_create_bufs(q, create->memory, in vb2_create_bufs()
805 &create->count, in vb2_create_bufs()
/drivers/scsi/fcoe/
Dfcoe_transport.c46 module_param_call(create, fcoe_transport_create, NULL,
48 __MODULE_PARM_TYPE(create, "string");
49 MODULE_PARM_DESC(create, " Creates fcoe instance on an ethernet interface");
900 rc = ft->create ? ft->create(netdev, fip_mode) : -ENODEV; in fcoe_transport_create()
/drivers/net/wireless/ath/ar5523/
Dar5523.c1247 struct ar5523_cmd_create_connection create; in ar5523_create_connection() local
1250 memset(&create, 0, sizeof(create)); in ar5523_create_connection()
1251 create.connid = cpu_to_be32(2); in ar5523_create_connection()
1252 create.bssid = cpu_to_be32(0); in ar5523_create_connection()
1254 create.size = cpu_to_be32(sizeof(struct ar5523_cmd_rateset)); in ar5523_create_connection()
1256 ar5523_create_rateset(ar, bss, &create.connattr.rateset, false); in ar5523_create_connection()
1259 create.connattr.wlanmode = cpu_to_be32(wlan_mode); in ar5523_create_connection()
1261 return ar5523_cmd_write(ar, WDCMSG_CREATE_CONNECTION, &create, in ar5523_create_connection()
1262 sizeof(create), 0); in ar5523_create_connection()
/drivers/gpu/drm/lima/
Dlima_vm.h41 int lima_vm_bo_add(struct lima_vm *vm, struct lima_bo *bo, bool create);
/drivers/crypto/amlogic/
DKconfig24 This will create /sys/kernel/debug/gxl-crypto/stats for displaying
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource_priv.h91 int (*create) (struct vmw_resource *res); member
Dvmwgfx_va.c87 .create = NULL,
/drivers/crypto/allwinner/
DKconfig59 This will create /sys/kernel/debug/sun8i-ce/stats for displaying
112 This will create /sys/kernel/debug/sun8i-ss/stats for displaying
/drivers/vfio/mdev/
Dmdev_core.c150 if (!ops || !ops->create || !ops->remove || !ops->supported_type_groups) in mdev_register_device()
323 ret = parent->ops->create(kobj, mdev); in mdev_device_create()
/drivers/staging/vc04_services/interface/
DTODO78 interesting to create two different kernel modules, something the likes of
87 13) Get rid of all non essential global structures and create a proper per
/drivers/rapidio/switches/
Didt_gen2.c389 static int idtg2_sysfs(struct rio_dev *rdev, bool create) in idtg2_sysfs() argument
394 if (create) { in idtg2_sysfs()
/drivers/base/
DKconfig12 This should not be used today, because usual systems create
14 frame. One forked process per event can create so many processes
16 it is known to create out-of-memory situations during bootup.
/drivers/gpu/drm/i915/gt/
Dgen8_ppgtt.c53 static void gen8_ppgtt_notify_vgt(struct i915_ppgtt *ppgtt, bool create) in gen8_ppgtt_notify_vgt() argument
60 if (create) in gen8_ppgtt_notify_vgt()
75 msg = create ? in gen8_ppgtt_notify_vgt()
90 msg = create ? in gen8_ppgtt_notify_vgt()

123456