Home
last modified time | relevance | path

Searched refs:kern (Results 1 – 25 of 108) sorted by relevance

12345

/linux-6.1.9/net/bridge/netfilter/
Debt_mark_m.c49 struct ebt_mark_m_info *kern = dst; in mark_mt_compat_from_user() local
51 kern->mark = user->mark; in mark_mt_compat_from_user()
52 kern->mask = user->mask; in mark_mt_compat_from_user()
53 kern->invert = user->invert; in mark_mt_compat_from_user()
54 kern->bitmask = user->bitmask; in mark_mt_compat_from_user()
60 const struct ebt_mark_m_info *kern = src; in mark_mt_compat_to_user() local
62 if (put_user(kern->mark, &user->mark) || in mark_mt_compat_to_user()
63 put_user(kern->mask, &user->mask) || in mark_mt_compat_to_user()
64 put_user(kern->invert, &user->invert) || in mark_mt_compat_to_user()
65 put_user(kern->bitmask, &user->bitmask)) in mark_mt_compat_to_user()
Debt_mark.c65 struct ebt_mark_t_info *kern = dst; in mark_tg_compat_from_user() local
67 kern->mark = user->mark; in mark_tg_compat_from_user()
68 kern->target = user->target; in mark_tg_compat_from_user()
74 const struct ebt_mark_t_info *kern = src; in mark_tg_compat_to_user() local
76 if (put_user(kern->mark, &user->mark) || in mark_tg_compat_to_user()
77 put_user(kern->target, &user->target)) in mark_tg_compat_to_user()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_agp.c200 struct agp_kern_info *kern; in radeon_agp_head_info() local
205 kern = &rdev->agp->agp_info; in radeon_agp_head_info()
206 info->agp_version_major = kern->version.major; in radeon_agp_head_info()
207 info->agp_version_minor = kern->version.minor; in radeon_agp_head_info()
208 info->mode = kern->mode; in radeon_agp_head_info()
209 info->aperture_base = kern->aper_base; in radeon_agp_head_info()
210 info->aperture_size = kern->aper_size * 1024 * 1024; in radeon_agp_head_info()
211 info->memory_allowed = kern->max_memory << PAGE_SHIFT; in radeon_agp_head_info()
212 info->memory_used = kern->current_memory << PAGE_SHIFT; in radeon_agp_head_info()
213 info->id_vendor = kern->device->vendor; in radeon_agp_head_info()
[all …]
/linux-6.1.9/drivers/gpu/drm/
Ddrm_agpsupport.c61 struct agp_kern_info *kern; in drm_legacy_agp_info() local
66 kern = &dev->agp->agp_info; in drm_legacy_agp_info()
67 info->agp_version_major = kern->version.major; in drm_legacy_agp_info()
68 info->agp_version_minor = kern->version.minor; in drm_legacy_agp_info()
69 info->mode = kern->mode; in drm_legacy_agp_info()
70 info->aperture_base = kern->aper_base; in drm_legacy_agp_info()
71 info->aperture_size = kern->aper_size * 1024 * 1024; in drm_legacy_agp_info()
72 info->memory_allowed = kern->max_memory << PAGE_SHIFT; in drm_legacy_agp_info()
73 info->memory_used = kern->current_memory << PAGE_SHIFT; in drm_legacy_agp_info()
74 info->id_vendor = kern->device->vendor; in drm_legacy_agp_info()
[all …]
/linux-6.1.9/net/nfc/
Daf_nfc.c19 int kern) in nfc_sock_create() argument
31 rc = proto_tab[proto]->create(net, sock, proto_tab[proto], kern); in nfc_sock_create()
/linux-6.1.9/drivers/net/ppp/
Dpppox.c115 int kern) in pppox_create() argument
129 rc = pppox_protos[protocol]->create(net, sock, kern); in pppox_create()
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dlsm_cgroup.c86 int type, int protocol, int kern) in BPF_PROG() argument
95 int type, int protocol, int kern) in BPF_PROG() argument
Dtest_sk_storage_tracing.c87 int BPF_PROG(inet_csk_accept, struct sock *sk, int flags, int *err, bool kern, in BPF_PROG() argument
/linux-6.1.9/drivers/media/usb/dvb-usb-v2/
Dmxl111sf.h123 #define mxl_printk(kern, fmt, arg...) \ argument
124 printk(kern "%s: " fmt "\n", __func__, ##arg)
/linux-6.1.9/net/atm/
Dpvc.c134 int kern) in pvc_create() argument
140 return vcc_create(net, sock, protocol, PF_ATMPVC, kern); in pvc_create()
Dsvc.c32 int kern);
323 bool kern) in svc_accept() argument
334 error = svc_create(sock_net(sk), newsock, 0, kern); in svc_accept()
657 int kern) in svc_create() argument
665 error = vcc_create(net, sock, protocol, AF_ATMSVC, kern); in svc_create()
Dcommon.h14 int vcc_create(struct net *net, struct socket *sock, int protocol, int family, int kern);
/linux-6.1.9/drivers/isdn/mISDN/
Dsocket.c593 data_sock_create(struct net *net, struct socket *sock, int protocol, int kern) in data_sock_create() argument
600 sk = sk_alloc(net, PF_ISDN, GFP_KERNEL, &mISDN_proto, kern); in data_sock_create()
749 base_sock_create(struct net *net, struct socket *sock, int protocol, int kern) in base_sock_create() argument
758 sk = sk_alloc(net, PF_ISDN, GFP_KERNEL, &mISDN_proto, kern); in base_sock_create()
774 mISDN_sock_create(struct net *net, struct socket *sock, int proto, int kern) in mISDN_sock_create() argument
780 err = base_sock_create(net, sock, proto, kern); in mISDN_sock_create()
794 err = data_sock_create(net, sock, proto, kern); in mISDN_sock_create()
/linux-6.1.9/arch/um/drivers/
Dumcast_kern.c166 .kern = &umcast_kern_info,
176 .kern = &umcast_kern_info,
/linux-6.1.9/include/linux/
Dnet.h172 struct socket *newsock, int flags, bool kern);
235 int protocol, int kern);
254 struct socket **res, int kern);
Dif_pppox.h71 int (*create)(struct net *net, struct socket *sock, int kern);
/linux-6.1.9/crypto/
Dalgif_hash.c232 bool kern) in hash_accept() argument
253 err = af_alg_accept(ask->parent, newsock, kern); in hash_accept()
365 int flags, bool kern) in hash_accept_nokey() argument
373 return hash_accept(sock, newsock, flags, kern); in hash_accept_nokey()
Daf_alg.c274 int af_alg_accept(struct sock *sk, struct socket *newsock, bool kern) in af_alg_accept() argument
289 sk2 = sk_alloc(sock_net(sk), PF_ALG, GFP_KERNEL, &alg_proto, kern); in af_alg_accept()
336 bool kern) in alg_accept() argument
338 return af_alg_accept(sock->sk, newsock, kern); in alg_accept()
370 int kern) in alg_create() argument
381 sk = sk_alloc(net, PF_ALG, GFP_KERNEL, &alg_proto, kern); in alg_create()
/linux-6.1.9/net/bluetooth/cmtp/
Dsock.c201 int kern) in cmtp_sock_create() argument
210 sk = sk_alloc(net, PF_BLUETOOTH, GFP_ATOMIC, &cmtp_proto, kern); in cmtp_sock_create()
/linux-6.1.9/net/bluetooth/bnep/
Dsock.c199 int kern) in bnep_sock_create() argument
208 sk = sk_alloc(net, PF_BLUETOOTH, GFP_ATOMIC, &bnep_proto, kern); in bnep_sock_create()
/linux-6.1.9/arch/um/include/shared/
Dnet_kern.h57 const struct net_kern_info *kern; member
/linux-6.1.9/Documentation/driver-api/usb/
Dusb3-debug-port.rst74 # tail -f /var/log/kern.log
129 root@target: tail -f /var/log/kern.log
142 root@host: tail -f /var/log/kern.log
/linux-6.1.9/net/bluetooth/hidp/
Dsock.c250 int kern) in hidp_sock_create() argument
259 sk = sk_alloc(net, PF_BLUETOOTH, GFP_ATOMIC, &hidp_proto, kern); in hidp_sock_create()
/linux-6.1.9/arch/um/os-Linux/drivers/
Dtuntap_kern.c75 .kern = &tuntap_kern_info,
/linux-6.1.9/net/bluetooth/rfcomm/
Dsock.c271 …ruct sock *rfcomm_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio, int kern) in rfcomm_sock_alloc() argument
276 sk = sk_alloc(net, PF_BLUETOOTH, prio, &rfcomm_proto, kern); in rfcomm_sock_alloc()
313 int protocol, int kern) in rfcomm_sock_create() argument
326 sk = rfcomm_sock_alloc(net, sock, protocol, GFP_ATOMIC, kern); in rfcomm_sock_create()
479 bool kern) in rfcomm_sock_accept() argument

12345