/include/linux/mfd/da9052/ |
D | da9052.h | 107 int val, ret; in da9052_reg_read() local 109 ret = regmap_read(da9052->regmap, reg, &val); in da9052_reg_read() 110 if (ret < 0) in da9052_reg_read() 111 return ret; in da9052_reg_read() 114 ret = da9052->fix_io(da9052, reg); in da9052_reg_read() 115 if (ret < 0) in da9052_reg_read() 116 return ret; in da9052_reg_read() 125 int ret; in da9052_reg_write() local 127 ret = regmap_write(da9052->regmap, reg, val); in da9052_reg_write() 128 if (ret < 0) in da9052_reg_write() [all …]
|
/include/linux/ |
D | page_ref.h | 31 extern void __page_ref_mod_and_test(struct page *page, int v, int ret); 32 extern void __page_ref_mod_and_return(struct page *page, int v, int ret); 34 extern void __page_ref_freeze(struct page *page, int v, int ret); 47 static inline void __page_ref_mod_and_test(struct page *page, int v, int ret) in __page_ref_mod_and_test() argument 50 static inline void __page_ref_mod_and_return(struct page *page, int v, int ret) in __page_ref_mod_and_return() argument 56 static inline void __page_ref_freeze(struct page *page, int v, int ret) in __page_ref_freeze() argument 107 int ret = atomic_sub_return(nr, &page->_refcount); in page_ref_sub_return() local 110 __page_ref_mod_and_return(page, -nr, ret); in page_ref_sub_return() 111 return ret; in page_ref_sub_return() 130 int ret = atomic_sub_and_test(nr, &page->_refcount); in page_ref_sub_and_test() local [all …]
|
D | ptr_ring.h | 56 bool ret; in ptr_ring_full() local 59 ret = __ptr_ring_full(r); in ptr_ring_full() 62 return ret; in ptr_ring_full() 67 bool ret; in ptr_ring_full_irq() local 70 ret = __ptr_ring_full(r); in ptr_ring_full_irq() 73 return ret; in ptr_ring_full_irq() 79 bool ret; in ptr_ring_full_any() local 82 ret = __ptr_ring_full(r); in ptr_ring_full_any() 85 return ret; in ptr_ring_full_any() 90 bool ret; in ptr_ring_full_bh() local [all …]
|
D | crypto.h | 515 void crypto_stats_aead_encrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret); 516 void crypto_stats_aead_decrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret); 517 void crypto_stats_ahash_update(unsigned int nbytes, int ret, struct crypto_alg *alg); 518 void crypto_stats_ahash_final(unsigned int nbytes, int ret, struct crypto_alg *alg); 519 void crypto_stats_akcipher_encrypt(unsigned int src_len, int ret, struct crypto_alg *alg); 520 void crypto_stats_akcipher_decrypt(unsigned int src_len, int ret, struct crypto_alg *alg); 521 void crypto_stats_akcipher_sign(int ret, struct crypto_alg *alg); 522 void crypto_stats_akcipher_verify(int ret, struct crypto_alg *alg); 523 void crypto_stats_compress(unsigned int slen, int ret, struct crypto_alg *alg); 524 void crypto_stats_decompress(unsigned int slen, int ret, struct crypto_alg *alg); [all …]
|
D | ihex.h | 69 int ret; in request_ihex_firmware() local 71 ret = request_firmware(&lfw, fw_name, dev); in request_ihex_firmware() 72 if (ret) in request_ihex_firmware() 73 return ret; in request_ihex_firmware() 74 ret = ihex_validate_fw(lfw); in request_ihex_firmware() 75 if (ret) { in request_ihex_firmware() 79 return ret; in request_ihex_firmware()
|
D | ssbi.h | 18 int ret; in ssbi_reg_read() local 21 ret = ssbi_read(context, reg, &v, 1); in ssbi_reg_read() 22 if (!ret) in ssbi_reg_read() 25 return ret; in ssbi_reg_read()
|
D | delayacct.h | 182 int *ret); 183 extern void _trace_android_vh_delayacct_blkio_ticks(struct task_struct *tsk, __u64 *ret); 184 extern void _trace_android_vh_delayacct_is_task_waiting_on_io(struct task_struct *p, int *ret); 231 int ret = 0; in delayacct_add_tsk() local 234 _trace_android_vh_delayacct_add_tsk(d, tsk, &ret); in delayacct_add_tsk() 236 return ret; in delayacct_add_tsk() 240 __u64 ret = 0; in delayacct_blkio_ticks() local 243 _trace_android_vh_delayacct_blkio_ticks(tsk, &ret); in delayacct_blkio_ticks() 245 return ret; in delayacct_blkio_ticks() 249 int ret = 0; in delayacct_is_task_waiting_on_io() local [all …]
|
/include/asm-generic/bitops/ |
D | ext2-atomic.h | 11 int ret; \ 13 ret = __test_and_set_bit_le(nr, addr); \ 15 ret; \ 20 int ret; \ 22 ret = __test_and_clear_bit_le(nr, addr); \ 24 ret; \
|
/include/linux/atomic/ |
D | atomic-arch-fallback.h | 154 int ret; in arch_atomic_read_acquire() local 157 ret = smp_load_acquire(&(v)->counter); in arch_atomic_read_acquire() 159 ret = arch_atomic_read(v); in arch_atomic_read_acquire() 163 return ret; in arch_atomic_read_acquire() 192 int ret = arch_atomic_add_return_relaxed(i, v); in arch_atomic_add_return_acquire() local 194 return ret; in arch_atomic_add_return_acquire() 213 int ret; in arch_atomic_add_return() local 215 ret = arch_atomic_add_return_relaxed(i, v); in arch_atomic_add_return() 217 return ret; in arch_atomic_add_return() 234 int ret = arch_atomic_fetch_add_relaxed(i, v); in arch_atomic_fetch_add_acquire() local [all …]
|
/include/linux/iio/imu/ |
D | adis.h | 150 int ret; in adis_reset() local 153 ret = __adis_reset(adis); in adis_reset() 156 return ret; in adis_reset() 210 int ret; in __adis_read_reg_16() local 212 ret = __adis_read_reg(adis, reg, &tmp, 2); in __adis_read_reg_16() 213 if (ret == 0) in __adis_read_reg_16() 216 return ret; in __adis_read_reg_16() 229 int ret; in __adis_read_reg_32() local 231 ret = __adis_read_reg(adis, reg, &tmp, 4); in __adis_read_reg_32() 232 if (ret == 0) in __adis_read_reg_32() [all …]
|
/include/trace/events/ |
D | spmi.h | 42 TP_PROTO(u8 opcode, u8 sid, u16 addr, int ret), 43 TP_ARGS(opcode, sid, addr, ret), 49 __field ( int, ret ) 56 __entry->ret = ret; 61 (int)__entry->addr, __entry->ret) 86 TP_PROTO(u8 opcode, u8 sid, u16 addr, int ret, u8 len, const u8 *buf), 87 TP_ARGS(opcode, sid, addr, ret, len, buf), 93 __field ( int, ret ) 102 __entry->ret = ret; 109 (int)__entry->addr, __entry->ret, (int)__entry->len, [all …]
|
D | page_ref.h | 63 TP_PROTO(struct page *page, int v, int ret), 65 TP_ARGS(page, v, ret), 75 __field(int, ret) 86 __entry->ret = ret; 94 __entry->val, __entry->ret) 99 TP_PROTO(struct page *page, int v, int ret), 101 TP_ARGS(page, v, ret) 106 TP_PROTO(struct page *page, int v, int ret), 108 TP_ARGS(page, v, ret) 113 TP_PROTO(struct page *page, int v, int ret), [all …]
|
D | initcall.h | 50 TP_PROTO(initcall_t func, int ret), 52 TP_ARGS(func, ret), 60 __field(int, ret) 65 __entry->ret = ret; 68 TP_printk("func=%pS ret=%d", __entry->func, __entry->ret)
|
D | syscalls.h | 46 TP_PROTO(struct pt_regs *regs, long ret), 48 TP_ARGS(regs, ret), 52 __field( long, ret ) 57 __entry->ret = ret; 61 __entry->id, __entry->ret),
|
/include/asm-generic/ |
D | cmpxchg.h | 26 unsigned long ret, flags; in __generic_xchg() local 34 ret = *(volatile u8 *)ptr; in __generic_xchg() 37 return ret; in __generic_xchg() 45 ret = *(volatile u16 *)ptr; in __generic_xchg() 48 return ret; in __generic_xchg() 56 ret = *(volatile u32 *)ptr; in __generic_xchg() 59 return ret; in __generic_xchg() 68 ret = *(volatile u64 *)ptr; in __generic_xchg() 71 return ret; in __generic_xchg()
|
D | futex.h | 33 int oldval, ret; in arch_futex_atomic_op_inuser() local 38 ret = -EFAULT; in arch_futex_atomic_op_inuser() 42 ret = 0; in arch_futex_atomic_op_inuser() 62 ret = -ENOSYS; in arch_futex_atomic_op_inuser() 65 if (ret == 0 && unlikely(put_user(tmp, uaddr) != 0)) in arch_futex_atomic_op_inuser() 66 ret = -EFAULT; in arch_futex_atomic_op_inuser() 71 if (ret == 0) in arch_futex_atomic_op_inuser() 74 return ret; in arch_futex_atomic_op_inuser()
|
/include/uapi/linux/ |
D | fsl_hypervisor.h | 55 __u32 ret; member 75 __u32 ret; member 90 __u32 ret; member 105 __u32 ret; member 142 __u32 ret; member 159 __u32 ret; member 176 __u32 ret; member
|
/include/crypto/ |
D | akcipher.h | 293 int ret; in crypto_akcipher_encrypt() local 296 ret = alg->encrypt(req); in crypto_akcipher_encrypt() 297 crypto_stats_akcipher_encrypt(src_len, ret, calg); in crypto_akcipher_encrypt() 298 return ret; in crypto_akcipher_encrypt() 317 int ret; in crypto_akcipher_decrypt() local 320 ret = alg->decrypt(req); in crypto_akcipher_decrypt() 321 crypto_stats_akcipher_decrypt(src_len, ret, calg); in crypto_akcipher_decrypt() 322 return ret; in crypto_akcipher_decrypt() 340 int ret; in crypto_akcipher_sign() local 343 ret = alg->sign(req); in crypto_akcipher_sign() [all …]
|
D | kpp.h | 288 int ret; in crypto_kpp_set_secret() local 291 ret = alg->set_secret(tfm, buffer, len); in crypto_kpp_set_secret() 292 crypto_stats_kpp_set_secret(calg, ret); in crypto_kpp_set_secret() 293 return ret; in crypto_kpp_set_secret() 314 int ret; in crypto_kpp_generate_public_key() local 317 ret = alg->generate_public_key(req); in crypto_kpp_generate_public_key() 318 crypto_stats_kpp_generate_public_key(calg, ret); in crypto_kpp_generate_public_key() 319 return ret; in crypto_kpp_generate_public_key() 337 int ret; in crypto_kpp_compute_shared_secret() local 340 ret = alg->compute_shared_secret(req); in crypto_kpp_compute_shared_secret() [all …]
|
/include/drm/ttm/ |
D | ttm_bo_driver.h | 136 int ret = 0; in ttm_bo_reserve() local 148 ret = dma_resv_lock_interruptible(bo->base.resv, ticket); in ttm_bo_reserve() 150 ret = dma_resv_lock(bo->base.resv, ticket); in ttm_bo_reserve() 151 if (ret == -EINTR) in ttm_bo_reserve() 153 return ret; in ttm_bo_reserve() 171 int ret = dma_resv_lock_slow_interruptible(bo->base.resv, in ttm_bo_reserve_slowpath() local 173 if (ret == -EINTR) in ttm_bo_reserve_slowpath() 174 ret = -ERESTARTSYS; in ttm_bo_reserve_slowpath() 175 return ret; in ttm_bo_reserve_slowpath() 286 int ret = ttm_bo_move_accel_cleanup(bo, NULL, true, false, new_mem); in ttm_bo_move_sync_cleanup() local [all …]
|
/include/linux/usb/ |
D | gadget_configfs.h | 15 int ret; \ 17 ret = usb_string_copy(page, &gs->__name); \ 18 if (ret) \ 19 return ret; \ 55 int ret; \ 61 ret = check_user_usb_string(name, &new->stringtab_dev); \ 62 if (ret) \ 68 ret = -EEXIST; \ 74 ret = -EOVERFLOW; \ 82 return ERR_PTR(ret); \
|
/include/linux/reset/ |
D | bcm63xx_pmb.h | 69 int ret = 0; in bpcm_rd() local 71 ret = __bpcm_do_op(master, addr, off >> 2, PMC_PMBM_READ); in bpcm_rd() 74 return ret; in bpcm_rd() 80 int ret = 0; in bpcm_wr() local 83 ret = __bpcm_do_op(master, addr, off >> 2, PMC_PMBM_WRITE); in bpcm_wr() 85 return ret; in bpcm_wr()
|
/include/linux/phy/ |
D | ulpi_phy.h | 12 int ret; in ulpi_phy_create() local 18 ret = phy_create_lookup(phy, "usb2-phy", dev_name(ulpi->dev.parent)); in ulpi_phy_create() 19 if (ret) { in ulpi_phy_create() 21 return ERR_PTR(ret); in ulpi_phy_create()
|
/include/drm/ |
D | drm_modeset_lock.h | 166 #define DRM_MODESET_LOCK_ALL_BEGIN(dev, ctx, flags, ret) \ argument 171 ret = drm_modeset_lock_all_ctx(dev, &ctx); \ 172 if (ret) \ 194 #define DRM_MODESET_LOCK_ALL_END(dev, ctx, ret) \ argument 196 if (ret == -EDEADLK) { \ 197 ret = drm_modeset_backoff(&ctx); \ 198 if (!ret) \
|
/include/trace/hooks/ |
D | printk.h | 20 TP_PROTO(char *caller, size_t size, u32 id, int *ret), 21 TP_ARGS(caller, size, id, ret)); 23 TP_PROTO(char *caller, size_t size, u32 id, int *ret), 24 TP_ARGS(caller, size, id, ret));
|