/include/linux/ |
D | kstrtox.h | 9 int __must_check _kstrtoul(const char *s, unsigned int base, unsigned long *res); 10 int __must_check _kstrtol(const char *s, unsigned int base, long *res); 12 int __must_check kstrtoull(const char *s, unsigned int base, unsigned long long *res); 13 int __must_check kstrtoll(const char *s, unsigned int base, long long *res); 30 static inline int __must_check kstrtoul(const char *s, unsigned int base, unsigned long *res) in kstrtoul() argument 38 return kstrtoull(s, base, (unsigned long long *)res); in kstrtoul() 40 return _kstrtoul(s, base, res); in kstrtoul() 58 static inline int __must_check kstrtol(const char *s, unsigned int base, long *res) in kstrtol() argument 66 return kstrtoll(s, base, (long long *)res); in kstrtol() 68 return _kstrtol(s, base, res); in kstrtol() [all …]
|
D | pnp.h | 37 static inline int pnp_resource_valid(struct resource *res) in pnp_resource_valid() argument 39 if (res) in pnp_resource_valid() 44 static inline int pnp_resource_enabled(struct resource *res) in pnp_resource_enabled() argument 46 if (res && !(res->flags & IORESOURCE_DISABLED)) in pnp_resource_enabled() 51 static inline resource_size_t pnp_resource_len(struct resource *res) in pnp_resource_len() argument 53 if (res->start == 0 && res->end == 0) in pnp_resource_len() 55 return resource_size(res); in pnp_resource_len() 62 struct resource *res = pnp_get_resource(dev, IORESOURCE_IO, bar); in pnp_port_start() local 64 if (pnp_resource_valid(res)) in pnp_port_start() 65 return res->start; in pnp_port_start() [all …]
|
D | devm-helpers.h | 29 static inline void devm_delayed_work_drop(void *res) in devm_delayed_work_drop() argument 31 cancel_delayed_work_sync(res); in devm_delayed_work_drop() 54 static inline void devm_work_drop(void *res) in devm_work_drop() argument 56 cancel_work_sync(res); in devm_work_drop()
|
D | arm-smccc.h | 327 struct arm_smccc_1_2_regs *res); 341 struct arm_smccc_1_2_regs *res); 382 struct arm_smccc_res *res, struct arm_smccc_quirk *quirk); 387 struct arm_smccc_res *res, struct arm_smccc_quirk *quirk) in __arm_smccc_smc() argument 389 *res = (struct arm_smccc_res){}; in __arm_smccc_smc() 408 struct arm_smccc_res *res, struct arm_smccc_quirk *quirk); 461 #define __declare_arg_0(a0, res) \ argument 462 struct arm_smccc_res *___res = res; \ 465 #define __declare_arg_1(a0, a1, res) \ argument 467 struct arm_smccc_res *___res = res; \ [all …]
|
D | resource_ext.h | 15 struct resource res; /* In master (CPU) address space */ member 25 struct resource *res; /* In master (CPU) address space */ member 31 resource_list_create_entry(struct resource *res, size_t extra_size); 75 if (resource_type(entry->res) == type) in resource_list_first_type()
|
D | platform_device.h | 72 unsigned int index, struct resource **res); 103 const struct resource *res; member 133 const struct resource *res, unsigned int num, in platform_device_register_resndata() argument 140 .res = res, in platform_device_register_resndata() 174 const struct resource *res, unsigned int num) in platform_device_register_simple() argument 177 res, num, NULL, 0); in platform_device_register_simple() 206 const struct resource *res, 308 #define platform_create_bundle(driver, probe, res, n_res, data, size) \ argument 309 __platform_create_bundle(driver, probe, res, n_res, data, size, THIS_MODULE) 312 struct resource *res, unsigned int n_res,
|
D | ioport.h | 215 int adjust_resource(struct resource *res, resource_size_t start, 217 resource_size_t resource_alignment(struct resource *res); 218 static inline resource_size_t resource_size(const struct resource *res) in resource_size() argument 220 return res->end - res->start + 1; in resource_size() 222 static inline unsigned long resource_type(const struct resource *res) in resource_type() argument 224 return res->flags & IORESOURCE_TYPE_BITS; in resource_type() 226 static inline unsigned long resource_ext_type(const struct resource *res) in resource_ext_type() argument 228 return res->flags & IORESOURCE_EXT_TYPE_BITS; in resource_ext_type() 292 extern void merge_system_ram_resource(struct resource *res); 339 static inline void irqresource_disabled(struct resource *res, u32 irq) in irqresource_disabled() argument [all …]
|
D | rio_drv.h | 256 static inline void rio_init_mbox_res(struct resource *res, int start, int end) in rio_init_mbox_res() argument 258 memset(res, 0, sizeof(struct resource)); in rio_init_mbox_res() 259 res->start = start; in rio_init_mbox_res() 260 res->end = end; in rio_init_mbox_res() 261 res->flags = RIO_RESOURCE_MAILBOX; in rio_init_mbox_res() 274 static inline void rio_init_dbell_res(struct resource *res, u16 start, u16 end) in rio_init_dbell_res() argument 276 memset(res, 0, sizeof(struct resource)); in rio_init_dbell_res() 277 res->start = start; in rio_init_dbell_res() 278 res->end = end; in rio_init_dbell_res() 279 res->flags = RIO_RESOURCE_DOORBELL; in rio_init_dbell_res()
|
D | part_stat.h | 36 typeof((part)->bd_stats->field) res = 0; \ 39 res += per_cpu_ptr((part)->bd_stats, _cpu)->field; \ 40 res; \
|
D | psi.h | 26 int psi_show(struct seq_file *s, struct psi_group *group, enum psi_res res); 28 char *buf, size_t nbytes, enum psi_res res);
|
/include/rdma/ |
D | restrack.h | 125 static inline bool rdma_is_kernel_res(const struct rdma_restrack_entry *res) in rdma_is_kernel_res() argument 127 return !res->user; in rdma_is_kernel_res() 134 int __must_check rdma_restrack_get(struct rdma_restrack_entry *res); 140 int rdma_restrack_put(struct rdma_restrack_entry *res); 168 static inline void rdma_restrack_no_track(struct rdma_restrack_entry *res) in rdma_restrack_no_track() argument 170 res->no_track = true; in rdma_restrack_no_track() 172 static inline bool rdma_restrack_is_tracked(struct rdma_restrack_entry *res) in rdma_restrack_is_tracked() argument 174 return !res->no_track; in rdma_restrack_is_tracked()
|
/include/asm-generic/ |
D | div64.h | 177 uint64_t res; in __arch_xprod_64() local 181 res = ((uint64_t)m_lo * n_lo) >> 32; in __arch_xprod_64() 184 res = (m + (uint64_t)m_lo * n_lo) >> 32; in __arch_xprod_64() 186 res = m + (uint64_t)m_lo * n_lo; in __arch_xprod_64() 187 res_lo = res >> 32; in __arch_xprod_64() 189 res = res_lo | ((uint64_t)res_hi << 32); in __arch_xprod_64() 194 res += (uint64_t)m_lo * n_hi; in __arch_xprod_64() 195 res += (uint64_t)m_hi * n_lo; in __arch_xprod_64() 196 res >>= 32; in __arch_xprod_64() 198 res += (uint64_t)m_lo * n_hi; in __arch_xprod_64() [all …]
|
/include/trace/events/ |
D | fib6.h | 15 TP_PROTO(const struct net *net, const struct fib6_result *res, 18 TP_ARGS(net, res, table, flp), 42 __entry->err = ip6_rt_type_to_error(res->fib6_type); 65 if (res->nh && res->nh->fib_nh_dev) { 66 __assign_str(name, res->nh->fib_nh_dev); 70 if (res->f6i == net->ipv6.fib6_null_entry) { 76 } else if (res->nh) { 78 *in6 = res->nh->fib_nh_gw6;
|
D | rdma_core.h | 64 __entry->cq_id = cq->res.id; 85 __entry->cq_id = cq->res.id; 107 __entry->cq_id = cq->res.id; 134 __entry->cq_id = cq->res.id; 156 __entry->cq_id = cq->res.id; 181 __entry->cq_id = cq->res.id; 209 __entry->cq_id = cq->res.id; 263 __entry->cq_id = cq->res.id; 320 __entry->pd_id = pd->res.id; 325 __entry->mr_id = mr->res.id; [all …]
|
D | smbus.h | 137 const union i2c_smbus_data *data, int res), 138 TP_ARGS(adap, addr, flags, read_write, command, protocol, data, res), 139 TP_CONDITION(res >= 0 && read_write == I2C_SMBUS_READ), 203 int res), 204 TP_ARGS(adap, addr, flags, read_write, command, protocol, res), 211 __field(__s16, res ) 221 __entry->res = res; 239 __entry->res
|
/include/net/ |
D | ip_fib.h | 201 __be32 fib_result_prefsrc(struct net *net, struct fib_result *res); 203 #define FIB_RES_NHC(res) ((res).nhc) argument 204 #define FIB_RES_DEV(res) (FIB_RES_NHC(res)->nhc_dev) argument 205 #define FIB_RES_OIF(res) (FIB_RES_NHC(res)->nhc_oif) argument 270 struct fib_result *res, int fib_flags); 307 struct fib_result *res, unsigned int flags) in fib_lookup() argument 316 err = fib_table_lookup(tb, flp, res, flags | FIB_LOOKUP_NOREF); in fib_lookup() 362 struct fib_result *res, unsigned int flags); 365 struct fib_result *res, unsigned int flags) in fib_lookup() argument 372 return __fib_lookup(net, flp, res, flags); in fib_lookup() [all …]
|
D | iw_handler.h | 516 char *res = iwe_stream_add_event(info, stream, ends, iwe, event_len); in iwe_stream_add_event_check() local 518 if (res == stream) in iwe_stream_add_event_check() 520 return res; in iwe_stream_add_event_check() 535 char *res = iwe_stream_add_point(info, stream, ends, iwe, extra); in iwe_stream_add_point_check() local 537 if (res == stream) in iwe_stream_add_point_check() 539 return res; in iwe_stream_add_point_check()
|
D | checksum.h | 59 u32 res = (__force u32)csum; in csum_add() local 60 res += (__force u32)addend; in csum_add() 61 return (__force __wsum)(res + (res < (__force u32)addend)); in csum_add() 72 u16 res = (__force u16)csum; in csum16_add() local 74 res += (__force u16)addend; in csum16_add() 75 return (__force __sum16)(res + (res < (__force u16)addend)); in csum16_add()
|
D | ipv6_stubs.h | 35 struct fib6_result *res, int flags); 38 struct fib6_result *res, int flags); 39 void (*fib6_select_path)(const struct net *net, struct fib6_result *res, 42 u32 (*ip6_mtu_from_fib6)(const struct fib6_result *res,
|
/include/drm/ttm/ |
D | ttm_range_manager.h | 31 to_ttm_range_mgr_node(struct ttm_resource *res) in to_ttm_range_mgr_node() argument 33 return container_of(res, struct ttm_range_mgr_node, base); in to_ttm_range_mgr_node()
|
D | ttm_resource.h | 73 struct ttm_resource **res); 85 struct ttm_resource *res); 264 struct ttm_resource *res); 267 struct ttm_resource **res); 268 void ttm_resource_free(struct ttm_buffer_object *bo, struct ttm_resource **res);
|
/include/kunit/ |
D | test.h | 394 static inline void kunit_get_resource(struct kunit_resource *res) in kunit_get_resource() argument 396 kref_get(&res->refcount); in kunit_get_resource() 405 struct kunit_resource *res = container_of(kref, struct kunit_resource, in kunit_release_resource() local 409 if (res->free) { in kunit_release_resource() 410 res->free(res); in kunit_release_resource() 411 kfree(res); in kunit_release_resource() 427 static inline void kunit_put_resource(struct kunit_resource *res) in kunit_put_resource() argument 429 kref_put(&res->refcount, kunit_release_resource); in kunit_put_resource() 445 struct kunit_resource *res, 460 struct kunit_resource *res, [all …]
|
/include/drm/ |
D | drm_fixed.h | 151 s64 res; in drm_fixp_from_fraction() local 182 res = (s64) res_abs; in drm_fixp_from_fraction() 184 res = -res; in drm_fixp_from_fraction() 185 return res; in drm_fixp_from_fraction()
|
/include/net/phonet/ |
D | phonet.h | 45 struct sock *pn_find_sock_by_res(struct net *net, u8 res); 46 int pn_sock_bind_res(struct sock *sock, u8 res); 47 int pn_sock_unbind_res(struct sock *sk, u8 res);
|
/include/linux/mfd/ |
D | hi6421-spmi-pmic.h | 19 struct resource *res; member
|