Searched refs:res (Results 401 - 425 of 3727) sorted by relevance

<<11121314151617181920>>

/linux-master/fs/proc/
H A Dnamespaces.c77 int res = -EACCES; local
81 return res;
84 res = ns_get_name(name, sizeof(name), task, ns_ops);
85 if (res >= 0)
86 res = readlink_copy(buffer, buflen, name);
89 return res;
157 struct dentry *res = ERR_PTR(-ENOENT); local
172 res = proc_ns_instantiate(dentry, task, *entry);
176 return res;
/linux-master/arch/arm/include/asm/
H A Dcmpxchg.h160 unsigned long oldval, res; local
173 : "=&r" (res), "=&r" (oldval)
176 } while (res);
185 : "=&r" (res), "=&r" (oldval)
188 } while (res);
198 : "=&r" (res), "=&r" (oldval)
201 } while (res);
250 unsigned long res; local
263 : "=&r" (res), "=&r" (oldval), "+Qo" (*ptr)
/linux-master/drivers/media/radio/
H A Dradio-miropcm20.c226 int res; local
235 res = snd_aci_cmd(dev->aci, ACI_READ_TUNERSTATION, -1, -1);
236 v->signal = (res & 0x80) ? 0 : 0xffff;
239 res = snd_aci_cmd(dev->aci, ACI_READ_TUNERSTEREO, -1, -1);
240 v->rxsubchans = (res & 0x40) ? V4L2_TUNER_SUB_MONO :
245 res = rds_cmd(dev->aci, RDS_RXVALUE, &buf, 1);
246 if (res >= 0 && buf)
316 int res; local
323 res = rds_cmd(dev->aci, RDS_RXVALUE, &buf, 1);
324 if (res)
381 int res = v4l2_fh_open(file); local
435 int res; local
[all...]
/linux-master/lib/math/
H A Ddiv64.c36 uint64_t res, d = 1; local
40 res = 0;
43 res = (uint64_t) high << 32;
55 res += d;
61 *n = res;
189 u64 res = 0, div, rem; local
220 * res = (b / c) * a;
224 res = div * a;
233 return res;
237 return res
[all...]
/linux-master/drivers/edac/
H A Dhighbank_l2_edac.c54 int res = 0; local
71 res = -ENODEV;
78 res = -EBUSY;
85 res = -ENOMEM;
98 res = devm_request_irq(&pdev->dev, drvdata->db_irq,
101 if (res < 0)
105 res = devm_request_irq(&pdev->dev, drvdata->sb_irq,
108 if (res < 0)
118 return res;
/linux-master/include/net/
H A Dgre.h67 IP_TUNNEL_DECLARE_FLAGS(res) = { };
69 __assign_bit(IP_TUNNEL_CSUM_BIT, res, flags & GRE_CSUM);
70 __assign_bit(IP_TUNNEL_ROUTING_BIT, res, flags & GRE_ROUTING);
71 __assign_bit(IP_TUNNEL_KEY_BIT, res, flags & GRE_KEY);
72 __assign_bit(IP_TUNNEL_SEQ_BIT, res, flags & GRE_SEQ);
73 __assign_bit(IP_TUNNEL_STRICT_BIT, res, flags & GRE_STRICT);
74 __assign_bit(IP_TUNNEL_REC_BIT, res, flags & GRE_REC);
75 __assign_bit(IP_TUNNEL_VERSION_BIT, res, flags & GRE_VERSION);
77 ip_tunnel_flags_copy(dst, res);
/linux-master/drivers/gpu/drm/omapdrm/
H A Dtcm.h136 s32 res = tcm == NULL ? -ENODEV : local
142 if (!res) {
144 res = tcm->reserve_2d(tcm, height, width, align, offset,
146 area->tcm = res ? NULL : tcm;
149 return res;
169 s32 res = tcm == NULL ? -ENODEV : local
173 if (!res) {
175 res = tcm->reserve_1d(tcm, slots, area);
176 area->tcm = res ? NULL : tcm;
179 return res;
197 s32 res = 0; /* free succeeds by default */ local
[all...]
/linux-master/arch/sh/drivers/pci/
H A Dpci.c36 struct resource *res; local
46 res = hose->resources + i;
48 if (res->flags & IORESOURCE_DISABLED)
50 if (res->flags & IORESOURCE_IO)
52 else if (res->flags & IORESOURCE_MEM)
54 pci_add_resource_offset(&resources, res, offset);
101 struct resource *res = hose->resources + i; local
103 if (res->flags & IORESOURCE_DISABLED)
106 if (res->flags & IORESOURCE_IO) {
107 if (request_resource(&ioport_resource, res) <
170 pcibios_align_resource(void *data, const struct resource *res, resource_size_t size, resource_size_t align) argument
[all...]
/linux-master/kernel/cgroup/
H A Dmisc.c19 /* Miscellaneous res name, keep it in sync with enum misc_res_type */
58 * @type: misc res type.
72 * @type: misc res type.
80 return atomic64_read(&root_cg.res[type].usage);
87 * misc_cg_set_capacity() - Set the capacity of the misc cgroup res.
88 * @type: Type of the misc res.
89 * @capacity: Supported capacity of the misc res on the host.
110 * @type: Misc res type in misc cg to cancel the charge from.
119 WARN_ONCE(atomic64_add_negative(-amount, &cg->res[type].usage),
126 * @type: Misc res typ
144 struct misc_res *res; local
[all...]
/linux-master/drivers/dax/
H A Dkmem.c50 struct resource *res[]; member in struct:dax_kmem_data
117 data = kzalloc(struct_size(data, res, dev_dax->nr_range), GFP_KERNEL);
131 struct resource *res; local
139 res = request_mem_region(range.start, range_len(&range), data->res_name);
140 if (!res) {
152 data->res[i] = res;
160 res->flags = IORESOURCE_SYSTEM_RAM;
176 remove_resource(res);
177 kfree(res);
[all...]
/linux-master/fs/nfs/
H A Dnfs42proc.c56 struct nfs42_falloc_res res = { local
62 msg->rpc_resp = &res;
75 res.falloc_fattr = nfs_alloc_fattr();
76 if (!res.falloc_fattr)
80 &args.seq_args, &res.seq_res, 0);
89 res.falloc_fattr);
95 kfree(res.falloc_fattr);
176 static int handle_async_copy(struct nfs42_copy_res *res, argument
197 if (memcmp(&res->write_res.stateid, &iter->stateid,
211 memcpy(&copy->stateid, &res
256 process_copy_commit(struct file *dst, loff_t pos_dst, struct nfs42_copy_res *res) argument
309 _nfs42_proc_copy(struct file *src, struct nfs_lock_context *src_lock, struct file *dst, struct nfs_lock_context *dst_lock, struct nfs42_copy_args *args, struct nfs42_copy_res *res, struct nl4_server *nss, nfs4_stateid *cnr_stateid, bool *restart) argument
428 struct nfs42_copy_res res; local
504 struct nfs42_offload_status_res res; member in struct:nfs42_offloadcancel_data
585 _nfs42_proc_copy_notify(struct file *src, struct file *dst, struct nfs42_copy_notify_args *args, struct nfs42_copy_notify_res *res) argument
617 trace_nfs4_copy_notify(file_inode(src), args, res, status); local
626 nfs42_proc_copy_notify(struct file *src, struct file *dst, struct nfs42_copy_notify_res *res) argument
672 struct nfs42_seek_res res; local
1065 struct nfs42_clone_res res = { local
1173 struct nfs42_removexattrres res; local
1205 struct nfs42_setxattrres res = { local
1261 struct nfs42_getxattrres res; local
1308 struct nfs42_listxattrsres res = { local
[all...]
/linux-master/drivers/dma/
H A Dmcf-edma-main.c78 struct resource *res; local
80 res = platform_get_resource_byname(pdev,
82 if (!res)
85 for (ret = 0, i = res->start; i <= res->end; ++i)
90 res = platform_get_resource_byname(pdev,
92 if (!res)
95 for (ret = 0, i = res->start; i <= res->end; ++i)
123 struct resource *res; local
[all...]
/linux-master/scripts/kconfig/
H A Dnconf.c421 int res = btn_dialog(main_window, local
426 if (res == 0)
428 else if (res == 1)
654 int res; local
659 res = btn_dialog(main_window,
665 if (res == KEY_EXIT) {
671 switch (res) {
673 res = conf_write(filename);
674 if (res)
699 struct gstr res; local
1074 int i, res; local
1253 int res, i = 0; local
1370 int res; local
1412 int res; local
1443 int res; local
[all...]
H A Dmconf.c385 struct gstr res; local
432 res = get_relations_str(sym_arr, &head);
434 dres = show_textbox_ext("Search Results", str_get(&res), 0, 0,
443 str_free(&res);
619 int res; local
640 res = dialog_checklist(prompt ? prompt : "Main Menu",
646 switch (res) {
677 int res; local
694 res = dialog_inputbox(prompt ? prompt : "Main Menu",
697 switch (res) {
716 int res; local
743 int res; local
772 int res; local
889 int res; local
943 int res; local
[all...]
/linux-master/drivers/irqchip/
H A Dirq-ompic.c150 struct resource res; local
160 if (of_address_to_resource(node, 0, &res)) {
165 if (resource_size(&res) < (num_possible_cpus() * OMPIC_CPUBYTES)) {
167 resource_size(&res),
173 ompic_base = ioremap(res.start, resource_size(&res));
/linux-master/drivers/rapidio/
H A Drio-access.c36 int res; \
39 res = mport->ops->lcread(mport, mport->id, offset, len, &data); \
41 return res; \
88 int res; \
91 res = mport->ops->cread(mport, mport->id, destid, hopcount, offset, len, &data); \
93 return res; \
/linux-master/tools/testing/selftests/arm64/mte/
H A Dcheck_gcr_el1_cswitch.c93 int res; local
104 res = execute_test(cpid);
106 exit(res);
111 wait(&res);
113 if (WIFEXITED(res))
114 results[i] = WEXITSTATUS(res);
/linux-master/drivers/gpu/drm/i915/selftests/
H A Dmock_region.c20 intel_region_ttm_resource_free(obj->mm.region, obj->mm.res);
28 obj->mm.res = intel_region_ttm_resource_alloc(obj->mm.region,
32 if (IS_ERR(obj->mm.res))
33 return PTR_ERR(obj->mm.res);
36 obj->mm.res,
49 intel_region_ttm_resource_free(obj->mm.region, obj->mm.res);
/linux-master/arch/arm/crypto/
H A Dsha256_glue.c86 int res = crypto_register_shashes(algs, ARRAY_SIZE(algs)); local
88 if (res < 0)
89 return res;
92 res = crypto_register_shashes(sha256_neon_algs,
95 if (res < 0)
99 return res;
/linux-master/arch/powerpc/include/asm/
H A Dmacio.h78 struct resource *res = &dev->resource[resource_no]; local
79 if (res->start == 0 || res->end == 0 || res->end < res->start)
81 return resource_size(res);
/linux-master/drivers/md/bcache/
H A Dutil.h287 int bch_strtoint_h(const char *cp, int *res);
288 int bch_strtouint_h(const char *cp, unsigned int *res);
289 int bch_strtoll_h(const char *cp, long long *res);
290 int bch_strtoull_h(const char *cp, unsigned long long *res);
292 static inline int bch_strtol_h(const char *cp, long *res) argument
295 return bch_strtoint_h(cp, (int *) res);
297 return bch_strtoll_h(cp, (long long *) res);
301 static inline int bch_strtoul_h(const char *cp, long *res) argument
304 return bch_strtouint_h(cp, (unsigned int *) res);
306 return bch_strtoull_h(cp, (unsigned long long *) res);
[all...]
/linux-master/lib/kunit/
H A Dkunit-test.c165 static int fake_resource_init(struct kunit_resource *res, void *context) argument
169 res->data = &ctx->is_resource_initialized;
174 static void fake_resource_free(struct kunit_resource *res) argument
176 bool *is_resource_initialized = res->data;
193 struct kunit_resource *res; local
196 res = kunit_alloc_and_get_resource(&ctx->test,
202 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, res);
205 (bool *)res->data);
206 KUNIT_EXPECT_TRUE(test, list_is_last(&res->node, &ctx->test.resources));
207 KUNIT_EXPECT_PTR_EQ(test, free, res
212 kunit_resource_instance_match(struct kunit *test, struct kunit_resource *res, void *match_data) argument
230 struct kunit_resource *res = kunit_alloc_and_get_resource( local
251 struct kunit_resource *res = kunit_alloc_and_get_resource( local
319 fake_resource_2_init(struct kunit_resource *res, void *context) argument
330 fake_resource_2_free(struct kunit_resource *res) argument
337 fake_resource_1_init(struct kunit_resource *res, void *context) argument
357 fake_resource_1_free(struct kunit_resource *res) argument
372 struct kunit_resource *res; local
405 struct kunit_resource res; local
[all...]
/linux-master/arch/powerpc/kernel/
H A Dpci_of_scan.c122 struct resource *res; local
151 res = &dev->resource[(i - PCI_BASE_ADDRESS_0) >> 2];
153 res = &dev->resource[PCI_ROM_RESOURCE];
159 res->flags = flags;
161 res->flags |= IORESOURCE_UNSET;
162 res->name = pci_name(dev);
165 pcibios_bus_to_resource(dev->bus, res, &region);
258 struct resource *res; local
297 res = &dev->resource[PCI_BRIDGE_RESOURCES];
299 res
[all...]
/linux-master/drivers/staging/media/atomisp/pci/runtime/binary/src/
H A Dbinary.c83 isp_tmp_internal_width = in_info->res.width
85 isp_tmp_internal_height = in_info->res.height
91 (bds_out_info->res.width >= out_info->res.width)) {
93 isp_tmp_internal_height = bds_out_info->res.height;
97 isp_tmp_internal_height = out_info->res.height;
129 struct sh_css_shading_table_bayer_origin_compute_results *res) /* [out] */
215 res->sc_bayer_origin_x_bqs_on_shading_table =
220 res->sc_bayer_origin_y_bqs_on_shading_table =
225 res
125 ia_css_binary_compute_shading_table_bayer_origin( const struct ia_css_binary *binary, unsigned int required_bds_factor, const struct ia_css_stream_config *stream_config, struct sh_css_shading_table_bayer_origin_compute_results *res) argument
241 struct sh_css_shading_table_bayer_origin_compute_results res; local
[all...]
/linux-master/arch/arm/mach-dove/
H A Dpcie.c28 struct resource res; member in struct:pcie_port
65 pp->res.name = pp->mem_space_name;
67 pp->res.start = DOVE_PCIE0_MEM_PHYS_BASE;
68 pp->res.end = pp->res.start + DOVE_PCIE0_MEM_SIZE - 1;
70 pp->res.start = DOVE_PCIE1_MEM_PHYS_BASE;
71 pp->res.end = pp->res.start + DOVE_PCIE1_MEM_SIZE - 1;
73 pp->res.flags = IORESOURCE_MEM;
74 if (request_resource(&iomem_resource, &pp->res))
[all...]

Completed in 225 milliseconds

<<11121314151617181920>>