/include/asm-generic/ |
D | rwsem.h | 42 long tmp; in __down_read_trylock() local 44 while ((tmp = sem->count) >= 0) { in __down_read_trylock() 45 if (tmp == cmpxchg(&sem->count, tmp, in __down_read_trylock() 46 tmp + RWSEM_ACTIVE_READ_BIAS)) { in __down_read_trylock() 58 long tmp; in __down_write_nested() local 60 tmp = atomic_long_add_return(RWSEM_ACTIVE_WRITE_BIAS, in __down_write_nested() 62 if (unlikely(tmp != RWSEM_ACTIVE_WRITE_BIAS)) in __down_write_nested() 73 long tmp; in __down_write_trylock() local 75 tmp = cmpxchg(&sem->count, RWSEM_UNLOCKED_VALUE, in __down_write_trylock() 77 return tmp == RWSEM_UNLOCKED_VALUE; in __down_write_trylock() [all …]
|
D | termios-base.h | 17 unsigned short tmp; in user_termio_to_kernel_termios() local 19 if (get_user(tmp, &termio->c_iflag) < 0) in user_termio_to_kernel_termios() 21 termios->c_iflag = (0xffff0000 & termios->c_iflag) | tmp; in user_termio_to_kernel_termios() 23 if (get_user(tmp, &termio->c_oflag) < 0) in user_termio_to_kernel_termios() 25 termios->c_oflag = (0xffff0000 & termios->c_oflag) | tmp; in user_termio_to_kernel_termios() 27 if (get_user(tmp, &termio->c_cflag) < 0) in user_termio_to_kernel_termios() 29 termios->c_cflag = (0xffff0000 & termios->c_cflag) | tmp; in user_termio_to_kernel_termios() 31 if (get_user(tmp, &termio->c_lflag) < 0) in user_termio_to_kernel_termios() 33 termios->c_lflag = (0xffff0000 & termios->c_lflag) | tmp; in user_termio_to_kernel_termios()
|
D | termios.h | 67 unsigned short tmp; in user_termio_to_kernel_termios() local 69 if (get_user(tmp, &termio->c_iflag) < 0) in user_termio_to_kernel_termios() 71 termios->c_iflag = (0xffff0000 & termios->c_iflag) | tmp; in user_termio_to_kernel_termios() 73 if (get_user(tmp, &termio->c_oflag) < 0) in user_termio_to_kernel_termios() 75 termios->c_oflag = (0xffff0000 & termios->c_oflag) | tmp; in user_termio_to_kernel_termios() 77 if (get_user(tmp, &termio->c_cflag) < 0) in user_termio_to_kernel_termios() 79 termios->c_cflag = (0xffff0000 & termios->c_cflag) | tmp; in user_termio_to_kernel_termios() 81 if (get_user(tmp, &termio->c_lflag) < 0) in user_termio_to_kernel_termios() 83 termios->c_lflag = (0xffff0000 & termios->c_lflag) | tmp; in user_termio_to_kernel_termios()
|
D | uaccess.h | 270 char *tmp; in __strncpy_from_user() local 272 for (tmp = dst; *tmp && count > 0; tmp++, count--) in __strncpy_from_user() 274 return (tmp - dst); in __strncpy_from_user()
|
/include/linux/unaligned/ |
D | memmove.h | 11 u16 tmp; in __get_unaligned_memmove16() local 12 memmove(&tmp, p, 2); in __get_unaligned_memmove16() 13 return tmp; in __get_unaligned_memmove16() 18 u32 tmp; in __get_unaligned_memmove32() local 19 memmove(&tmp, p, 4); in __get_unaligned_memmove32() 20 return tmp; in __get_unaligned_memmove32() 25 u64 tmp; in __get_unaligned_memmove64() local 26 memmove(&tmp, p, 8); in __get_unaligned_memmove64() 27 return tmp; in __get_unaligned_memmove64()
|
/include/net/ |
D | dsfield.h | 46 __u16 tmp; in ipv6_change_dsfield() local 48 tmp = ntohs(*(__be16 *) ipv6h); in ipv6_change_dsfield() 49 tmp = (tmp & ((mask << 4) | 0xf00f)) | (value << 4); in ipv6_change_dsfield() 50 *(__be16 *) ipv6h = htons(tmp); in ipv6_change_dsfield()
|
D | netlink.h | 827 u64 tmp = jiffies_to_msecs(jiffies); in nla_put_msecs() local 828 return nla_put(skb, attrtype, sizeof(u64), &tmp); in nla_put_msecs() 945 u64 tmp; in nla_get_u64() local 947 nla_memcpy(&tmp, nla, sizeof(tmp)); in nla_get_u64() 949 return tmp; in nla_get_u64() 958 __be64 tmp; in nla_get_be64() local 960 nla_memcpy(&tmp, nla, sizeof(tmp)); in nla_get_be64() 962 return tmp; in nla_get_be64()
|
D | tcp.h | 1277 #define tcp_for_write_queue_from_safe(skb, tmp, sk) \ argument 1278 skb_queue_walk_from_safe(&(sk)->sk_write_queue, skb, tmp)
|
D | sock.h | 590 #define sk_for_each_safe(__sk, node, tmp, list) \ argument 591 hlist_for_each_entry_safe(__sk, node, tmp, list, sk_node)
|
/include/drm/ |
D | drm_fixed.h | 60 u64 tmp = ((u64)A.full << 13); in dfixed_div() local 62 do_div(tmp, B.full); in dfixed_div() 63 tmp += 1; in dfixed_div() 64 tmp /= 2; in dfixed_div() 65 return lower_32_bits(tmp); in dfixed_div()
|
/include/linux/ |
D | clocksource.h | 230 u64 tmp = ((u64)1000000) << shift_constant; in clocksource_khz2mult() local 232 tmp += khz/2; /* round for do_div */ in clocksource_khz2mult() 233 do_div(tmp, khz); in clocksource_khz2mult() 235 return (u32)tmp; in clocksource_khz2mult() 256 u64 tmp = ((u64)1000000000) << shift_constant; in clocksource_hz2mult() local 258 tmp += hz/2; /* round for do_div */ in clocksource_hz2mult() 259 do_div(tmp, hz); in clocksource_hz2mult() 261 return (u32)tmp; in clocksource_hz2mult()
|
D | clockchips.h | 124 uint64_t tmp = ((uint64_t)ticks) << shift; in div_sc() local 126 do_div(tmp, nsec); in div_sc() 127 return (unsigned long) tmp; in div_sc()
|
D | hashtable.h | 148 #define hash_for_each_safe(name, bkt, node, tmp, obj, member) \ argument 150 hlist_for_each_entry_safe(obj, node, tmp, &name[bkt], member) 187 #define hash_for_each_possible_safe(name, obj, node, tmp, member, key) \ argument 188 hlist_for_each_entry_safe(obj, node, tmp, \
|
D | acct.h | 187 u64 tmp = (u64)x * TICK_NSEC; in jiffies_to_AHZ() 188 do_div(tmp, (NSEC_PER_SEC / AHZ)); in jiffies_to_AHZ() 189 return (long)tmp; in jiffies_to_AHZ()
|
D | nls.h | 97 char tmp[NLS_MAX_CHARSET_SIZE]; in nls_nullsize() local 99 charlen = codepage->uni2char(0, tmp, NLS_MAX_CHARSET_SIZE); in nls_nullsize()
|
D | skbuff.h | 1292 unsigned char *tmp = skb_tail_pointer(skb); in __skb_put() local 1296 return tmp; in __skb_put() 2049 #define skb_queue_walk_safe(queue, skb, tmp) \ argument 2050 for (skb = (queue)->next, tmp = skb->next; \ 2052 skb = tmp, tmp = skb->next) 2058 #define skb_queue_walk_from_safe(queue, skb, tmp) \ argument 2059 for (tmp = skb->next; \ 2061 skb = tmp, tmp = skb->next) 2068 #define skb_queue_reverse_walk_safe(queue, skb, tmp) \ argument 2069 for (skb = (queue)->prev, tmp = skb->prev; \ [all …]
|
D | ieee80211.h | 211 __le16 tmp = cpu_to_le16(IEEE80211_FCTL_TODS | IEEE80211_FCTL_FROMDS); in ieee80211_has_a4() local 212 return (fc & tmp) == tmp; in ieee80211_has_a4()
|
D | ata.h | 932 u16 tmp = dev_id[ATA_ID_CONFIG] & 0x3; in atapi_cdb_len() local 933 switch (tmp) { in atapi_cdb_len()
|
D | device.h | 791 umode_t *mode, const char **tmp);
|
/include/linux/mmc/ |
D | sh_mmcif.h | 116 unsigned long tmp; in sh_mmcif_boot_cmd_poll() local 120 tmp = sh_mmcif_readl(base, MMCIF_CE_INT); in sh_mmcif_boot_cmd_poll() 121 if (tmp & mask) { in sh_mmcif_boot_cmd_poll() 122 sh_mmcif_writel(base, MMCIF_CE_INT, tmp & ~mask); in sh_mmcif_boot_cmd_poll()
|
/include/linux/netfilter/ipset/ |
D | ip_set_ahash.h | 344 void *tmp; in type_pf_elem_add() local 350 tmp = kzalloc((n->size + AHASH_INIT_SIZE) in type_pf_elem_add() 353 if (!tmp) in type_pf_elem_add() 356 memcpy(tmp, n->value, in type_pf_elem_add() 360 n->value = tmp; in type_pf_elem_add() 519 void *tmp = kzalloc((n->size - AHASH_INIT_SIZE) in type_pf_del() local 522 if (!tmp) in type_pf_del() 525 memcpy(tmp, n->value, in type_pf_del() 528 n->value = tmp; in type_pf_del() 751 void *tmp; in type_pf_elem_tadd() local [all …]
|
/include/linux/usb/ |
D | gadget.h | 551 #define gadget_for_each_ep(tmp, gadget) \ argument 552 list_for_each_entry(tmp, &(gadget)->ep_list, ep_list)
|
/include/net/sctp/ |
D | sctp.h | 419 #define sctp_skb_for_each(pos, head, tmp) \ argument 420 skb_queue_walk_safe(head, pos, tmp)
|
/include/drm/ttm/ |
D | ttm_bo_driver.h | 1007 extern pgprot_t ttm_io_prot(uint32_t caching_flags, pgprot_t tmp);
|