Home
last modified time | relevance | path

Searched refs:reclen (Results 1 – 6 of 6) sorted by relevance

/drivers/staging/lustre/lustre/obdclass/
Dlinkea.c78 int reclen; in linkea_entry_pack() local
86 reclen = sizeof(struct link_ea_entry) + lname->ln_namelen; in linkea_entry_pack()
88 lee->lee_reclen[0] = (reclen >> 8) & 0xff; in linkea_entry_pack()
89 lee->lee_reclen[1] = reclen & 0xff; in linkea_entry_pack()
90 return reclen; in linkea_entry_pack()
94 void linkea_entry_unpack(const struct link_ea_entry *lee, int *reclen, in linkea_entry_unpack() argument
97 *reclen = (lee->lee_reclen[0] << 8) | lee->lee_reclen[1]; in linkea_entry_unpack()
102 lname->ln_namelen = *reclen - sizeof(struct link_ea_entry); in linkea_entry_unpack()
/drivers/s390/char/
Dvmur.c108 urd->reclen = cdev->id.driver_info; in urdev_alloc()
231 int reclen) in alloc_chan_prog() argument
237 TRACE("alloc_chan_prog(%p, %i, %i)\n", ubuf, rec_count, reclen); in alloc_chan_prog()
252 cpa[i].count = reclen; in alloc_chan_prog()
253 kbuf = kmalloc(reclen, GFP_KERNEL | GFP_DMA); in alloc_chan_prog()
259 if (copy_from_user(kbuf, ubuf, reclen)) { in alloc_chan_prog()
263 ubuf += reclen; in alloc_chan_prog()
343 rc = sprintf(buf, "%zu\n", urd->reclen); in ur_attr_reclen_show()
348 static DEVICE_ATTR(reclen, 0444, ur_attr_reclen_show, NULL);
416 size_t count, size_t reclen, loff_t *ppos) in do_write() argument
[all …]
Dvmur.h69 size_t reclen; /* Record length for *write* CCWs */ member
/drivers/staging/lustre/lustre/include/
Dlustre_linkea.h46 void linkea_entry_unpack(const struct link_ea_entry *lee, int *reclen,
/drivers/s390/block/
Ddasd_eckd.c351 struct dasd_device *device, unsigned int reclen, in fill_LRE_data() argument
363 dn = ceil_quot(reclen + 6, 232); in fill_LRE_data()
364 d = 9 + ceil_quot(reclen + 6 * (dn + 1), 34); in fill_LRE_data()
368 d = 7 + ceil_quot(reclen + 12, 32); in fill_LRE_data()
403 data->length = reclen; in fill_LRE_data()
409 data->length = reclen; in fill_LRE_data()
431 data->length = reclen; /* not tlf, as one might think */ in fill_LRE_data()
440 data->length = reclen; in fill_LRE_data()
446 data->length = reclen; in fill_LRE_data()
464 data->length = reclen; in fill_LRE_data()
[all …]
/drivers/net/wireless/intersil/orinoco/
Dhw.c286 u16 reclen; in orinoco_hw_read_card_settings() local
300 sizeof(nickbuf), &reclen, &nickbuf); in orinoco_hw_read_card_settings()
308 len = min(IW_ESSID_MAX_SIZE, 2 * reclen); in orinoco_hw_read_card_settings()