Searched refs:retval (Results 276 - 300 of 1378) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/video/fbdev/
H A Dgrvga.c327 int retval = -ENOMEM; local
346 retval = -ENODEV;
362 retval = -EINVAL;
383 retval = -EBUSY;
393 retval = -ENOMEM;
397 retval = fb_alloc_cmap(&info->cmap, 256, 0);
398 if (retval < 0) {
400 retval = -ENOMEM;
405 retval = fb_find_mode(&info->var, info, mode_opt,
407 if (!retval || retva
[all...]
/linux-master/mm/
H A Ddmapool.c227 struct dma_pool *retval; local
254 retval = kzalloc(sizeof(*retval), GFP_KERNEL);
255 if (!retval)
256 return retval;
258 strscpy(retval->name, name, sizeof(retval->name));
260 retval->dev = dev;
262 INIT_LIST_HEAD(&retval->page_list);
263 spin_lock_init(&retval
[all...]
/linux-master/drivers/usb/host/
H A Dohci-pxa27x.c268 int retval; local
274 retval = clk_prepare_enable(pxa_ohci->clk);
275 if (retval)
276 return retval;
289 retval = inf->init(dev);
291 if (retval < 0) {
293 return retval;
405 int retval, irq; local
414 retval = ohci_pxa_of_init(pdev);
415 if (retval)
[all...]
H A Dehci-pci.c65 int retval; local
72 retval = pci_set_mwi(pdev);
73 if (!retval)
95 int retval; local
159 retval = -EIO;
260 retval = ehci_setup(hcd);
261 if (retval)
262 return retval;
339 retval = ehci_pci_reinit(ehci, pdev);
341 return retval;
[all...]
/linux-master/sound/soc/intel/atom/
H A Dsst-mfld-platform-compress.c100 int retval; local
110 retval = sst_fill_stream_params(cstream, ctx, &str_params, true);
111 pr_debug("compr_set_params: fill stream params ret_val = 0x%x\n", retval);
112 if (retval < 0)
113 return retval;
159 retval = stream->compr_ops->open(sst->dev, &str_params, &cb);
160 if (retval < 0) {
161 pr_err("stream allocation failed %d\n", retval);
162 return retval;
165 stream->id = retval;
[all...]
/linux-master/tools/testing/selftests/memory-hotplug/
H A Dmem-on-off-test.sh141 retval=1
150 retval=0
192 retval=1
218 retval=1
231 retval=1
254 exit $retval
259 exit $retval
282 retval=1
299 retval=1
312 exit $retval
[all...]
/linux-master/drivers/staging/greybus/
H A Duart.c385 int retval; local
391 retval = tty_standard_install(driver, tty);
392 if (retval)
399 return retval;
559 int retval; local
563 retval = gb_tty_write(tty, &stop_char, 1);
564 if (retval <= 0)
570 retval = send_control(gb_tty, gb_tty->ctrlout);
578 int retval; local
582 retval
614 int retval = 0; local
636 int retval = 0; local
809 int retval; local
947 int retval = 0; local
[all...]
H A Dloopback.c512 int retval; local
519 retval = gb_loopback_operation_sync(gb, GB_LOOPBACK_TYPE_SINK,
523 return retval;
530 int retval; local
547 retval = gb_loopback_operation_sync(gb, GB_LOOPBACK_TYPE_TRANSFER,
550 if (retval)
556 retval = -EREMOTEIO;
565 return retval;
577 int retval; local
584 retval
599 int retval = 0; local
625 int retval, response_len; local
945 int retval; local
981 int retval; local
1146 int retval; local
[all...]
/linux-master/drivers/pci/hotplug/
H A Dpciehp_core.c55 int retval; local
81 retval = pci_hp_initialize(&ctrl->hotplug_slot,
83 if (retval) {
84 ctrl_err(ctrl, "pci_hp_initialize failed: error %d\n", retval);
87 return retval;
361 int retval = 0; local
363 retval = pcie_port_service_register(&hpdriver_portdrv);
364 pr_debug("pcie_port_service_register = %d\n", retval);
365 if (retval)
368 return retval;
[all...]
/linux-master/sound/soc/intel/atom/sst/
H A Dsst_pvt.c84 int retval = 0; local
92 retval = -EBUSY;
95 retval = 0;
99 retval = -EINTR;
101 return retval;
116 int retval = 0; local
134 retval = -block->ret_code;
142 retval = -EBUSY;
144 return retval;
190 int retval; local
[all...]
/linux-master/drivers/input/mouse/
H A Delan_i2c_core.c540 int retval; local
547 retval = __elan_update_firmware(data, fw);
548 if (retval) {
549 dev_err(&client->dev, "firmware update failed: %d\n", retval);
560 return retval;
678 int retval; local
682 retval = mutex_lock_interruptible(&data->sysfs_mutex);
683 if (retval)
684 return retval;
689 retval
792 int retval; local
850 int retval; local
873 int retval; local
[all...]
/linux-master/drivers/staging/vme_user/
H A Dvme_user.c181 ssize_t retval; local
204 retval = resource_to_user(minor, buf, count, ppos);
207 retval = buffer_to_user(minor, buf, count, ppos);
210 retval = -EINVAL;
214 if (retval > 0)
215 *ppos += retval;
217 return retval;
224 ssize_t retval; local
246 retval = resource_from_user(minor, buf, count, ppos);
249 retval
300 int retval; local
731 int retval = 0; local
[all...]
/linux-master/net/sctp/
H A Doutput.c184 enum sctp_xmit retval; local
189 switch ((retval = (sctp_packet_append_chunk(packet, chunk)))) {
202 retval = sctp_packet_append_chunk(packet,
213 return retval;
245 enum sctp_xmit retval = SCTP_XMIT_OK; local
250 return retval;
256 return retval;
262 return retval;
266 return retval;
271 retval
283 enum sctp_xmit retval = SCTP_XMIT_OK; local
332 enum sctp_xmit retval = SCTP_XMIT_OK; local
386 enum sctp_xmit retval = SCTP_XMIT_OK; local
785 enum sctp_xmit retval = SCTP_XMIT_OK; local
[all...]
H A Dstream_interleave.c29 struct sctp_chunk *retval; local
38 retval = sctp_make_idata(asoc, flags, sizeof(dp) + len, gfp);
39 if (!retval)
42 retval->subh.idata_hdr = sctp_addto_chunk(retval, sizeof(dp), &dp);
43 memcpy(&retval->sinfo, sinfo, sizeof(struct sctp_sndrcvinfo));
45 return retval;
186 struct sctp_ulpevent *retval; local
244 retval = sctp_make_reassembled_event(ulpq->asoc->base.net, &ulpq->reasm,
246 if (retval) {
263 struct sctp_ulpevent *retval = NULL; local
351 struct sctp_ulpevent *retval = NULL; local
564 struct sctp_ulpevent *retval; local
645 struct sctp_ulpevent *retval = NULL; local
734 struct sctp_ulpevent *retval = NULL; local
760 struct sctp_ulpevent *retval; local
866 struct sctp_ulpevent *retval; local
[all...]
/linux-master/drivers/tty/hvc/
H A Dhvcs.c319 int retval; local
322 retval = sprintf(buf, "%X\n", hvcsd->p_unit_address);
324 return retval;
333 int retval; local
336 retval = sprintf(buf, "%s\n", &hvcsd->p_location_code[0]);
338 return retval;
358 int retval; local
361 retval = sprintf(buf, "%s\n", &hvcsd->p_location_code[0]);
363 return retval;
412 int retval; local
427 int retval; local
868 int retval; local
936 int retval; local
987 int retval; local
1064 int retval; local
[all...]
/linux-master/drivers/usb/class/
H A Dusblp.c252 int retval; local
261 retval = usb_control_msg(usblp->dev,
266 request, !!dir, recip, value, index, len, retval);
267 return retval < 0 ? retval : 0;
412 int retval; local
419 retval = -ENODEV;
427 retval = -EBUSY;
437 retval = usb_autopm_get_interface(intf);
438 if (retval <
526 int retval = 0; local
1131 int retval; local
[all...]
/linux-master/arch/sparc/include/asm/
H A Dleon.h74 unsigned long retval; local
76 "=r"(retval) : "r"(paddr), "i"(ASI_LEON_BYPASS));
77 return retval;
91 unsigned int retval; local
93 "=r"(retval) :
96 return retval;
/linux-master/fs/reiserfs/
H A Dioctl.c159 int retval = 0; local
200 retval = -ENOMEM;
204 retval = __reiserfs_write_begin(page, write_from, 0);
205 if (retval)
210 retval = reiserfs_commit_write(NULL, page, write_from, write_from);
220 return retval;
/linux-master/drivers/soc/loongson/
H A Dloongson2_pm.c165 int irq, retval; local
185 retval = devm_request_irq(&pdev->dev, irq, loongson2_pm_irq_handler,
187 if (retval)
188 return retval;
197 retval = devm_of_platform_populate(dev);
198 if (retval)
/linux-master/tools/testing/selftests/bpf/
H A Dtest_xsk.sh169 retval=$?
170 if [ $retval -ne 0 ]; then
171 test_status $retval "${TEST_NAME}"
173 exit $retval
190 retval=$?
191 test_status $retval "${TEST_NAME}"
/linux-master/scripts/
H A Ddecodecode132 local retval=0
152 retval=$((retval+1))
155 return $retval
174 local retval=3
203 let "retval+=1"
207 return $retval
/linux-master/fs/affs/
H A Dnamei.c50 int retval; local
53 retval = affs_check_name(qstr->name, qstr->len, notruncate);
54 if (retval)
55 return retval;
410 int retval; local
412 retval = affs_check_name(new_dentry->d_name.name,
416 if (retval)
417 return retval;
421 retval = affs_remove_header(new_dentry);
422 if (retval)
459 int retval; local
[all...]
/linux-master/drivers/scsi/elx/libefc/
H A Defc_node.h96 u32 retval = 0; local
99 retval |= (1U << 3);
101 retval |= (1U << 2);
103 retval |= (1U << 1);
105 retval |= (1U << 0);
106 return (enum efc_node_enable)retval;
/linux-master/drivers/firmware/efi/
H A Defi-init.c95 int retval; local
107 retval = efi_systab_check_header(&systab->hdr);
108 if (retval)
121 retval = -ENOMEM;
124 retval = efi_config_parse_tables(config_tables, systab->nr_tables,
130 return retval;
/linux-master/net/sched/
H A Dact_mirred.c253 int retval)
278 tcf_mirred_can_reinsert(retval);
311 retval = TC_ACT_CONSUMED;
322 return retval;
326 retval = TC_ACT_SHOT;
328 return retval;
333 const u32 exception_ifindex, int retval)
352 mirred_eaction, retval);
360 m_eaction, retval);
362 return retval;
250 tcf_mirred_to_dev(struct sk_buff *skb, struct tcf_mirred *m, struct net_device *dev, const bool m_mac_header_xmit, int m_eaction, int retval) argument
331 tcf_blockcast_redir(struct sk_buff *skb, struct tcf_mirred *m, struct tcf_block *block, int m_eaction, const u32 exception_ifindex, int retval) argument
365 tcf_blockcast_mirror(struct sk_buff *skb, struct tcf_mirred *m, struct tcf_block *block, int m_eaction, const u32 exception_ifindex, int retval) argument
384 tcf_blockcast(struct sk_buff *skb, struct tcf_mirred *m, const u32 blockid, struct tcf_result *res, int retval) argument
419 int retval = READ_ONCE(m->tcf_action); local
[all...]

Completed in 315 milliseconds

<<11121314151617181920>>