Searched refs:rnum (Results 1 - 14 of 14) sorted by relevance

/linux-master/fs/reiserfs/
H A Dibalance.c655 if (tb->lnum[h] == 0 && tb->rnum[h] == 0) {
699 RFALSE(tb->rnum[h] != 0,
700 "invalid tb->rnum[%d]==%d when joining S[h] with L[h]",
701 h, tb->rnum[h]);
710 if (tb->R[h] && tb->rnum[h] == -B_NR_ITEMS(tb->R[h]) - 1) {
723 RFALSE(tb->rnum[h] != 0,
724 "wrong tb->rnum[%d]==%d when borrow from L[h]", h,
725 tb->rnum[h]);
732 if (tb->rnum[h] < 0) {
736 internal_shift_left(INTERNAL_SHIFT_FROM_R_TO_S, tb, h, -tb->rnum[
[all...]
H A Ddo_balan.c71 * if rnum is larger than 0 we put items into the right node
154 if (tb->rnum[0] == -1) {
191 RFALSE(tb->rnum[0] != 0,
192 "PAP-12045: rnum must be 0 (%d)", tb->rnum[0]);
206 RFALSE((tb->lnum[0] + tb->rnum[0] < n) ||
207 (tb->lnum[0] + tb->rnum[0] > n + 1),
208 "PAP-12050: rnum(%d) and lnum(%d) and item "
210 tb->rnum[0], tb->lnum[0], n);
211 RFALSE((tb->lnum[0] + tb->rnum[
[all...]
H A Dfix_node.c291 tb->rnum[h] = cur_free / (DC_SIZE + KEY_SIZE);
299 tb->rnum[h] = 0;
316 tb->rnum[h] = vn->vn_nr_item;
327 tb->rnum[0] = 0;
334 tb->rnum[0]++;
358 tb->rnum[0]++;
610 * rnum number of items from S[h] that must be shifted to R[h];
622 int rnum, int blk_num, short *s012, int lb, int rb)
626 tb->rnum[h] = rnum;
621 set_parameters(struct tree_balance *tb, int h, int lnum, int rnum, int blk_num, short *s012, int lb, int rb) argument
[all...]
H A Dprints.c693 tb->insert_size[0], tb->lnum[0], tb->lbytes, tb->rnum[0],
704 h, tb->insert_size[h], tb->lnum[h], tb->rnum[h],
H A Dprocfs.c148 " rnum"
181 SFPL(rnum),
H A Dreiserfs.h471 long int rnum[5]; /* XXX */ member in struct:reiserfs_proc_info_data
2446 int rnum[MAX_HEIGHT]; member in struct:tree_balance
/linux-master/include/uapi/linux/
H A Duhid.h89 __u8 rnum; member in struct:uhid_get_report_req
102 __u8 rnum; member in struct:uhid_set_report_req
159 __u8 rnum; member in struct:uhid_feature_req
/linux-master/drivers/hid/
H A Duhid.c232 static int uhid_hid_get_report(struct hid_device *hid, unsigned char rnum, argument
248 ev->u.get_report.rnum = rnum;
275 static int uhid_hid_set_report(struct hid_device *hid, unsigned char rnum, argument
290 ev->u.set_report.rnum = rnum;
/linux-master/tools/testing/selftests/hid/tests/
H A Dtest_mouse.py417 def set_report(self, req, rnum, rtype, data):
420 if rnum != 0x12:
421 raise InvalidHIDCommunication(f"Unexpected report number: {rnum}")
434 def set_report(self, req, rnum, rtype, data):
435 super().set_report(req, rnum, rtype, data)
530 def set_report(self, req, rnum, rtype, data):
531 super().set_report(req, rnum, rtype, data)
H A Dtest_tablet.py740 def get_report(self, req, rnum, rtype):
746 if v.report_ID == rnum:
754 def set_report(self, req, rnum, rtype, data):
760 if v.report_ID == rnum:
H A Dtest_multitouch.py177 def get_report(self, req, rnum, rtype):
183 if v.report_ID == rnum:
196 def set_report(self, req, rnum, rtype, data):
202 if v.report_ID == rnum:
H A Dtest_wacom_generic.py296 def get_report(self, req, rnum, rtype):
302 if v.report_ID == rnum:
/linux-master/sound/pci/au88x0/
H A Dau88x0_core.c1630 ADBRamLink * route, int rnum)
1634 if ((rnum <= 0) || (route == NULL))
1637 rnum--;
1639 VORTEX_ADB_RTBASE + ((route[rnum] & ADB_MASK) << 2),
1641 while (rnum > 0) {
1644 ((route[rnum - 1] & ADB_MASK) << 2), route[rnum]);
1645 rnum--;
1629 vortex_adb_addroutes(vortex_t * vortex, unsigned char channel, ADBRamLink * route, int rnum) argument
/linux-master/tools/testing/selftests/hid/
H A Dhid_bpf.c214 answer.u.get_report_reply.err = ev.u.get_report.rnum == 1 ? 0 : -EIO;

Completed in 221 milliseconds