Home
last modified time | relevance | path

Searched refs:k (Results 1 – 25 of 31) sorted by relevance

12

/include/linux/
Djhash.h73 const u8 *k = key; in jhash() local
80 a += __get_unaligned_cpu32(k); in jhash()
81 b += __get_unaligned_cpu32(k + 4); in jhash()
82 c += __get_unaligned_cpu32(k + 8); in jhash()
85 k += 12; in jhash()
89 case 12: c += (u32)k[11]<<24; /* fall through */ in jhash()
90 case 11: c += (u32)k[10]<<16; /* fall through */ in jhash()
91 case 10: c += (u32)k[9]<<8; /* fall through */ in jhash()
92 case 9: c += k[8]; /* fall through */ in jhash()
93 case 8: b += (u32)k[7]<<24; /* fall through */ in jhash()
[all …]
Dzutil.h84 int k; in zlib_adler32() local
89 k = len < NMAX ? len : NMAX; in zlib_adler32()
90 len -= k; in zlib_adler32()
91 while (k >= 16) { in zlib_adler32()
94 k -= 16; in zlib_adler32()
96 if (k != 0) do { in zlib_adler32()
99 } while (--k); in zlib_adler32()
Dklist.h34 extern void klist_init(struct klist *k, void (*get)(struct klist_node *),
43 extern void klist_add_tail(struct klist_node *n, struct klist *k);
44 extern void klist_add_head(struct klist_node *n, struct klist *k);
60 extern void klist_iter_init(struct klist *k, struct klist_iter *i);
61 extern void klist_iter_init_node(struct klist *k, struct klist_iter *i,
Dkthread.h52 void free_kthread_struct(struct task_struct *k);
53 void kthread_bind(struct task_struct *k, unsigned int cpu);
54 void kthread_bind_mask(struct task_struct *k, const struct cpumask *mask);
55 int kthread_stop(struct task_struct *k);
58 bool __kthread_should_park(struct task_struct *k);
60 void *kthread_data(struct task_struct *k);
61 void *kthread_probe_data(struct task_struct *k);
62 int kthread_park(struct task_struct *k);
63 void kthread_unpark(struct task_struct *k);
Dkey.h482 #define key_validate(k) 0 argument
483 #define key_serial(k) 0 argument
484 #define key_get(k) ({ NULL; }) argument
485 #define key_revoke(k) do { } while(0) argument
486 #define key_invalidate(k) do { } while(0) argument
487 #define key_put(k) do { } while(0) argument
488 #define key_ref_put(k) do { } while(0) argument
489 #define make_key_ref(k, p) NULL argument
490 #define key_ref_to_ptr(k) NULL argument
491 #define is_key_possessed(k) 0 argument
Dkobject.h212 static inline struct kset *kset_get(struct kset *k) in kset_get() argument
214 return k ? to_kset(kobject_get(&k->kobj)) : NULL; in kset_get()
217 static inline void kset_put(struct kset *k) in kset_put() argument
219 kobject_put(&k->kobj); in kset_put()
Dmempolicy.h159 static inline void check_highest_zone(enum zone_type k) in check_highest_zone() argument
161 if (k > policy_zone && k != ZONE_MOVABLE) in check_highest_zone()
162 policy_zone = k; in check_highest_zone()
291 static inline void check_highest_zone(int k) in check_highest_zone() argument
Djump_label.h326 #define static_key_enable_cpuslocked(k) static_key_enable((k)) argument
327 #define static_key_disable_cpuslocked(k) static_key_disable((k)) argument
Dworkqueue.h178 #define __WORK_INIT_LOCKDEP_MAP(n, k) \ argument
179 .lockdep_map = STATIC_LOCKDEP_MAP_INIT(n, k),
181 #define __WORK_INIT_LOCKDEP_MAP(n, k) argument
Dfilter.h1176 if (first->k == SKF_AD_OFF + SKF_AD_ALU_XOR_X) in bpf_needs_clear_a()
1195 switch (ftest->k) { in bpf_anc_helper()
1220 int k, unsigned int size);
1222 static inline void *bpf_load_pointer(const struct sk_buff *skb, int k, in bpf_load_pointer() argument
1225 if (k >= 0) in bpf_load_pointer()
1226 return skb_header_pointer(skb, k, size, buffer); in bpf_load_pointer()
1228 return bpf_internal_load_pointer_neg_helper(skb, k, size); in bpf_load_pointer()
/include/uapi/linux/
Dbcache.h12 static inline __u64 name(const type *k) \
13 { return (k->field >> offset) & ~(~0ULL << size); } \
15 static inline void SET_##name(type *k, __u64 v) \
17 k->field &= ~(~(~0ULL << size) << offset); \
18 k->field |= (v & ~(~0ULL << size)) << offset; \
33 static inline __u64 name(const struct bkey *k, unsigned int i) \
34 { return (k->ptr[i] >> offset) & ~(~0ULL << size); } \
36 static inline void SET_##name(struct bkey *k, unsigned int i, __u64 v) \
38 k->ptr[i] &= ~(~(~0ULL << size) << offset); \
39 k->ptr[i] |= (v & ~(~0ULL << size)) << offset; \
[all …]
Dfilter.h28 __u32 k; /* Generic multiuse field */ member
49 #define BPF_STMT(code, k) { (unsigned short)(code), 0, 0, k } argument
52 #define BPF_JUMP(code, k, jt, jf) { (unsigned short)(code), jt, jf, k } argument
Dgsmmux.h20 unsigned int k; member
/include/asm-generic/
Dtermios.h71 static inline int user_termios_to_kernel_termios(struct ktermios *k, in user_termios_to_kernel_termios() argument
74 return copy_from_user(k, u, sizeof(struct termios2)); in user_termios_to_kernel_termios()
78 struct ktermios *k) in kernel_termios_to_user_termios() argument
80 return copy_to_user(u, k, sizeof(struct termios2)); in kernel_termios_to_user_termios()
83 static inline int user_termios_to_kernel_termios_1(struct ktermios *k, in user_termios_to_kernel_termios_1() argument
86 return copy_from_user(k, u, sizeof(struct termios)); in user_termios_to_kernel_termios_1()
90 struct ktermios *k) in kernel_termios_to_user_termios_1() argument
92 return copy_to_user(u, k, sizeof(struct termios)); in kernel_termios_to_user_termios_1()
95 static inline int user_termios_to_kernel_termios(struct ktermios *k, in user_termios_to_kernel_termios() argument
98 return copy_from_user(k, u, sizeof(struct termios)); in user_termios_to_kernel_termios()
[all …]
Dtermios-base.h66 #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios)) argument
70 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios)) argument
73 #define user_termios_to_kernel_termios_1(k, u) copy_from_user(k, u, sizeof(struct termios)) argument
74 #define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios)) argument
Duaccess.h148 #define __put_user_fn(sz, u, k) __put_user_fn(sz, u, k) argument
209 #define __get_user_fn(sz, u, k) __get_user_fn(sz, u, k) argument
/include/linux/input/
Dmatrix_keypad.h16 #define KEY_ROW(k) (((k) >> 24) & 0xff) argument
17 #define KEY_COL(k) (((k) >> 16) & 0xff) argument
18 #define KEY_VAL(k) ((k) & 0xffff) argument
/include/linux/mmc/
Dsh_mmcif.h128 int k; in sh_mmcif_boot_do_read_single() local
141 for (k = 0; k < (SH_MMCIF_BBS / 4); k++) in sh_mmcif_boot_do_read_single()
142 buf[k] = sh_mmcif_readl(base, MMCIF_CE_DATA); in sh_mmcif_boot_do_read_single()
152 unsigned long k; in sh_mmcif_boot_do_read() local
169 for (k = 0; !ret && k < nr_blocks; k++) in sh_mmcif_boot_do_read()
170 ret = sh_mmcif_boot_do_read_single(base, first_block + k, in sh_mmcif_boot_do_read()
171 buf + (k * SH_MMCIF_BBS)); in sh_mmcif_boot_do_read()
/include/trace/events/
Dbcache.h42 TP_PROTO(struct bkey *k),
43 TP_ARGS(k),
53 __entry->inode = KEY_INODE(k);
54 __entry->offset = KEY_OFFSET(k);
55 __entry->size = KEY_SIZE(k);
56 __entry->dirty = KEY_DIRTY(k);
188 TP_PROTO(struct bkey *k),
189 TP_ARGS(k)
210 TP_PROTO(struct bkey *k),
211 TP_ARGS(k)
[all …]
/include/kvm/
Darm_vgic.h357 #define irqchip_in_kernel(k) (!!((k)->arch.vgic.in_kernel)) argument
358 #define vgic_initialized(k) ((k)->arch.vgic.initialized) argument
359 #define vgic_ready(k) ((k)->arch.vgic.ready) argument
360 #define vgic_valid_spi(k, i) (((i) >= VGIC_NR_PRIVATE_IRQS) && \ argument
361 ((i) < (k)->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS))
/include/crypto/
Dtwofish.h18 u32 s[4][256], w[8], k[32]; member
/include/drm/
Di915_mei_hdcp_interface.h62 u16 k; member
/include/uapi/misc/
Dxilinx_sdfec.h172 __u32 k; member
/include/net/
Dllc_conn.h54 u8 k; /* tx window size; max = 127 */ member
/include/sound/
Dsoc-topology.h104 struct snd_kcontrol *k, int event);

12