/net/tipc/ |
H A D | log.c | 42 * @buf: pointer to print buffer 46 int tipc_snprintf(char *buf, int len, const char *fmt, ...) argument 52 i = vscnprintf(buf, len, fmt, args);
|
/net/ceph/ |
H A D | auth_none.h | 15 char buf[128]; member in struct:ceph_none_authorizer
|
H A D | pagelist.c | 53 int ceph_pagelist_append(struct ceph_pagelist *pl, const void *buf, size_t len) argument 60 buf, bit); 63 buf += bit; 70 memcpy(pl->mapped_tail + (pl->length & ~PAGE_CACHE_MASK), buf, len);
|
H A D | auth_none.c | 42 static int build_request(struct ceph_auth_client *ac, void *buf, void *end) argument 52 void *buf, void *end) 75 p = au->buf; 76 end = p + sizeof(au->buf); 83 au->buf_len = p - (void *)au->buf; 89 auth->authorizer_buf = au->buf; 51 handle_reply(struct ceph_auth_client *ac, int result, void *buf, void *end) argument
|
H A D | auth_x.h | 29 struct ceph_buffer *buf; member in struct:ceph_x_authorizer
|
/net/wimax/ |
H A D | debugfs.c | 45 char buf[128]; local 47 snprintf(buf, sizeof(buf), "wimax:%s", net_dev->name); 48 dentry = debugfs_create_dir(buf, NULL);
|
H A D | op-msg.c | 294 * @buf: pointer to the message to send. 295 * @size: size of the buffer pointed to by @buf (in bytes). 310 const void *buf, size_t size, gfp_t gfp_flags) 315 skb = wimax_msg_alloc(wimax_dev, pipe_name, buf, size, gfp_flags); 309 wimax_msg(struct wimax_dev *wimax_dev, const char *pipe_name, const void *buf, size_t size, gfp_t gfp_flags) argument
|
/net/sunrpc/auth_gss/ |
H A D | gss_krb5_seqnum.c | 44 unsigned char *cksum, unsigned char *buf) 69 code = krb5_encrypt(cipher, cksum, plain, buf, 8); 79 unsigned char *cksum, unsigned char *buf) 85 cksum, buf); 97 return krb5_encrypt(key, cksum, plain, buf, 8); 102 unsigned char *buf, int *direction, s32 *seqnum) 118 code = krb5_decrypt(cipher, cksum, buf, plain, 8); 140 unsigned char *buf, 150 return krb5_get_rc4_seq_num(kctx, cksum, buf, 153 if ((code = krb5_decrypt(key, cksum, buf, plai 43 krb5_make_rc4_seq_num(struct krb5_ctx *kctx, int direction, s32 seqnum, unsigned char *cksum, unsigned char *buf) argument 75 krb5_make_seq_num(struct krb5_ctx *kctx, struct crypto_blkcipher *key, int direction, u32 seqnum, unsigned char *cksum, unsigned char *buf) argument 101 krb5_get_rc4_seq_num(struct krb5_ctx *kctx, unsigned char *cksum, unsigned char *buf, int *direction, s32 *seqnum) argument 138 krb5_get_seq_num(struct krb5_ctx *kctx, unsigned char *cksum, unsigned char *buf, int *direction, u32 *seqnum) argument [all...] |
H A D | gss_generic_token.c | 96 der_write_length(unsigned char **buf, int length) argument 99 *(*buf)++ = (unsigned char) length; 101 *(*buf)++ = (unsigned char) (der_length_size(length)+127); 104 *(*buf)++ = (unsigned char) (length>>24); 106 *(*buf)++ = (unsigned char) ((length>>16)&0xff); 109 *(*buf)++ = (unsigned char) ((length>>8)&0xff); 110 *(*buf)++ = (unsigned char) (length&0xff); 114 /* returns decoded length, or < 0 on failure. Advances buf and 118 der_read_length(unsigned char **buf, int *bufsize) argument 125 sf = *(*buf) 160 g_make_token_header(struct xdr_netobj *mech, int body_size, unsigned char **buf) argument 183 unsigned char *buf = *buf_in; local [all...] |
/net/atm/ |
H A D | addr.c | 132 int atm_get_addr(struct atm_dev *dev, struct sockaddr_atmsvc __user * buf, argument 157 if (copy_to_user(buf, tmp_buf, total < size ? total : size))
|
H A D | atm_sysfs.c | 14 struct device_attribute *attr, char *buf) 18 return scnprintf(buf, PAGE_SIZE, "%s\n", adev->type); 22 struct device_attribute *attr, char *buf) 26 return scnprintf(buf, PAGE_SIZE, "%pM\n", adev->esi); 30 struct device_attribute *attr, char *buf) 42 count += scnprintf(buf + count, 47 count += scnprintf(buf + count, 51 count += scnprintf(buf + count, PAGE_SIZE - count, "\n"); 59 struct device_attribute *attr, char *buf) 63 return scnprintf(buf, PAGE_SIZ 13 show_type(struct device *cdev, struct device_attribute *attr, char *buf) argument 21 show_address(struct device *cdev, struct device_attribute *attr, char *buf) argument 29 show_atmaddress(struct device *cdev, struct device_attribute *attr, char *buf) argument 58 show_atmindex(struct device *cdev, struct device_attribute *attr, char *buf) argument 66 show_carrier(struct device *cdev, struct device_attribute *attr, char *buf) argument 75 show_link_rate(struct device *cdev, struct device_attribute *attr, char *buf) argument [all...] |
/net/ax25/ |
H A D | ax25_uid.c | 170 char buf[11]; local 180 ax2asc(buf, &pt->call));
|
H A D | ax25_addr.c | 49 char *ax2asc(char *buf, const ax25_address *a) argument 54 for (n = 0, s = buf; n < 6; n++) { 70 if (*buf == '\0' || *buf == '-') 73 return buf; 159 const unsigned char *ax25_addr_parse(const unsigned char *buf, int len, argument 170 if (buf[6] & AX25_CBIT) 172 if (buf[13] & AX25_CBIT) 177 *dama = ~buf[13] & AX25_DAMA_FLAG; 181 memcpy(dest, buf 218 ax25_addr_build(unsigned char *buf, const ax25_address *src, const ax25_address *dest, const ax25_digi *d, int flag, int modulus) argument [all...] |
/net/bridge/ |
H A D | br_stp_bpdu.c | 78 unsigned char buf[35]; local 83 buf[0] = 0; 84 buf[1] = 0; 85 buf[2] = 0; 86 buf[3] = BPDU_TYPE_CONFIG; 87 buf[4] = (bpdu->topology_change ? 0x01 : 0) | 89 buf[5] = bpdu->root.prio[0]; 90 buf[6] = bpdu->root.prio[1]; 91 buf[7] = bpdu->root.addr[0]; 92 buf[ 123 unsigned char buf[4]; local 146 const unsigned char *buf; local [all...] |
H A D | br_ioctl.c | 62 void *buf; local 71 buf = kmalloc(size, GFP_USER); 72 if (!buf) 75 num = br_fdb_fillbuf(br, buf, maxnum, offset); 77 if (copy_to_user(userbuf, buf, num*sizeof(struct __fdb_entry))) 80 kfree(buf); 332 char buf[IFNAMSIZ]; local 337 if (copy_from_user(buf, (void __user *)args[1], IFNAMSIZ)) 340 buf[IFNAMSIZ-1] = 0; 343 return br_add_bridge(net, buf); 362 char buf[IFNAMSIZ]; local [all...] |
H A D | br_stp_if.c | 308 ssize_t br_show_bridge_id(char *buf, const struct bridge_id *id) argument 310 return sprintf(buf, "%.2x%.2x.%.2x%.2x%.2x%.2x%.2x%.2x\n",
|
/net/ipv4/ |
H A D | tcp_memcontrol.c | 106 char *buf, size_t nbytes, loff_t off) 112 buf = strstrip(buf); 117 ret = res_counter_memparse_write_strategy(buf, &val); 174 char *buf, size_t nbytes, loff_t off) 105 tcp_cgroup_write(struct kernfs_open_file *of, char *buf, size_t nbytes, loff_t off) argument 173 tcp_cgroup_reset(struct kernfs_open_file *of, char *buf, size_t nbytes, loff_t off) argument
|
/net/ipv6/ |
H A D | output_core.c | 23 struct in6_addr buf[2]; local 30 sizeof(buf), buf);
|
/net/irda/ |
H A D | wrapper.c | 50 * Function stuff_byte (byte, buf) 53 * buf. The buffer must at all times be able to have two bytes inserted. 58 static inline int stuff_byte(__u8 byte, __u8 *buf) argument 65 buf[0] = CE; /* Send link escape */ 66 buf[1] = byte^IRDA_TRANS; /* Complement bit 5 */ 71 buf[0] = byte; 202 * Function async_bump (buf, len, stats)
|
/net/mac80211/ |
H A D | rc80211_minstrel_debugfs.c | 70 p = ms->buf; 103 ms->len = p - ms->buf; 111 minstrel_stats_read(struct file *file, char __user *buf, size_t len, loff_t *ppos) argument 116 return simple_read_from_buffer(buf, len, ppos, ms->buf, ms->len);
|
/net/wireless/ |
H A D | debugfs.c | 21 char buf[buflen]; \ 24 res = scnprintf(buf, buflen, fmt "\n", ##value); \ 25 return simple_read_from_buffer(userbuf, count, ppos, buf, res); \ 44 char *buf, int buf_size, int offset) 50 return scnprintf(buf + offset, 55 return scnprintf(buf + offset, 70 char *buf; local 75 buf = kzalloc(buf_size, GFP_KERNEL); 76 if (!buf) 87 buf, buf_siz 43 ht_print_chan(struct ieee80211_channel *chan, char *buf, int buf_size, int offset) argument [all...] |
H A D | sysfs.c | 30 char *buf) \ 32 return sprintf(buf, fmt "\n", dev_to_rdev(dev)->member); \ 42 char *buf) { 44 return sprintf(buf, "%s\n", dev_name(&wiphy->dev)); 50 char *buf) 53 char *start = buf; 57 return sprintf(buf, "%pM\n", wiphy->perm_addr); 60 buf += sprintf(buf, "%pM\n", &wiphy->addresses[i].addr); 62 return buf 40 name_show(struct device *dev, struct device_attribute *attr, char *buf) argument 48 addresses_show(struct device *dev, struct device_attribute *attr, char *buf) argument [all...] |
/net/batman-adv/ |
H A D | icmp_socket.c | 106 static ssize_t batadv_socket_read(struct file *file, char __user *buf, argument 117 if ((!buf) || (count < sizeof(struct batadv_icmp_packet))) 120 if (!access_ok(VERIFY_WRITE, buf, count)) 139 error = copy_to_user(buf, &socket_packet->icmp_packet, packet_len);
|
/net/bluetooth/ |
H A D | hci_sysfs.c | 27 struct device_attribute *attr, char *buf) 30 return sprintf(buf, "%s\n", link_typetostr(conn->type)); 34 struct device_attribute *attr, char *buf) 37 return sprintf(buf, "%pMR\n", &conn->dst); 140 struct device_attribute *attr, char *buf) 143 return sprintf(buf, "%s\n", host_typetostr(hdev->dev_type)); 147 struct device_attribute *attr, char *buf) 157 return sprintf(buf, "%s\n", name); 161 struct device_attribute *attr, char *buf) 164 return sprintf(buf, " 26 show_link_type(struct device *dev, struct device_attribute *attr, char *buf) argument 33 show_link_address(struct device *dev, struct device_attribute *attr, char *buf) argument 139 show_type(struct device *dev, struct device_attribute *attr, char *buf) argument 146 show_name(struct device *dev, struct device_attribute *attr, char *buf) argument 160 show_address(struct device *dev, struct device_attribute *attr, char *buf) argument [all...] |
/net/bridge/netfilter/ |
H A D | ebt_among.c | 84 __be32 buf; local 93 sizeof(__be32), &buf); 115 __be32 buf; local 123 ETH_ALEN, sizeof(__be32), &buf);
|